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
359 stars 52 forks source link

. #43

Closed ghost closed 5 years ago

ghost commented 5 years ago

.

grimmdude commented 5 years ago

Hi @kazukazu123123,

Thanks for your message. I will make a note to add this, but in the meantime you should be able to get current song percent like this:

var currentSongPercent = 100 - Player.getSongPercentRemaining();