yvesgurcan / web-midi-player

🎹 Event-driven JavaScript library that enables MIDI playback in the browser
https://midi.yvesgurcan.com
MIT License
23 stars 8 forks source link

Bug: channel 16 plays as drums (should only be channel 10) #305

Open battaglia01 opened 2 years ago

battaglia01 commented 2 years ago

Environment

Bug

When playing notes on channel 16, they play using a drum kit patch. This should only happen on channel 10. It seems to be happening on channels 10 and 16.

Expected behavior

Notes on channel 10 are played using the drum patches, and notes on channel 16 are regular MIDI notes using the othe regular patches.

Example/Screenshots

channel16.mid.zip

Here is a MIDI file of only notes playing on channel 16. At least in Chrome, this tries to load a bunch of MT32 drum .pat files and plays it with a drum patch.