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

getSongTimeRemaining() always showing end of song #30

Closed JudeOsborn closed 6 years ago

JudeOsborn commented 6 years ago

While playing a song getSongTimeRemaining() always seems to show the maximum song time. So I have no way of knowing when a song is over. Seems to be a bug?

Or is there another way of knowing a songs progress? I could do my own timer and keep track of the tempo, etc., but that's redundant.

grimmdude commented 6 years ago

Thanks for the message. Sounds like you were able to resolve?