Adafruit FX Sound board delay when using HOLDL.wav

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
jonogunn
 
Posts: 20
Joined: Thu Sep 08, 2022 4:36 pm

Adafruit FX Sound board delay when using HOLDL.wav

Post by jonogunn »

Hi I am not sure if this is by design or not.

For my project I have two audio files T00.wav and T01.wav.

T00.wav is like a start up sound that transitions into T01.wav that is an idle hum sound that loops indefinitely.

I'm using a simple trigger method via Arduino and not any fancy serial connection type stuff.

I notice that when I name the files T00.wav/T01.wav the transitions and loops are seamless with no delay.

But when I name the files T00.wav/T01HOLDL.wav there is a noticeable gap in the audio during the transition and loops.

Is this a limitation of the device or is there something else going on?

User avatar
jonogunn
 
Posts: 20
Joined: Thu Sep 08, 2022 4:36 pm

Re: Adafruit FX Sound board delay when using HOLDL.wav

Post by jonogunn »

Sorry bumping the thread for one last try to see if anyone has any idea with my issue

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

Re: Adafruit FX Sound board delay when using HOLDL.wav

Post by adafruit_support_mike »

The delay isn't a design choice, but can happen when you change triggers. The firmware that detects triggers needs about 100us to identify a pin being held down.

You can try swapping the pins so the startup sound is on trigger pin 1, and the hold sound is on trigger pin 0. That way the firmware will see the hold sound on the first pin it tests after the startup track completes.

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

Return to “General Project help”