Due to high demand, expect some shipping delays at this time - orders may not ship for up to 2-3 business days.
0

Adafruit Audio FX Sound Board AutoPlay at Startup
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Adafruit Audio FX Sound Board AutoPlay at Startup

by geeksmithing on Wed Jan 12, 2022 10:26 pm

Hello! I have the Adafruit Audio FX Sound Board (16MB) with the built in 2x2W Amp.n I am trying to get the board to play a random file automatically when powered up. I followed the schematic at the following link [https://forums.adafruit.com/viewtopic.php?f=22&t=94261] and it mostly works.

It will only play the first of the sequentially named RAND files. [T00RAND0.ogg which go to T00RAND03.ogg] If I attempt to trigger the board normally, without the specialty circuit, it randomizes the files perfectly. Anytime I wire it back up to the linked circuit, it will only play the first file.

I also noticed that if I hold the triggering button down when powering up the board, it does the same thing, not randomizing... Is it not allowing the board logic to fully load before triggering the first in the sequence?

What am I doing wrong here?

Thanks so much!!

geeksmithing
 
Posts: 4
Joined: Sat Mar 12, 2016 11:01 pm

Re: Adafruit Audio FX Sound Board AutoPlay at Startup

by dastels on Thu Jan 13, 2022 9:38 am

That circuit is overkill. All that's needed is a ~10uF capacitor between the trigger (+ side) and ground. The built-in pullup will take care of charging the capacitor.

As for the randomization (or lack thereof) issue, my thought is that it's a bug in the audioboard firmware.

Dave

dastels
 
Posts: 9758
Joined: Tue Oct 20, 2015 3:22 pm

Re: Adafruit Audio FX Sound Board AutoPlay at Startup

by geeksmithing on Thu Jan 13, 2022 1:11 pm

That does indeed make it autoplay when powered up. That's great! But yeah, the randomization part still doesn't work. Can I use a larger value capacitor, an inline resistor or anything else to further delay the trigger signal from making that connection to ground?

Thank you so much for the prompt reply btw, I appreciate it!

geeksmithing
 
Posts: 4
Joined: Sat Mar 12, 2016 11:01 pm

Re: Adafruit Audio FX Sound Board AutoPlay at Startup

by gwelfare on Tue Jan 18, 2022 1:52 pm

Sorry to hijack this post, but I have a similar question. I have the same soundboard, but it is the 2MB version. I am trying to have a sound clip play when my Micro Switch Zippy 3 terminal button is released. I thought I had it wired correctly, but no sound came out. I am assuming that I need a wire from the NC terminal and the Com Terminal. Where should those connect to the board? Also, do you need two speakers for the L and R output, or is only one ok?

Thanks,

Garrett

gwelfare
 
Posts: 1
Joined: Tue Jan 18, 2022 1:34 pm

Please be positive and constructive with your questions and comments.