Yikai-Liao / symusic

A cross platform note level midi decoding library with lightening speed, based on minimidi.
https://yikai-liao.github.io/symusic/
MIT License
108 stars 8 forks source link

Set-Tempo events not applied correctly to timestamps in multi-track files #44

Closed wrongbad closed 3 weeks ago

wrongbad commented 3 weeks ago

https://stackoverflow.com/questions/1080297/how-does-midi-tempo-message-apply-to-other-tracks

Here's an example midi file where the tempo is modulated in track-0 only: https://www.bachcentral.com/ORGAN/catech7.mid

If the tempo updates are not applied to other tracks when computing timestamps in seconds, then they become out of sync.

wrongbad commented 3 weeks ago

made a mistake while testing this... disregard