mididump - dumps a MIDI file in a text format provided by MIDI
mididump filename.mid muscript -midi filename | mididump mididump filename.mid | grep patch_change mididump filename.mid > /tmp/filename.dump #! /usr/bin/perl use MIDI; my $newopus; do '/tmp/filename.dump'; # $newopus is now a Midi Opus identical to the original filename.mid
Dumps (displays) a MIDI file, in the human-readable text-format provided by MIDI's $opus->dump function.
Assuming you've installed MIDI, then perldoc MIDI::Event
should document the format in which the various MIDI-events are represented.
The current version of mididump is available by http at
www.pjb.com.au/midi/free/mididump
To install mididump, save it to disc,
move it into your $PATH, make it executable, and if necessary
edit the first line to reflect where perl is installed on your system.
You'll also need to install the MIDI-Perl module written by Sean Burke.
1.3, 20130506, explicitly sets $newopus=
so Perl can do the dump
1.2, 20060729, helpful message if MIDI-Perl not installed
1.1, 20060728, first working version
Peter J Billam www.pjb.com.au/comp/contact.html
Based on Sean Burke's MIDI CPAN module.
http://search.cpan.org/~sburke
search.cpan.org/~pjb
www.pjb.com.au/muscript
www.pjb.com.au/midi/bassline.html
www.pjb.com.au/midi/midiecho.html
www.pjb.com.au/midi/midiedit.html
www.pjb.com.au/midi/musicxml2mid.html
www.pjb.com.au/midi