 AudioConnection          patchCord14(mixerFinal, 0, i2s1, 0);
 AudioConnection          patchCord15(mixerFinal, 0, i2s1, 1);
 AudioControlSGTL5000     sgtl5000_1;     //xy=638,468
+AudioConnection          patchCord16(mixerFinal, dac1);
 // GUItool: end automatically generated code
 
 AudioSynthKarplusStrong *strings [] = { &string1, &string2, &string3, &string4, &string5, &string6 };

AudioMixer4              mixerStrings2;  //xy=331,356
AudioMixer4              mixerFinal;     //xy=534,229
AudioOutputI2S           i2s1;           //xy=679,188
AudioConnection          patchCord1(drum1, 0, mixerDrums, 0);
AudioConnection          patchCord2(drum2, 0, mixerDrums, 1);
AudioConnection          patchCord3(drum3, 0, mixerDrums, 2);



void setup() {
  hasAudioBoard = true;
  // put your setup code here, to run once:

  Serial.begin(115200);
  
  if (!hasAudioBoard) {
    analogWriteResolution(12); //only needed if we're using the built-in DAC for audio out
  }
  
  for (int i = 3; i < 7; i++) {
    pinMode(i, INPUT_PULLUP);
  }
