2 Replies Latest reply on Mar 12, 2013 8:54 AM by Tolls

    Java real-time midi: need good tutorial

      I want to implement a program that sends and receives individual MIDI events to/from ports on my computer. I want to do individual events (i.e., not loading a MIDI file and sequencing it). I'm very confused by the interfaces Transmitter and Receiver. Let me put it this way. Some MIDI devices are input devices (would this correspond to a Receiver?) and some are output devices (a Transmitter?). What is confusing is that the Java documentation implies that Transmitters and Receivers pair up in the same process. That's not how MIDI devices work. I would receive from a MIDI input device and do something with that, but I would not transmit back to the same device, nor would I need to transmit to get it elsewhere in the same process. It's only if I'm sending the MIDI message to a different process or hardware device that I would transmit it. So clearly the meaning of Transmitter and Receiver doesn't correspond to the physical reality as I understand it. It must do something else.

      I can't find any MIDI tutorials that explain this. Any help appreciated.