 }
 
 // A single equalizer type bar
-void palette_eq() {
+void palette_eq(uint8_t bpm) {
   static uint8_t pal_index = 0;
   static uint8_t lead_max = numLED / 2;
   static uint8_t lead = 0;

    // next three lines if you want to remove it from the loop. //
    //////////////////////////////////////////////////////////////
    case 5:
      theater_chase_mod();
      break;
  }


    gAnimCounter = (gAnimCounter+1)%numAnimation;
  }

  ///////////////////////////////////////////////////////////////////////
  // Select animation to run. Change the values in their parentheses   // 
  // to set the rate they run at. If you have a potentiometer set up   //
  // you can go to the function definitions below to see how to change //
  // the code to set it up to use the potentiometers input instead of  //
  // setting the values below.                                         //
  ///////////////////////////////////////////////////////////////////////
  switch( gAnimCounter ) {
    case 0:
      palette_mod(100);
      break;
    case 1:
      fill_mod_smooth(120);
      break;
    case 2:
      palette_eq(120);
      break;
    case 3:
      theater_chase(150);
      break;
    case 4:
      theater_chase_bounce(15);
      break;     
    //////////////////////////////////////////////////////////////
    // This animation is pretty crappy. I was trying to do it   //
