1 Reply Latest reply: Dec 16, 2010 1:43 PM by captfoss RSS

    Get MidiMessage from Trasmitter ( Midi In )

    824345
      I need to get MidiMessage from a Midi In. Seems strange that Package javax.sound.midi hasn't MessageEventListener but has ControllerEventListener and MetaEventListener. How can I create a EventListener for MidiMessage events on Transmitter ?
        • 1. Re: Get MidiMessage from Trasmitter ( Midi In )
          captfoss
          821342 wrote:
          I need to get MidiMessage from a Midi In. Seems strange that Package javax.sound.midi hasn't MessageEventListener but has ControllerEventListener and MetaEventListener. How can I create a EventListener for MidiMessage events on Transmitter ?
          You can't / don't... if you want to receive MidiMessages, you implement the Receiver interface...

          IE,
          http://www.jsresources.org/examples/DumpReceiver.java.html