Closed Andrew-J-Larson closed 4 years ago
Hi @TheAlienDrew,
I think the issue here is that there's a "Set Tempo" event for 20
at the beginning of the file and the player is using that as the default. So the song duration is being calculated based on that, hence the very long duration. I just pushed a change so that the player will actually change tempo when a tempo event is triggered which I think should also address the issue you mentioned in #61. Let me know your thoughts on that.
Ideally, the song duration should calculate with all tempo changes factored in but currently it's only being calculated based on the current tempo. Will try to address that shortly.
-Garrett
Yes that fixed the issue, and it fixed duration time in #61.
This file, Death Waltz.mid, should show up of a duration around 3:32 (about 212 seconds), yet loads with a duration of about 2,077 seconds...
Hopefully it's not too hard too fix either.