diff --git a/FM/FM.ino b/FM/FM.ino index bb8cb3f..76f388d 100644 --- a/FM/FM.ino +++ b/FM/FM.ino @@ -64,8 +64,7 @@ void noteOn(byte channel, byte note, byte velocity) { void noteOff(byte channel, byte note, byte velocity) { if (channel == MIDI_CHANNEL) { - updateBuffer(note, gate); - gate = 0; + updateBuffer(note, 0); } } @@ -156,6 +155,7 @@ void updateControl(){ kIntensityMod.setFreq(mod_speed); // Debugging + /* Serial.print("Buffer Index: "); Serial.print(bufferIndex); @@ -172,6 +172,7 @@ void updateControl(){ Serial.print(knob4calibrated); Serial.println(); + */ // MIDI DIN MIDI.read();