http:// www.jms1.net / code / dumpmidi.shtml

dumpmidi

This is a script which reads a MIDI file and shows you what's actually in the file.

I don't guarantee that it's 100% perfect, but it has worked correctly on every MIDI file I've tried it on so far, including files which use "running status" (where a sequence of notes are encoded into one long "key down" event.)

Download the script (rename it to "dumpmidi.pl" or "dumpmidi" when saving it)