question

newuser-5172236b-9374-44be-9e87-4d354155e31a avatar image

Audio Setup not working on Raspberry Pi 3 - Alexa

I setup the AVS SDK from Github and Alexa works all fine. The only issue is that the output sound is being routed through my HDMI and not through the 3.5mm jack. I did the quick install, and I have tried various methods to force the 3.5 MM. None work (sudo raspi-confi, right click on volume etc). Please help. Also, there is a lot of lag/delay and drop offs while ALexa responds via HDMI

alexa voice service
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

newuser-9fc43039-6c19-44d2-bfba-6704b546767b avatar image
newuser-9fc43039-6c19-44d2-bfba-6704b546767b answered

Hope sb will reply. Have the same problem here

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

kcecka@amazon avatar image
kcecka@amazon answered

Hi @NewUser-5172236b-9374-44be-9e87-4d354155e31a,

Sorry for the delayed response. As you've noted, this is an issue with where alsa is routing the audio by default. I've usually been able to resolve it by right-clicking on the volume control to change the ouput, but it sounds like that is not working for. This issue has been discussed in some length in the github forum at this link:

https://github.com/alexa/avs-device-sdk/issues/500

In particular, there are some suggestions on how to write your .asoundrc, as well as a code modification in MediaPlayer.cpp. Please let us know if either of these resolve the issue for you.

Ken

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

alexafan avatar image
alexafan answered

I also faced the same problem and tried forcing the audio output to 3.5mm jack using raspberry pi Desktop interface as well as using sudo raspi-config but nothing worked.

Then I reformatted the SD card and tried again with all default settings.

Main thing to remember is that while installing the alexa-avs package from github using automated_install.sh file, it ask for the audio output device like below:

I selected 3.5mm jack here and finally it worked. Followed this Raspberry pi alexa tutorial


10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.