What is the best way to read a MIDI file (chronologically) with multiple tracks? (Java)
Note: I don't want to play the MIDI file, just read the messages.
Couple ideas:
Is it safe to assume there are no note events shorter than the 1/64th note? Or should I visit every track and only move to the next tick after all other ticks tracks
- Assume there is no midi event shorter than a 1/64th note, and move the current position tick count by that fix delta.
- Visit every track and progress to the next earliest tick