Interface Playable

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

public interface Playable
Playable is a root interface. Playable returns an updated time when finished playing.
  • Method Summary

    Modifier and Type Method Description
    double play​(double time, Composable parent)
    Executing musical function.
  • Method Details

    • 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.