Soundboard Operation

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
dicky
 
Posts: 14
Joined: Mon Feb 16, 2015 7:04 pm

Soundboard Operation

Post by dicky »

Hi Everyone,
I've just received my 16MB sound board and it's all working brilliantly, it really is an awesome product.
Just one question, is there anyway to get the board to play a sound file and then stop playing that file when another is triggered? I've been through the various modes by changing the file names and I don't seem to be able to get this function. The files I have to play are quite long and it would be really good if the user could switch between them without having to wait for the initial file to finish playing.

Thanks for any help with this

Cheers
Dicky

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Soundboard Operation

Post by adafruit_support_rick »

Nope - it won't do that.

User avatar
Funman1
 
Posts: 376
Joined: Fri Nov 28, 2014 2:13 am

Re: Soundboard Operation

Post by Funman1 »

If you got a micro-controller into the mix then, YES you could do that.
You could program the controller to hold a sound pin low until it detects a button press then send that pin high, and pull a different sound pin low.
If you configured the sound file so it was only played when the pin was held low that would work perfectly.
:)
Depending on how many buttons and sounds you want, a pro trinket may work awesome and will keep the project on the cheap side.

User avatar
dicky
 
Posts: 14
Joined: Mon Feb 16, 2015 7:04 pm

Re: Soundboard Operation

Post by dicky »

That's awesome, thanks for that, I'll definitely look into it

Cheers
Dicky

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

Return to “Microcontrollers”