Class MIDIDevice

java.lang.Object
io.github.roboblazers7617.buttonbox.midi.MIDIDevice

public class MIDIDevice extends Object
A wrapper for MidiDevices that combines recieving and transmitting objects into one object.
  • Constructor Details

  • Method Details

    • send

      public void send(MidiMessage message)
      Sends a message to this device.
      Parameters:
      message - The message to send.
    • getRouter

      public MIDIRouter getRouter()
      Gets the MIDIRouter assigned to this device.
      Returns:
      The MIDIRouter assigned to this device.