 int bpm = staticBpm;
 byte bufr[NUM_LEDS_CH1];
 byte offset = 0;
-int targetMagnitude = minMagnitude;
-int adjustedMagnitude = minMagnitude;
+int currentMagnitude;
+int targetMagnitude = maxMagnitude;
+int adjustedMagnitude = maxMagnitude;
 
 // pulse config
 static boolean serialVisual = false;   // Set to 'false' by Default.  Re-set to 'true' to see Arduino Serial Monitor ASCII Visual Pulse 

}

int calcAdjustedMagnitude() {
  // Get new target (smoothed out over a couple of readings)
  targetMagnitude = max(
    constrain(getMagnitude(), minMagnitude, maxMagnitude), 
    targetMagnitude
  );
  
  // Slowly work towards new target
  if(adjustedMagnitude <= targetMagnitude) {
    adjustedMagnitude = constrain(
      (targetMagnitude*100 + gainRatePerBeat) / 100, 
      minMagnitude, 
      maxMagnitude
    );
  } else {
    adjustedMagnitude = constrain(
      (targetMagnitude*100 - gainRatePerBeat) / 100, 
      minMagnitude, 
      maxMagnitude
    );


  // Slowly decay max target
  targetMagnitude = constrain(
    targetMagnitude - (targetMagnitude*(decayRatePerBeat/100)), 
    minMagnitude, 
    maxMagnitude
  );
//
//  Serial.print(magnitudeDiff);
//  Serial.print("\t");
//  Serial.print(targetMagnitude);
//  Serial.print("\t");
//  Serial.print(adjustedMagnitude);
//  Serial.println();
  
  currentMagnitude = newMagnitude;
}

// Get a magnitude across all vectors.
