Picroft: No audio using USB audio card

picroft worked fine until I switched to a USB audio card.

I’m able to hear the beep after saying “hey mycroft, what time is it” and I see the answer on the monitor but there’s no spoken response.

I think audio is set up correctly on the pi because I hear ‘front left’ etc when I issue
speaker-test -t wav -c 2 -D hw:0

This is my asoundrc.

pcm.!default {
type hw card 0
ctl.!default {
type hw card 0

cat /proc/asound/cards:
pi@picroft:~ $ cat /proc/asound/cards
0 [Device ]: USB-Audio - USB Audio Device
C-Media Electronics Inc. USB Audio Device at usb-3f980000.usb-1.5, full speed
1 [ALSA ]: bcm2835 - bcm2835 ALSA
bcm2835 ALSA

pi@picroft:~ $ cat /proc/asound/card0/pcm0c/info
card: 0
device: 0
subdevice: 0
stream: CAPTURE
id: USB Audio
name: USB Audio
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 0

Can someone help?

Try “pactl info”. Then you can adjust things with “pactl set-default-sink 1” (for output) or “pactl set-default-source 1” (for nput), the 1 being the relevant input or output.
Might have to restart to get it to take effect.

1 Like

Thanks a lot!

With “pactl list xxx” and “pactl set-default-xxx” picorft works finally at my RPi 3 :smiley: