Class LXMidiOutput

java.lang.Object
heronarts.lx.midi.LXMidiDevice
heronarts.lx.midi.LXMidiOutput
All Implemented Interfaces:
AutoCloseable, Receiver

public class LXMidiOutput extends LXMidiDevice implements Receiver
  • Method Details

    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Receiver
      Specified by:
      close in class LXMidiDevice
    • send

      public void send(MidiMessage message)
    • send

      public void send(MidiMessage message, long timeStamp)
      Specified by:
      send in interface Receiver
    • sendSysex

      public void sendSysex(byte[] sysex)
    • sendNoteOn

      public void sendNoteOn(int channel, int pitch, int velocity)
    • sendNoteOff

      public void sendNoteOff(int channel, int pitch)
    • sendNoteOff

      public void sendNoteOff(int channel, int pitch, int velocity)
    • sendControlChange

      public void sendControlChange(int channel, int cc, int value)
    • onEnabled

      protected void onEnabled(boolean enabled)
      Description copied from class: LXMidiDevice
      Subclasses have this method invoked when the enabled state changes.
      Specified by:
      onEnabled in class LXMidiDevice
      Parameters:
      enabled - Enabled state, if newly set to true, attempt to open