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?
Adafruit FX Sound board delay when using HOLDL.wav
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- jonogunn
- Posts: 20
- Joined: Thu Sep 08, 2022 4:36 pm
- jonogunn
- Posts: 20
- Joined: Thu Sep 08, 2022 4:36 pm
Re: Adafruit FX Sound board delay when using HOLDL.wav
Sorry bumping the thread for one last try to see if anyone has any idea with my issue
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Adafruit FX Sound board delay when using HOLDL.wav
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.
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.
Please be positive and constructive with your questions and comments.