Listens to a MIDI port and dump the received event to the console

Purpose. Listens to a MIDI port and dump the received event to the console.

Usage. 

java MidiInDump -l

java MidiInDump -d devicename -n device#

Parameters. 

-l

list the availabe MIDI devices

-d devicename

reads from named device (see -l)

-n device#

reads from device with given index (see -l)

Bugs, limitations.  For the Sun J2SDK 1.3.x or 1.4.0, MIDI IN does not work. See the FAQ for alternatives.

Source code.  MidiInDump.java, DumpReceiver.java, MidiCommon.java, gnu.getopt.Getopt