diff --git a/dpf b/dpf index 07de97b..6544084 160000 --- a/dpf +++ b/dpf @@ -1 +1 @@ -Subproject commit 07de97ba7201ae22705a4f1101afa0f853c845ae +Subproject commit 65440847faef769cfcb07a94009642341820dd63 diff --git a/plugins/Cardinal/src/HostMIDI-Gate.cpp b/plugins/Cardinal/src/HostMIDI-Gate.cpp index 08b9a55..7232c9a 100644 --- a/plugins/Cardinal/src/HostMIDI-Gate.cpp +++ b/plugins/Cardinal/src/HostMIDI-Gate.cpp @@ -159,7 +159,7 @@ struct HostMIDIGate : TerminalModule { learningId = -1; } // Find id - for (int i = 0; i < 16; i++) { + for (int i = 0; i < 18; i++) { if (learnedNotes[i] == data[1]) { gates[i][c] = true; gateTimes[i][c] = 1e-3f; @@ -173,7 +173,7 @@ struct HostMIDIGate : TerminalModule { case 0x80: const int c = mpeMode ? (data[0] & 0x0F) : 0; // Find id - for (int i = 0; i < 16; i++) { + for (int i = 0; i < 18; i++) { if (learnedNotes[i] == data[1]) { gates[i][c] = false; }