Package jmsltutorial

Class MusicJobStartRepeatStopDemo

java.lang.Object
com.softsynth.jmsl.MusicJob
jmsltutorial.MusicJobStartRepeatStopDemo
All Implemented Interfaces:
Composable, Playable, java.lang.Runnable

public class MusicJobStartRepeatStopDemo
extends MusicJob
  • Constructor Details

    • MusicJobStartRepeatStopDemo

      public MusicJobStartRepeatStopDemo()
  • Method Details

    • repeat

      public double repeat​(double playTime)
      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
    • start

      public double start​(double playTime)
      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
    • stop

      public double stop​(double playTime)
      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
    • main

      public static void main​(java.lang.String[] args)