com.softsynth.jmsl
Interface Playable

All Known Subinterfaces:
Composable
All Known Implementing Classes:
AudioClipJob, ClockTicker, DimensionNameSpaceEditorTest, FlasherFunction, FMNoodler, Measure, MeasureMetronome, MeasureNumberNotify, MessagePrinter, MessagePrintingPlayable, MidiNoteRecorder, MidiRecorderTest, MusicJob, MusicList, MusicShape, ParallelCollection, Player, PrintingJob, QueueCollection, QueueCollectionDemo, SabbathBrideMusicShape, ScoreCollection, ScoreControlPanel, SeqGenDemo.SeqJob, SequentialCollection, Staff, TextJob, TimePostingPlayable, TimePrinter, TimePrintingPlayable, Track

public interface Playable

Playable is a root interface. Playable returns an updated time when finished playing.


Method Summary
 double play(double time, Composable parent)
          Executing musical function.
 

Method Detail

play

double play(double time,
            Composable parent)
            throws java.lang.InterruptedException
Executing musical function. Return time when done.

Returns:
stopTime
Throws:
java.lang.InterruptedException - thrown if Thread.interrupt() called.