Bugs item #1911426, was opened at 2008-03-10 16:48 Message generated for change (Comment added) made by mrpeach 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: Pending
Resolution: None Priority: 5 Private: No Submitted By: ClaudiusMaximus (claudiusmaximus) Assigned to: Martin Peach (mrpeach) 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.
----------------------------------------------------------------------
Comment By: Martin Peach (mrpeach)
Date: 2008-03-11 13:30
Message: Logged In: YES user_id=919007 Originator: NO
Changed more or less as suggested.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1911426...