   // If the eq bar is about to be empty, generate a new max length to fill.
   // Also increment the index of the palette, for a little more modulation cuz
   // why not.
-  if (lead == 0 && (lead - prev) < 0) {   
-    pal_index+=16;
-    lead_max = random8(numLED / 3, numLED); 
+  if (lead == 0 && (lead - prev) < 0) {
+    pal_index += 16;
+    lead_max = random8(numLED / 3, numLED);
   }
 
   // Check for rate change here so we don't interrupt the color and length

    last_second = second;
    bpm = map(analogRead(RATE_POT), 0 , 1253, 60, 20);
  }
  
  fill_palette(leds, numLED, pal_index, 4, gPalette, maxBrightness, gBlending);
  FastLED.show();
}

const uint8_t frameRate = 100; // FPS
const uint8_t maxBrightness = 200;
uint8_t gBrightness = maxBrightness; // CHANGE THIS ONCE YOU HAVE ANOTHER POTENTIOMETER
const uint16_t numLED = 60;
CRGB *leds = new CRGB[numLED];

// Variables for pin interrupts (there's a lot of these babies)
