 float bpm = 120;
 boolean offBeat = true; 
 boolean sentBeat = false;
+long MAX_VOLUME = (255 << 2);
+long MIN_VOLUME = (180 << 2);
+double MAX_MODIFIER = 10.0;
+double MIN_MODIFIER = 0.5;
+double modifier = 1.0;
+
+
+long running_volume = 200;
 
 void setup() { 
+  //Serial.begin(9600);
   start = t = millis();
   Wire.begin(0x29);              
   Wire.onRequest(sendSpectrum); 

    sentBeat = false;
  }
  Wire.write(spectrum, 9);
}



{
  // Band 0 = Lowest Frequencies.
  byte i;
  long volume = 0;
  for(i=0;i <7; i++)
  {
    //Read twice and take the average by dividing by 2
