0

AudioFX Soundboard not responding to serial command sfx.stop
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

AudioFX Soundboard not responding to serial command sfx.stop

by bakazm on Wed May 08, 2019 2:19 pm

I connected an Audio FX 16MB board to an Arduino Nano. To test it I loaded up the demo sketch from your tutorial. It successfully loads and will list and play the .ogg files that I copied to it. However, whenever I do the STOP or PAUSE command, it says "Failed to stop / pause". Do I have a bad board?

bakazm
 
Posts: 4
Joined: Wed May 08, 2019 2:00 pm

Re: AudioFX Soundboard not responding to serial command sfx.

by adafruit_support_carter on Wed May 08, 2019 2:26 pm


adafruit_support_carter
 
Posts: 13216
Joined: Tue Nov 29, 2016 2:45 pm

Re: AudioFX Soundboard not responding to serial command sfx.

by bakazm on Wed May 08, 2019 2:29 pm

Yep. I have it connected as as instructed as well. I figure the connections are correct if it is successfully playing the sounds.

bakazm
 
Posts: 4
Joined: Wed May 08, 2019 2:00 pm

Re: AudioFX Soundboard not responding to serial command sfx.

by adafruit_support_carter on Wed May 08, 2019 2:35 pm

Does seem like the connections are OK since you're talking to it with other commands. But can you post a photo of your setup just so we can check for anything obvious.

For STOP and PAUSE you are just selecting "q" and "=" from the menu? And it sounds like "L" to list work as well as the play commands?

Are you trying STOP/PAUSE while something is actually playing?

adafruit_support_carter
 
Posts: 13216
Joined: Tue Nov 29, 2016 2:45 pm

Re: AudioFX Soundboard not responding to serial command sfx.

by bakazm on Wed May 08, 2019 2:44 pm

I can post a pic tonight. Yes, those are the command thats I am using. The response is either "Failed to stop" or "Failed to pause". Yes, I am doing the command while a file is playing. It is a 15 minute long .ogg file.

Basically I was trying some different code and I was having the problem ("failed to stop"). So I loaded up the demo sketch and encountered the same problem.

bakazm
 
Posts: 4
Joined: Wed May 08, 2019 2:00 pm

Re: AudioFX Soundboard not responding to serial command sfx.

by adafruit_support_carter on Wed May 08, 2019 2:47 pm

And it also did not actually STOP/PAUSE?

adafruit_support_carter
 
Posts: 13216
Joined: Tue Nov 29, 2016 2:45 pm

Re: AudioFX Soundboard not responding to serial command sfx.

by bakazm on Wed May 08, 2019 3:47 pm

After issuing the stop or pause command the file continued to play. I was also unable to play a new file while it was playing.

bakazm
 
Posts: 4
Joined: Wed May 08, 2019 2:00 pm

Re: AudioFX Soundboard not responding to serial command sfx.

by adafruit_support_carter on Wed May 08, 2019 6:15 pm

I think the volume not working is somewhat expected. Note that the commands are in two groups - IDLE and PLAY. Some only work when IDLE, some when PLAY:
https://learn.adafruit.com/adafruit-aud ... mands-8-15
The volume settings are an IDLE one, so won't work during PLAY. Trying to play another track is also an IDLE command.

But Pause and Stop are PLAY commands, so should have worked once the track was playing.
https://learn.adafruit.com/adafruit-aud ... mands-8-26

As another sanity check - does the "Current playback time" command work while it is playing?
https://learn.adafruit.com/adafruit-aud ... -time-8-31

adafruit_support_carter
 
Posts: 13216
Joined: Tue Nov 29, 2016 2:45 pm

Please be positive and constructive with your questions and comments.


cron