|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttactu5.ClusterSequence
public class ClusterSequence
ClusterSequence class allows to create chord sequences with Tactu5. It's possible to pass an array of Cluster datatype to the constructor or to add Cluster objects afterwards. This class automatically clones the Cluster objects passed.
Constructor Summary | |
---|---|
ClusterSequence()
|
|
ClusterSequence(Cluster[] inseq)
|
Method Summary | |
---|---|
void |
addCluster(Cluster inote)
Add a Cluster to the sequence array |
void |
addCluster(Cluster inote,
int pos)
|
void |
addToCluster(Cluster newC,
int idC)
Add a Cluster to an existing cluster |
int |
getClusterNumber()
Return the number of all cluster inside the sequence |
float |
getTimeAtStep(int n)
Return the the time in millisecond at the specified event. |
float |
getTotalTime()
Return the sequence time length |
void |
retrogradation()
Retrogradation of the sequence |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClusterSequence()
public ClusterSequence(Cluster[] inseq)
Method Detail |
---|
public void addCluster(Cluster inote)
inote
- Cluster datatypepublic void addCluster(Cluster inote, int pos)
public void addToCluster(Cluster newC, int idC)
newC
- Cluster datatypeidC
- int index of Clusterpublic float getTimeAtStep(int n)
n
-
public float getTotalTime()
public int getClusterNumber()
public void retrogradation()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |