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

More TypeScript additions. #15

Closed TimMensch closed 6 years ago

TimMensch commented 6 years ago

I needed to read more information about the track and realized that it wasn't available via public interfaces, so I added the member variables that hold this information to the TypeScript declaration. I also marked some functions private that seem like they should never be called externally.

grimmdude commented 6 years ago

Merged, thanks for your contributions @TimMensch!