|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttactu5.Tactu5Utilities
public class Tactu5Utilities
Tactu5Utility class allows to easily create, modify and convert musical materials.
Constructor Summary | |
---|---|
Tactu5Utilities()
|
Method Summary | |
---|---|
Cluster |
chordGenerator(Note note,
int[] mode,
int[] modeDegrees,
Cluster c)
|
ClusterSequence |
harmonizer(Sequence s,
int[] mode,
int[] modeDegrees,
ClusterSequence c)
Harmonize sequences. |
float |
noteToFreq(float n,
int o)
Passing a frequency and an octave to transpose this method return a new frequency |
Sequence |
sequenceGenerator(Note note,
int[] mode,
int[] modeDegrees,
Sequence s)
This method generates new sequences contents. |
float |
transpose(float f,
float s,
int o)
This method transpose a frequency for an interval defined in semitone. |
void |
transposeNotes(T5Containers c,
int s)
This method transpose all notes included in Sequence and Cluster datatypes for a given interval in semitones |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Tactu5Utilities()
Method Detail |
---|
public float noteToFreq(float n, int o)
n
- float, frequencyo
- int, octave to transpose
public void transposeNotes(T5Containers c, int s)
c
- Cluster or Sequence datatype to transpose.s
- Int, interval defined in semitones.public float transpose(float f, float s, int o)
f
- float, income frequencys
- float, interval in semitoneso
- int, octave.
public Cluster chordGenerator(Note note, int[] mode, int[] modeDegrees, Cluster c)
public Sequence sequenceGenerator(Note note, int[] mode, int[] modeDegrees, Sequence s)
public ClusterSequence harmonizer(Sequence s, int[] mode, int[] modeDegrees, ClusterSequence c)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |