Class SeqGenDemo.SeqJob

java.lang.Object
com.softsynth.jmsl.MusicJob
jmslexamples.jsyn.ancient.SeqGenDemo.SeqJob
All Implemented Interfaces:
Composable, Playable, java.lang.Runnable
Enclosing class:
SeqGenDemo

public class SeqGenDemo.SeqJob
extends MusicJob
  • Constructor Details

    • SeqJob

      public SeqJob()
  • Method Details

    • start

      public double start​(double playTime) throws java.lang.InterruptedException
      Description copied from class: MusicJob
      Setup method called once when run() begins. Override this for custom setup.
      Specified by:
      start in interface Composable
      Overrides:
      start in class MusicJob
      Returns:
      endTime
      Throws:
      java.lang.InterruptedException - thrown if Thread.interrupt() called.
    • repeat

      public double repeat​(double playTime) throws java.lang.InterruptedException
      Description copied from class: MusicJob
      This will be called N times based on the setRepeat(N) Override this for custom operation. Called immediately after internalRepeat() called.
      Specified by:
      repeat in interface Composable
      Overrides:
      repeat in class MusicJob
      Returns:
      stopTime
      Throws:
      java.lang.InterruptedException - thrown if Thread.interrupt() called.
    • stop

      public double stop​(double playTime) throws java.lang.InterruptedException
      Description copied from class: MusicJob
      Cleanup method called once when run() begins. Override this for custom setup.
      Specified by:
      stop in interface Composable
      Overrides:
      stop in class MusicJob
      Returns:
      endTime
      Throws:
      java.lang.InterruptedException - thrown if Thread.interrupt() called.