   unsigned long var = sum / length;
   return var;	
 }
+

unsigned long min_var = 99999999;

void setup() {
   Serial.begin(9600);
   MsTimer2::set(1,displayer2);
   MsTimer2::start();
   for (int i = 0 ; i < num_cols; i++) volumes[i] = 8;
   for (int i = 0 ; i < buffer_size; i++) noises[i] = random(300,612);
   if(mode == 2) hm.set_message(" Hello I'm the Heart Matrix! ");
   if(mode == 0) hm.animate();
   
   Wire.begin(); 
   //clock.setDateTime(__DATE__,__TIME__);
}
  
void loop() {
  if(mode == 0) sound_display();
  else if(mode == 1) clock_display();

  hm.on();  
  if (millis() - last_update > 1000){
    stime = " ";

    byte a_hour = clock.hour24();
    String a_hour_s = String(a_hour);
    int hour_int = a_hour_s.toInt();
    String ampm = "am  ";
    if (hour_int >= 12){
