DhrBaksteen / ArduinoOPL2

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

TeensyMidi example for OPL2 Audio Board fails to compile #92

Closed DhrBaksteen closed 2 years ago

DhrBaksteen commented 2 years ago

The TeensyMidi example for the OPL2 Audio Board fails to compile with the following error:

TeensyMidi: In function 'void onNoteOn(byte, byte, byte)':
TeensyMidi:165: error: 'octave' was not declared in this scope
   octave = note / 12;
   ^