MIDI.js icon indicating copy to clipboard operation
MIDI.js copied to clipboard

Midi.Player.start not working

Open jdgreenberger opened this issue 9 years ago • 1 comments

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(…)

jdgreenberger avatar Sep 21 '15 02:09 jdgreenberger

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).

shivrajsa avatar Sep 22 '15 07:09 shivrajsa