retrigger for bufferd notes works!
This commit is contained in:
parent
383cae76d7
commit
5bbaf130cd
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue