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

// * 4 potentiometers A0 - A3.  A3 could be logarithmic, as it is for volume.
// * 4 buttons connecting p3-p6 to ground (configures them to use internal pullup resistors)

// GUItool: begin automatically generated code
AudioSynthSimpleDrum     drum1;          //xy=55,64
AudioSynthSimpleDrum     drum2;          //xy=66,101

  drum4.secondMix(0.0);
  drum4.pitchMod(0.0);

  
   if (hasAudioBoard) {
     sgtl5000_1.enable();
     sgtl5000_1.volume(0.5);      
   } else {
     mixerFinal.gain(1, 0.3);
     mixerFinal.gain(2, 0.3);
   }
  AudioInterrupts();
}

