         updatePercussion();
     } else if (ctrl == CC_PERCUSSION_SOFT) {
         updatePercussion();
-    } else if (ctrl >= CC_DRAWBAR_1 && ctrl <= CC_DRAWBAR_9) {
+    } else if (ctrl > CC_DRAWBAR_0 && ctrl <= CC_DRAWBAR_9) {
         updateTonewheels();
     }
 }

    uint8_t bars[10] = {0};
    uint8_t percBars[10] = {0};

    bars[1] = quantizeDrawbar(midiControl[CC_DRAWBAR_1]);
    bars[2] = quantizeDrawbar(midiControl[CC_DRAWBAR_2]);
    bars[3] = quantizeDrawbar(midiControl[CC_DRAWBAR_3]);
    bars[4] = quantizeDrawbar(midiControl[CC_DRAWBAR_4]);
    bars[5] = quantizeDrawbar(midiControl[CC_DRAWBAR_5]);
    bars[6] = quantizeDrawbar(midiControl[CC_DRAWBAR_6]);
    bars[7] = quantizeDrawbar(midiControl[CC_DRAWBAR_7]);
    bars[8] = quantizeDrawbar(midiControl[CC_DRAWBAR_8]);
    bars[9] = quantizeDrawbar(midiControl[CC_DRAWBAR_9]);

    if (midiControl[CC_PERCUSSION]) {
        bars[9] = 0;

}

void randomDrawbars() {
    for (int i = 1; i <= 9; i++) {
        midiControl[CC_DRAWBAR_0 + i] = random(0, 127);
    }
    updateTonewheels();
}

