issues
search
DhrBaksteen
/
ArduinoOPL2
Arduino library for use with the OPL2 board (YM3812) and OPL3Duo (YMF262)
MIT License
195
stars
39
forks
source link
Instruments refactoring
#80
Closed
DhrBaksteen
closed
3 years ago
DhrBaksteen
commented
3 years ago
Refactored instrument definitions so they consume less memory (1 byte for 2-OP, 3 bytes for 4-OP per instrument definition).
Percussive mode instruments are now loaded using regular
loadInstrument
function, but are set with a
drumType
in
setDrumInstrument
.
Removed instrument types since they are no longer needed.
Added 4-OP drum instruments.
Updated all existing instrument definitions.
Updated examples to work with new instruments.
Added a new example for the OPL3 Duo! board; a simple drum sequencer.
loadInstrument
function, but are set with adrumType
insetDrumInstrument
.