There is a nice MIDI API and some associated test programs in the PortMidi library you can use to test your MIDI setup. (http://www.cs.cmu.edu/~music/portmusic). -Roger