Receiving and sending MIDI (MIDI thru)

Purpose. Outputs all MIDI events that arrive at a MIDI IN port to a MIDI OUT port.

Usage. 

java MidiLoop -l input device output device

Parameters. 

-l

List available MIDI devices

input device

MIDI IN device name

output device

MIDI OUT device

Bugs, limitations. None.

Source code.  MidiLoop.java, MidiCommon.java