grimmdude / MidiPlayerJS

♬ MIDI parser & player engine for browser or Node. As a parser converts MIDI events into JSON. Works well with single or multitrack MIDI files.
https://grimmdude.com/MidiPlayerJS/
MIT License
357 stars 52 forks source link

Duration is calculated incorrectly for file #59

Closed Andrew-J-Larson closed 4 years ago

Andrew-J-Larson commented 4 years ago

When loading this file in VLC for example, it shows a time roughly about 2:56 (about 176 seconds) ... but loading it in the player, it shows a time of about 981.8 seconds... which is obviously incorrect.

Here's the file: O-Zone_-_Dragostea_Din_Tei.mid

grimmdude commented 4 years ago

Thanks @TheAlienDrew, this has been fixed in 2.0.10.

-Garrett