Advanced Sound FX Trigger Help

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
ryandcole
 
Posts: 13
Joined: Wed Aug 13, 2014 7:12 pm

Advanced Sound FX Trigger Help

Post by ryandcole »

Hello all,

Was wondering if it was possible or if anyone had any experience with these types of sound triggers for the Sound Fx Board...

-New sound is triggered after button is held down for more than 10 seconds (ex. blast sound goes to blast sound with warning tone)

-Sound is triggered when a button is released (ex. startup sound when button is pressed and shut down sound when button is released)

I'm making a toy for my kids and got stuck on this part. Not crucial but could add a fun layer of interactivity. I think that it could probably be done via serial control with a Trinket (or something like it)? Just wondering if anyone has given it a go.

Thanks!

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Advanced Sound FX Trigger Help

Post by adafruit_support_mike »

You'll need a microcontroller to do either of those, but they shouldn't be hard to create.

The FX Board has a Serial control interface that a small dev board like the Trinket M0 can talk to:

https://www.adafruit.com/product/3500

Let the Trinket watch the buttons, then decide what signals to send to the FX Board.

If you only want two sounds, you could also wire the Trinket's GPIO pins to the FX Boards trigger pins and control the sounds that way.

User avatar
ryandcole
 
Posts: 13
Joined: Wed Aug 13, 2014 7:12 pm

Re: Advanced Sound FX Trigger Help

Post by ryandcole »

Awesome. Thank you!!!

Is there a serial tutorial that you would recommend? I tried reading the sound fx board one but didn't quite understand.

Thanks again!

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Advanced Sound FX Trigger Help

Post by adafruit_support_mike »

This page of the FX Board tutorial has the information to get you started:

https://learn.adafruit.com/adafruit-aud ... io-control

It also links to a code library we've created for the Arduino IDE.

User avatar
ryandcole
 
Posts: 13
Joined: Wed Aug 13, 2014 7:12 pm

Re: Advanced Sound FX Trigger Help

Post by ryandcole »

Great. Thank you!!!

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”