DhrBaksteen / ArduinoOPL2

Arduino library for use with the OPL2 board (YM3812) and OPL3Duo (YMF262)
MIT License
198 stars 39 forks source link

Teensy midi fix #45

Closed DhrBaksteen closed 4 years ago

DhrBaksteen commented 4 years ago

This fixes issues with the reuse of OPL2 channels in the TeensyMidi sketch. Issues in the function to get a free OPL2 channel would return the wrong channel causing clicks and pops. This fix eliminates this issue mostly, though not fully as it also depends on the instrument being used.

This fix is in reference to #44