Package jmsltutorial
Class PrintingJob
java.lang.Object
com.softsynth.jmsl.MusicJob
jmsltutorial.PrintingJob
- All Implemented Interfaces:
Composable
,Playable
,java.lang.Runnable
public class PrintingJob extends MusicJob
-
Field Summary
Fields inherited from class com.softsynth.jmsl.MusicJob
repeatCount
-
Method Summary
Methods inherited from class com.softsynth.jmsl.MusicJob
add, addPlayLurker, addRepeatPlayable, addStartPlayable, addStopPlayable, advanceCurrentTime, contains, elements, finish, finishAll, getChild, getChildren, getCurrentTime, getDataTranslator, getDuration, getInstrument, getName, getParent, getPlayLurkers, getRepeatCount, getRepeatPause, getRepeatPlayables, getRepeats, getStartDelay, getStartPause, getStartPlayables, getStartTime, getStopDelay, getStopPlayables, getTimeStretch, getTransposition, halt, indexOf, insert, internalRepeat, isRunning, launch, launch, play, play, print, printHierarchy, printHierarchy, remove, remove, removeAll, removeAllPlayLurkers, removeAllRepeatPlayables, removeAllStartPlayables, removeAllStopPlayables, removePlayLurker, removeRepeatPlayable, removeStartPlayable, removeStopPlayable, run, setCurrentTime, setDataTranslator, setDuration, setInstrument, setName, setParent, setRepeatPause, setRepeats, setStartDelay, setStartPause, setStartTime, setStopDelay, setTimeStretch, setTransposition, size, start, stop, timeStretch, transposition, waitForDone
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
repeat
public double repeat(double playTime)Override MusicJob's repeat() to do what you want- Specified by:
repeat
in interfaceComposable
- Overrides:
repeat
in classMusicJob
- Returns:
- stopTime
-
main
public static void main(java.lang.String[] args)Testing method when run as a stand-alone application
-