 AudioControlSGTL5000     sgtl5000_1;     //xy=638,468
 // GUItool: end automatically generated code
 
-
 AudioSynthKarplusStrong *strings [] = { &string1, &string2, &string3, &string4, &string5, &string6 };
 
 int major7[6] = {48, 59, 64, 67, 71, 76};

}

void showButtonStates() {
    Serial.print("buttons ");
    Serial.print(buttonStates[0]);
    Serial.print(buttonStates[1]);
    Serial.print(buttonStates[2]);
    Serial.println(buttonStates[3]);
}
void loop() {
  // put your main code here, to run repeatedly:


bool buttonStates[4] = {false, false, false, false};

static uint32_t next;
int gKeyOffset = 0; //at higher scope to allow periodic logging

//Note: I found that on the teensy 3.2, at 96MHz, notes lower than the 40th one do not
// sound with the correct pitch, at least with the Karplus Strong string synthesis.
const float tune_frequencies2_PGM[128] =
{
  8.1758,    8.6620,    9.1770,    9.7227,    10.3009,    10.9134,    11.5623,    12.2499,
