Package jmsltestsuite

Class PitchBendInstrument

java.lang.Object
All Implemented Interfaces:
Instrument, Namable, NoteOnOff, OutputProvider, Transposable

public class PitchBendInstrument
extends MidiInstrument
Midi instrument that sends pitchbend in play()
  • 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:
      play in interface Instrument
      Overrides:
      play in class InstrumentAdapter