Package jmsltutorial

Class BackgroundColorInstrument

java.lang.Object
com.softsynth.jmsl.InstrumentAdapter
jmsltutorial.BackgroundColorInstrument
All Implemented Interfaces:
Instrument, Namable, OutputProvider, Transposable

public class BackgroundColorInstrument
extends InstrumentAdapter
A simple Instrument subclass that interprets element [0] as duration and the rest as rgb color values
  • Method Details

    • play

      public double play​(double playTime, double timeStretch, double[] dar)
      Overridden for custom interpretation
      Specified by:
      play in interface Instrument
      Overrides:
      play in class InstrumentAdapter