midiedit - Edits a MIDI file in a text format provided by MIDI::Perl
midiedit filename.mid
Edits a MIDI file in the human-readable text-format provided by MIDI::Perl's $opus->dump function.
The text format representing the MIDI is executable Perl source, so as you edit, you should preserve valid Perl syntax. If the edited file has syntax errors, you will be asked if you want to re-edit it, and if you reply No then the original file will not get over-written.
If you've changed the text, and saved the changes to disc, and then decide you want to quit without overwriting the MIDI file, you can do this by deliberately messing up the Perl syntax (e.g. make sure the brackets are unbalanced), then save your bad-syntax version, and reply No to not re-edit.
Assuming you've installed MIDI::Perl, then perldoc MIDI::Event
should document the format in which the various MIDI-events are represented.
The current version of midiedit is available by http at
www.pjb.com.au/midi/free/midiedit
To install midiedit, 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.1, 20060728, first working version
Peter J Billam www.pjb.com.au/comp/contact.html
Based on Sean Burke's MIDI::Perl CPAN module; also uses Peter Billam's Term::Clui CPAN module.
search.cpan.org/~sburke
search.cpan.org/~pjb
www.pjb.com.au/midi/bassline.html
www.pjb.com.au/midi/mididump.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/muscript
www.pjb.com.au/midi