Hi,
I tried to install voicecontrol a long time but ( Piausuite, Simon-listen, Jasper ) there is no way to get it work.
The audio card itself is working means recording and playback is ok but if I try programms on top I get the
message that there is no audio card installed. I tried to change configuration files and deactivated the onboard
audio on Raspi 2 that only the Cirrus audio card will work. No success at all.
Here is my configuration
root@raspberrypi:/home/pi# uname -a
Linux raspberrypi 4.1.6-v7+ #1 SMP PREEMPT Sat Aug 22 14:14:56 CEST 2015 armv7l GNU/Linux
root@raspberrypi:/home/pi/voice_control# ls
pocketsphinx-0.8 sphinxbase-0.8
root@raspberrypi:/# aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: sndrpiwsp [snd_rpi_wsp], Gerät 0: WM5102 AiFi wm5102-aif1-0 []
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
asound.conf
pcm.!default {
type hw
card 0
}
ctl.!default {
type hw
card 0
}
root@raspberrypi:/home/pi/voice_control/pocketsphinx-0.8# pocketsphinx_continuous -samprate 16000/8000/48000
Failed to set PCM device to mono: Invalid argument
FATAL_ERROR: "continuous.c", line 246: Failed to open audio device
If I try it with external usb microphone and Speakers connected on Raspi 2 I get it working but I want to use the audio card from Cirrus.
Any idea why that happens?




