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

Large MIDIs start out choppy #27

Open ghost opened 6 years ago

ghost commented 6 years ago

https://files.catbox.moe/ci1i3b.mid https://files.catbox.moe/q2266u.mid https://files.catbox.moe/yj06r7.mid https://files.catbox.moe/55q27z.mid

These are some examples of MIDIs that start playing choppily for a while before playing correctly. It appears to be related to file size (i.e. <500kb)

grimmdude commented 4 years ago

Hi @ledlamp ,

I've made some improvements that I think may have fixed this. These examples seem to play alright for me in my demo player. Is it any better on your end? I think any choppiness would be related to the complexity of the MIDI, not necessarily file size. I see these have some pretty intense sequences.

-Garrett