Bugs item #1911426, was opened at 2008-03-10 20:48 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1911426...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: externals Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: ClaudiusMaximus (claudiusmaximus) Assigned to: Nobody/Anonymous (nobody) Summary: mrpeach/midifile works best with real note-off messages
Initial Comment: Some software (at least timidity and midi2ly) require real note off messages and not the "note on with velocity 0" messages provided by [makenote] used in the midifile help patch.
I'm not sure what the official spec says, but switching to writing proper note-off messages to the file fixed my issues with notes not ending and instrument polyphony being exceeded.
So, instead of
[makenote 64 100] [pack f f] [list prepend ...]
Use:
"my note float" [t f f] | [pack f 64] | [list prepend ...] // channel number + 144 | [pipe f 100] [pack f 64] [list prepend ...] // channel number + 128
or similar.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1911426...