Abstract-Codex | index | works | bio |> memory | network | contact

Tactu5.
A Processing music assistant.


<< back to Tactu5 index

Name:

Tactu5Utility

Example:

	  
Note la = new Note(440,200,1,1,100,false);
Sequence s1 = new Sequence ();

// define intervals, they refer to mode strucuture you are going to use

int[] chor = {0,1,4};
int[] chor2 = { 0,0,1,1,2,3,5,4};


Cluster maj= new Cluster();

maj = tu.chordGenerator (la, T5Notes.MIXOLYDIAN, chor2, maj);
s1 = tu.sequenceGenerator (la, T5Notes.MIXOLYDIAN, chor, s1);


ClusterSequence cs1 = new ClusterSequence();
ClusterSequence cs2 = new ClusterSequence();

// harmonize sequences

cs1 = tu.harmonizer (s3, T5Notes.MIXOLYDIAN, chor, cs1);
cs2=  tu.harmonizer (s2, T5Notes.PENTAPHONIC_MINOR, chor3, cs2);
		

Description:

Tactu5Utility class allows to easily create, modify and convert data in musical materials.

Constructor syntax:

Tactu5Utilities()


Usage:

Web and application.

Releated:

Sequence ClusterSequence

Methods:

> chordGenerator()
> harmonizer()
> noteToFreq()
> sequenceGenerator()
> transpose()
> transposeNotes()





Name: chordGenerator()

Description:

Overwrite a Cluster object.

Syntax:

tactu5utility.chordGenerator(Note note, int[] mode, int[] modeDegrees, Cluster c);

Return: Cluster


^ up


Name:
harmonizer()

Description:

Sequences harmonizer.

Syntax:

tactu5utility.harmonizer(Sequence s, int[] mode, int[] modeDegrees, ClusterSequence c)

Return: ClusterSequence


^ up


Name: noteToFreq()

Description:

Passing a frequency and an octave to transpose this method return a new frequency.

Syntax:

tactu5utility.noteToFreq(float n, int o) ;

Return: float


^ up

Name:
sequenceGenerator()

Description:

This method generates new sequences contents.

Syntax:

tactu5utility.sequenceGenerator(Note note, int[] mode, int[] modeDegrees, Sequence s) ;

Return: Sequence


^ up


Name:
transpose()

Description:

This method transpose a frequency for an interval defined in semitone.

Syntax:

tactu5utility.transpose(float f, float s, int o) ;

Return: float


^ up


Name:
transposeNotes()

Description:

This method transpose all notes included in Sequence and Cluster datatypes for a given interval in semitones.

Syntax:

tactu5utility.transposeNotes(Sequence s, int s) ;
tactu5utility.transposeNotes(Cluster s, int s) ;

Return: nothing


^ up



  << back^page-up
  > memory >Tactu5 > Tactu5Utility class