MIDI.js
MIDI.js copied to clipboard
Midi.Player.start not working
I'm having problems getting MIDI.Player.start to actually play the midi file. After digging into player.js, I saw the problem is that loadMidiFile throws the error: ReferenceError: Replayer is not defined(…)
Look at this issue https://github.com/mudcube/MIDI.js/issues/148 I am still struggling to implement my own MIDI player and having same problem. I think it could be issue of "channel" set in the MIDI file. I have similar problem when I tried to play MIDI file generated using https://github.com/sergi/jsmidi. But, when I changed the channel while generating MIDI file it started playing in the MIDI player available with library (downloaded zip).