 // Note scheduling array,
 volatile MidiNote active_notes[TIMER_COUNT];
 
-void set_note(int i, byte channel, byte pitch, byte velocity){
+void set_note(int i, byte channel, byte pitch, byte velocity)
+{
   active_notes[i].channel = channel;
   active_notes[i].pitch = pitch;
   active_notes[i].velocity = velocity;

  }
};


void clear_notes_and_timers()
{
  for (byte i = 0; i < TIMER_COUNT; i++)

  active_notes[i].phase_us = micros() % active_notes[i].period_us;
}

void clear_note(int i)
{
  active_notes[i].velocity = 0;
  active_notes[i].pitch = 255;
  active_notes[i].channel = 0;
