Absolutely all at your own risk; I haven't spent much time looking at it, it probably won't work:
The Adafruit Audio FX Sound Board runs off 3 to 5.5V, so you can power it straight from your breadboard power rails to Vin and GND.
Choose a pin on your Thundercloud Arduino, I'll assume pin 13, and connect it to whichever trigger pin you want to use on the Sound Board.
You'll probably want a latching audio file:
Latching Loop Trigger - name the file TnnLATCH.WAV or .OGG to have the audio start playing when the button is pressed momentarily, and repeats until the button is pressed again
In thundercloud_2.ino you need to make changes.
#define DATA_PIN 3
// Audio FX trigger pin
#define AUDIO_FX_PIN 13
enum Mode { CLOUD,ACID,OFF,ON,RED,GREEN,BLUE,WHITE,FADE,VOL_DOWN,VOL_UP,LUMENS_UP,LUMENS_DOWN,TRIG_FX};
void setup() {
pinMode(AUDIO_FX_PIN, OUTPUT);
digitalWrite(AUDIO_FX_PIN, HIGH); // pull to ground to trigger
case 0x3D:
mode = LUMENS_UP; break;
case 0x??: // whatever code your remote spits out for the button you want to use
mode = TRIG_FX; break;
case LUMENS_UP: lumens_plus();break;
case TRIG_FX: trigger_sound_effects();break;
void trigger_sound_effects(){
// if the IR remote fires out multiple codes for one keypress, this function could be called multiple times
// it may be necessary to "debounce" the codes, see what happens first
digitalWrite(AUDIO_FX_PIN, LOW);
delay(150); // since there are already delays in the code; if this is too long, it could be done by timing
digitalWrite(AUDIO_FX_PIN, HIGH);
mode=CLOUD;
}


