   sgtl5000_1.volume(0.5);
 
   AudioInterrupts();
-
-}
+}
+
 void showButtonStates() {
     Serial.print("buttons ");
     Serial.print(buttonStates[0]);

//A simple chord player for teensy + audio which allows 
// selection of the most common chords in pop 
// (e.g. I, ii, IV, V, vi) with some decorations.

// GUItool: begin automatically generated code
AudioSynthSimpleDrum     drum2;          //xy=58,80


  if (millis() == next)
  {
    float volume = map(analogRead(A3), 0, 1023, 0, 60) / 100.0;
    sgtl5000_1.volume(volume); //TODO: consider updating volume more often.
    
    for(int bn = 0; bn < 4; bn++){
      buttonStates[bn] = digitalRead(3+bn)==LOW;
    }
