|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softsynth.jmsl.score.transcribe.Transcriber
public class Transcriber
Notate a MusicShape. Chop it into measures and send each one's notation to a Score. Vector of TimeSignatures used to split up the MusicShape. If the MusicShape is longer than the number of TimeSignatures provided, the last one stays in effect. If no TimeSignatures are provided, uses 4/4 throughout
Constructor Summary | |
---|---|
Transcriber()
|
Method Summary | |
---|---|
void |
addTranscriberListener(TranscriberListener t)
|
static boolean |
getFillBeatWithNote()
|
boolean |
getLoopTimeSignatures()
|
static void |
main(java.lang.String[] args)
|
void |
printMeasure(int m)
|
void |
removeTranscriberListener(TranscriberListener t)
|
void |
setCommonTimeSig()
Create a Vector of one TimeSignature of 4/4, to be used throughout transcription |
void |
setDebug(boolean b)
|
static void |
setFillBeatWithNote(boolean flag)
When true, rests occuring within a beat are filled out with the duration of a sounded sound. |
void |
setLoopTimeSignatures(boolean flag)
Default behaviour is to use the last time signature in time sig vector when last time sig is reached. |
void |
setScore(Score score)
|
void |
setSourceMusicShape(MusicShape source)
Precondition of source musicshape: dimension 0 contains timestamps sorted in ascending order. |
void |
setTempoTimeSignatures(java.util.Vector tempoTimeSignatureHolders)
|
void |
setTimeSignatures(java.util.Vector timeSignatures)
|
void |
transcribe()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Transcriber()
Method Detail |
---|
public void setCommonTimeSig()
public void addTranscriberListener(TranscriberListener t)
public void removeTranscriberListener(TranscriberListener t)
public void setTimeSignatures(java.util.Vector timeSignatures)
public void setTempoTimeSignatures(java.util.Vector tempoTimeSignatureHolders)
public static void setFillBeatWithNote(boolean flag)
public static boolean getFillBeatWithNote()
public void setScore(Score score)
public void setSourceMusicShape(MusicShape source)
public void setDebug(boolean b)
public void printMeasure(int m)
public void transcribe() throws SearchPathListExpansionException, ElementMissedException
SearchPathListExpansionException
ElementMissedException
public static void main(java.lang.String[] args)
public void setLoopTimeSignatures(boolean flag)
public boolean getLoopTimeSignatures()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |