   drum4.secondMix(0.0);
   drum4.pitchMod(0.0);
 
-  sgtl5000_1.enable();
-  sgtl5000_1.volume(0.5);
-
+  
+   if (hasAudioBoard) {
+     sgtl5000_1.enable();
+     sgtl5000_1.volume(0.5);      
+   } else {
+     mixerFinal.gain(1, 0.3);
+     mixerFinal.gain(2, 0.3);
+   }
   AudioInterrupts();
 }
 

// * 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

  if (ms >= nextVolumeUpdate)
  {
    float volume = map(analogRead(A3), 0, 1023, 0, 60) / 100.0;
    if (hasAudioBoard) {
      sgtl5000_1.volume(volume);
    } else {
      mixerFinal.gain(1, volume/2);
      mixerFinal.gain(2, volume/2);
    }
    nextVolumeUpdate = ms + 50;
  }
  if (ms >= nextStrum)
