-
Notifications
You must be signed in to change notification settings - Fork 605
When AVS Sample app is playing music, it can't answer your question by using Headset. #575
Comments
I encountered this issue too... I simply said "Alexa, stop" and then I could say what I want: e.g. "Alexa, what's the time"... |
Hi @wangxiaohu2016, This may be related to the problem we've seen in #447. Would you mind applying the solution suggested in that issue and see if it fixes your problem? If the #447 solution doesn't fix your problem, can you please run the sample app with DEBUG9 and attach the logs in to this issue? Can you also please add the content of your ~/.asoundrc? Question, can you barge in while Alexa is playing your flash briefings? Thanks |
Hi @celinval :
pi@raspberrypi:~/build $ arecord -l pi@raspberrypi:~/build $ aplay -l
|
Thank you @wangxiaohu2016. I was able to reproduce the issue using similar configuration to yours. I managed to fix the problem by replacing the playback device to dmix:1,0. My ~/.asoundrc looks like:
Can you please try that? |
Awesome! Works for me (at least)! Thank you 👍 |
Hi @celinval : |
I am happy to hear that adding dmix fixes the problem. Thanks! |
I have the same issue I have figured out how to use the RPi AVS with USB conference sound bar. I can ask Alexa and she replies. I can ask her to play I heat radio and she does. But when playing the music and asking a question she stops the music but no verbal answer. I can see in the console that Alexa may be giving the answer but I do not hear it. I tell her to stop and I heart radio stops. I can then ask and will hear her answer. I tried the solution above with no success. Any additional info is greatly appreciated! |
I figured this out. With the version of AVS for 4/4/2019 the file pi.sh needed to be edited with the information above before compiling the project. |
Hi AMAZON guy:
I got one issue:
Prepare:
1. Rapberry Pi3 .
2. AVS SDK 1.6.0.
3. I used USB Headset as microphone input devices and playback device.
Install:
1. Install AVS SDK by using https://github.com/alexa/avs-device-sdk/wiki/Raspberry-Pi-Quick-Start-Guide-with-Script.
2. Connect my USB Headset to Raspberry.
3. Set ~/.asoundrc, let audio system to use the USB Headset as record and playback device.
Testing:
1. Let Alexa play music(Alexa, play music by iHeartRadio).
2. While it is playing music, I tried to ask alexa question.(Alexa, what't the time now),
I can't get any response of my question, but get the error log:
AL lib: (EE) ALCplaybackAlsa_open: Could not open playback device 'default': Device or resource busy.
My Question:
Is there something need me to change in audio system config file(Eg. ALSA, Openal, Pluseaudio or Portaudio) to let my Headset work well with AVS SDK?
The text was updated successfully, but these errors were encountered: