|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softsynth.jmsl.MusicJob com.softsynth.jmsl.ParallelCollection com.softsynth.jmsl.SequentialCollection com.softsynth.jmsl.score.ScoreCollection
public class ScoreCollection
ScoreCollection contains the playable structure of a Score. It is a SequentialCollection of Measure. Measure is a ParallelCollection of Staff. Staff is a ParallelCollection of Track. Track is a PlayableList of Note. Note implements Playable.
Field Summary | |
---|---|
static java.lang.String |
copyright
|
Fields inherited from class com.softsynth.jmsl.MusicJob |
---|
repeatCount |
Constructor Summary | |
---|---|
ScoreCollection(Score parent,
int numStaffs)
|
Method Summary | |
---|---|
Note |
addInterval(DimensionNameSpace dimensionNameSpace,
double[] data)
add an interval. |
Measure |
addMeasure()
|
Measure |
addMeasure(int tsNumer,
int tsDenom)
|
Note |
addNote(DimensionNameSpace dimensionNameSpace,
double[] data)
|
Note |
addNote(double[] data)
|
Note |
addNote(double dur,
double midipitch,
double vel,
double hold)
|
Note |
addNote(Note note)
Add Note to current Track of current Staff of current Measure. |
Note |
addNote(Note n,
int measureNum,
int staffNum,
int trackNum)
|
void |
clearLastAddedNote()
|
void |
deleteMeasure(Measure measure)
|
int |
getCurrentMeasureNumber()
|
int |
getCurrentStaffNumber()
|
Note |
getLastAddedNote()
|
Measure |
getMeasure(int n)
|
void |
insertMeasure(Measure measure)
|
void |
resetAllRepeats()
|
void |
setCurrentMeasureNumber(int m)
set measure number for adding/editing |
void |
setCurrentStaffNumber(int s)
set staff number for adding/editing |
void |
setCurrentTrackNumber(int t)
set track number for adding/editing |
double |
start(double playTime)
Setup method called once when run() begins. |
Methods inherited from class com.softsynth.jmsl.SequentialCollection |
---|
getBehavior, internalRepeat, main, print, setBehavior |
Methods inherited from class com.softsynth.jmsl.ParallelCollection |
---|
get, halt, printHierarchy, set |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String copyright
Constructor Detail |
---|
public ScoreCollection(Score parent, int numStaffs)
Method Detail |
---|
public void resetAllRepeats()
public double start(double playTime)
MusicJob
start
in interface Composable
start
in class MusicJob
public Note addNote(Note n, int measureNum, int staffNum, int trackNum)
public Note addNote(double dur, double midipitch, double vel, double hold)
public Note addNote(double[] data)
public Note addNote(DimensionNameSpace dimensionNameSpace, double[] data)
public Note addInterval(DimensionNameSpace dimensionNameSpace, double[] data)
public Note addNote(Note note)
public Note getLastAddedNote()
public void clearLastAddedNote()
public Measure addMeasure()
public Measure addMeasure(int tsNumer, int tsDenom)
public Measure getMeasure(int n)
public void setCurrentMeasureNumber(int m)
public int getCurrentMeasureNumber()
public void setCurrentStaffNumber(int s)
public int getCurrentStaffNumber()
public void setCurrentTrackNumber(int t)
public void deleteMeasure(Measure measure)
public void insertMeasure(Measure measure)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |