Re: Pause aware MIDI conversion - rg_toMIDI.php
Thanks for the amendment that finds Midi2Mtx and Mtx2Midi whichever windows program area they reside in.
Thanks. The amendment is incorporated into version 1.1.
One point I think that you may want to include is to put in a routine that detects if the output midi file name already exists. At the moment, if it already exists, it is overwritten without a dialogue box. That does not happen with a straight midi export.
Down around line 25 you'll find:
$dlg->SetWindowStyle(wxFD_SAVE); // |wxFD_OVERWRITE_PROMPT);
Change it to:
$dlg->SetWindowStyle(wxFD_SAVE|wxFD_OVERWRITE_PROMPT);
and it will prompt for overwrites.