I'm developing some midi processing software, and it would suit me if I could put events in a track which occur simultaneously
(i.e. an events followed by events with zero time delta) in a canonical order. For example, I would like to move note off message before note on messages.
Are there any specifications or resources which consider this issue?
The concern I have is a situation where a note on event is followed by some event X followed by a note off event (not for the same note). Is there any scenario where the result would be different if I reorder these events?
Thanks for any advice and suggestions.