jm.midi

## Class RTMidiIn

- java.lang.Object
- - jm.midi.RTMidiIn

- All Implemented Interfaces:
    java.lang.AutoCloseable, javax.sound.midi.Receiver

      public class RTMidiIn
      extends java.lang.Object
      implements javax.sound.midi.Receiver

  Real time midi input.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RTMidiIn()` Constructor

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addMidiInputListener(MidiInputListener mil)` Attached Listeners
    `void` | `close()` Close method to release resources
    `void` | `notifyListeners(Event event)` Notify all listeners of a new event
    `void` | `send(javax.sound.midi.MidiMessage message, long deltaTime)` Called from the JavaSound MIDI Input Port for each new MIDI event

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RTMidiIn

          public RTMidiIn()

      Constructor

  - ### Method Detail

    - #### addMidiInputListener

          public void addMidiInputListener(MidiInputListener mil)

      Attached Listeners

    - #### notifyListeners

          public void notifyListeners(Event event)

      Notify all listeners of a new event

    - #### send

          public void send(javax.sound.midi.MidiMessage message,
                  long deltaTime)

      Called from the JavaSound MIDI Input Port for each new MIDI event
      Specified by:
        `send` in interface `javax.sound.midi.Receiver`

    - #### close

          public void close()

      Close method to release resources
      Specified by:
        `close` in interface `java.lang.AutoCloseable`
      Specified by:
        `close` in interface `javax.sound.midi.Receiver`