MidiPlayerJS
MidiPlayerJS copied to clipboard
♬ MIDI parser & player engine for browser or Node. As a parser converts MIDI events into JSON. Works well with single or multitrack MIDI files.
Currently play() method is returning a single emitEvent() every 5ms even if there was a series of events on the same tick. It should return all events from the same...
``` Player.on('playing', (currentTick) => console.log("playing")); Player.on('endOfFile', () => console.log("endOfFile")); ``` I consistently get one `playing` event firing *after* the `endOfFile` event. Is this expected behaviour? Thanks!
I am trying to play midi in a loop. For this I am calling `play()` inside `endOfFile` event listener which sounds like a sensible thing to do, but this fails...
A marker command inside a midi is followed by a string containing the marker name. Currently the marker name is not attached to the event, which can be easily fixed:...
Hi, please add method to fetch lyrics from specific track and return array of [track.parseEvent()](https://grimmdude.com/MidiPlayerJS/docs/track.js.html#line185) Expect output: ``` [ { track, delta, tick, byteIndex, "name": "Lyric", string }, { track,...
Hi there! I attempted to implement your demo in React. I noticed that in your live demo, the midi I use plays back quite accurately. However, in my local implementation,...
Here's the sample midi file: [72257.mid](https://bitmidi.com/uploads/72257.mid) It's like 2-4 times faster than it should be.
This provides a fix for https://github.com/grimmdude/MidiPlayerJS/issues/25 where only one event per track could play each playLoop interval. This means that if there are multiple simultaneous events, they won't play all...
Just a minor bug This bug was fixed back in 2.0.1, but in recent versions this seems to be happening again #13 Take the midis back in issue 13 as...
In VNC, the duration on this song is around 16:46 (about 1006 seconds), in the MIDI player, it shows up a bit longer at about 1050 seconds. Song Midi: [Bohemian_Rhapsody_-_Queen_mid](https://anonfiles.com/v8h0b831o3/Bohemian_Rhapsody_-_Queen_mid)...