Package jmsltestsuite
Class PitchBendInstrument
java.lang.Object
com.softsynth.jmsl.InstrumentAdapter
com.softsynth.jmsl.midi.MidiInstrument
jmsltestsuite.PitchBendInstrument
- All Implemented Interfaces:
Instrument,Namable,NoteOnOff,OutputProvider,Transposable
public class PitchBendInstrument extends MidiInstrument
Midi instrument that sends pitchbend in play()
-
Constructor Summary
Constructors Constructor Description PitchBendInstrument()PitchBendInstrument(int channel) -
Method Summary
Modifier and Type Method Description doubleplay(double playTime, double timeStretch, double[] dar)duration in dar[0], bend in dar[1]Methods inherited from class com.softsynth.jmsl.midi.MidiInstrument
clearMIDIProgramChangeTracker, close, getChannel, getMusicDevice, getNumOutputs, getOutput, getOutput, getProgram, main, noteOff, noteOn, off, on, open, print, setChannel, setProgram, useSparseMIDIProgramChangeMethods inherited from class com.softsynth.jmsl.InstrumentAdapter
getDimensionNameSpace, getInterpreter, getMixerClassName, getName, getTransposition, noteOnFor, setDimensionNameSpace, setInterpreter, setMixerClassName, setMusicDevice, setName, setTransposition, toString, updateMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
PitchBendInstrument
public PitchBendInstrument() -
PitchBendInstrument
public PitchBendInstrument(int channel)
-
-
Method Details
-
play
public double play(double playTime, double timeStretch, double[] dar)duration in dar[0], bend in dar[1]- Specified by:
playin interfaceInstrument- Overrides:
playin classInstrumentAdapter
-