Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Alexa speaks but no sound #517

Closed
6 tasks
dev-danny opened this issue Feb 17, 2018 · 6 comments
Closed
6 tasks

Alexa speaks but no sound #517

dev-danny opened this issue Feb 17, 2018 · 6 comments

Comments

@dev-danny
Copy link

Briefly summarize your issue:

Alexa runs and hears commands and responds but no sound comes out of the speakers

Tell us about your environment:

Raspberry Pi 3 with Stretch
USB Sound Card for audio
USB webcam for microphone

What version of the AVS Device SDK are you using?

  <1.5>

Tell us what hardware you're using:

  • Desktop / Laptop
  • [ X] Raspberry Pi
  • Other - tell us more:

Tell us about your OS (Type & version):

  • Linux
  • MacOS
  • [X ] Raspbian Stretch
  • Raspbian Jessy
  • Other - tell us more:

My aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 2: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0

My arecord -l

**** List of CAPTURE Hardware Devices ****
card 0: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Camera [USB 2.0 PC Camera], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

My /etc/asound.conf file

pcm.dsnooper {
type dsnoop
ipc_key 816357492
ipc_key_add_uid 0
ipc_perm 0666
slave {
pcm "hw:1,0"
channels 1
}
}
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 8192
rate 44100
}
}
pcm.!default {
type asym
playback.pcm {
type plug
slave.pcm "dmixer"
}
capture.pcm {
type plug
slave.pcm "dsnooper"
}
}

@baddemiya
Copy link

Please run this command and post the output here.

1.nano ~/.asoundrc.
2.rec test.wav
3.aplay test.wav

@baddemiya
Copy link

Also try this change in asound.conf file.

pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:2,0"
period_time 0
period_size 1024
buffer_size 8192
rate 44100

@mavamazon
Copy link
Contributor

Hi!

Could you please provide log output from the SDK?
How can you tell that SDK is responding?

@yoelrc88
Copy link

Hi, something similar is happening to me, please see here in issue#500 the output.
Thanks :)

@a2ron
Copy link

a2ron commented Feb 24, 2018

I solved it! My response on Issue 500.

@kencecka
Copy link
Contributor

Hi @dev-danny,

Looks like you have several suggestions posted above. I'm going to close this issue, but please reopen if you are still having trouble with audio output.

Ken

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants