jmsltutorial
Class AppletColorInstrument

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

public class AppletColorInstrument
extends InstrumentAdapter

A simple Interpreter subclass that interprets data as rgb color, interprets element[0] as duration


Method Summary
 double play(double playTime, double timeStretch, double[] dar)
          Overridden for custom interpretation
 
Methods inherited from class com.softsynth.jmsl.InstrumentAdapter
close, getDimensionNameSpace, getInterpreter, getMixerClassName, getMusicDevice, getName, getNumOutputs, getOutput, getOutput, getTransposition, main, noteOff, noteOn, noteOnFor, off, on, open, setDimensionNameSpace, setInterpreter, setMixerClassName, setMusicDevice, setName, setTransposition, toString, update
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

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