 }
 
 void randomDrawbars() {
-    midiControl[CC_DRAWBAR_1] = random(0, 127);
-    midiControl[CC_DRAWBAR_2] = random(0, 127);
-    midiControl[CC_DRAWBAR_3] = random(0, 127);
-    midiControl[CC_DRAWBAR_4] = random(0, 127);
-    midiControl[CC_DRAWBAR_5] = random(0, 127);
-    midiControl[CC_DRAWBAR_6] = random(0, 127);
-    midiControl[CC_DRAWBAR_7] = random(0, 127);
-    midiControl[CC_DRAWBAR_8] = random(0, 127);
-    midiControl[CC_DRAWBAR_9] = random(0, 127);
+    for (int i = 1; i <= 9; i++) {
+        midiControl[CC_DRAWBAR_0 + i] = random(0, 127);
+    }
     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;

#define MANUAL_KEY_61 (MANUAL_KEY_0 + 61)

#define CC_SWELL (11)
#define CC_DRAWBAR_0 (69)
#define CC_DRAWBAR_9 (CC_DRAWBAR_0 + 9)
#define CC_PERCUSSION (87)
#define CC_PERCUSSION_FAST (88)
#define CC_PERCUSSION_SOFT (89)
