Open ghost opened 9 years ago
Hi Steven , I have a little bit the same problem like highlite86. I have pluged in a soundcard too and it still not working.
aplay -l \ Liste der Hardware-Geräte (PLAYBACK) ** Karte 0: ALSA [bcm2835 ALSA], Gerät 0: bcm2835 ALSA [bcm2835 ALSA] Sub-Geräte: 8/8 Sub-Gerät #0: subdevice #0 Sub-Gerät #1: subdevice #1 Sub-Gerät #2: subdevice #2 Sub-Gerät #3: subdevice #3 Sub-Gerät #4: subdevice #4 Sub-Gerät #5: subdevice #5 Sub-Gerät #6: subdevice #6 Sub-Gerät #7: subdevice #7 Karte 0: ALSA [bcm2835 ALSA], Gerät 1: bcm2835 ALSA [bcm2835 IEC958/HDMI] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 Karte 1: Set [C-Media USB Headphone Set], Gerät 0: USB Audio [USB Audio] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 arecord -l \ Liste der Hardware-Geräte (CAPTURE) ** Karte 1: Set [C-Media USB Headphone Set], Gerät 0: USB Audio [USB Audio] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 Take and play a record works fine. I don't edit my config files to 0 because the card is card 1
/etc/modprobe.d/alsa-base.conf
Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=1 /etc/asound.conf cm.!default { type plug slave { pcm "hw:1,0" } } ctl.!default { type hw card 1 } voicommand -e
But it's still not working when i want to test the speech recognition. I hope you can help me.
Hi Steven , I have a little bit the same problem like highlite86. I have pluged in a soundcard too and it still not working.
aplay -l \ Liste der Hardware-Geräte (PLAYBACK) ** Karte 0: ALSA [bcm2835 ALSA], Gerät 0: bcm2835 ALSA [bcm2835 ALSA] Sub-Geräte: 8/8 Sub-Gerät #0: subdevice #0 Sub-Gerät #1: subdevice #1 Sub-Gerät #2: subdevice #2 Sub-Gerät #3: subdevice #3 Sub-Gerät #4: subdevice #4 Sub-Gerät #5: subdevice #5 Sub-Gerät #6: subdevice #6 Sub-Gerät #7: subdevice #7 Karte 0: ALSA [bcm2835 ALSA], Gerät 1: bcm2835 ALSA [bcm2835 IEC958/HDMI] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 Karte 1: Set [C-Media USB Headphone Set], Gerät 0: USB Audio [USB Audio] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 arecord -l \ Liste der Hardware-Geräte (CAPTURE) ** Karte 1: Set [C-Media USB Headphone Set], Gerät 0: USB Audio [USB Audio] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 Take and play a record works fine. I don't edit my config files to 0 because the card is card 1
/etc/modprobe.d/alsa-base.conf
Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=1 /etc/asound.conf cm.!default { type plug slave { pcm "hw:1,0" } } ctl.!default { type hw card 1 } voicommand -e
This is the default config file
These are the special options you can set (remove the #)
!verify==1
!keyword==pi
!thresh==0.7
!continuous==1
!response==Yes Sir?
!quiet==0
!ignore==0
!filler==0
!duration==2
!com_dur==3
!hardware==plughw:1,0
Here are the commands
But it's still not working when i want to test the speech recognition. I hope you can help me.