Read the statement by Michael Teeuw here.
MMM-voice
-
@pepemujica ALSA lib pcm_hw.c:1693:(_snd_pcm_hw_open) Invalid value for card
Error opening audio device plughw:1 for capture: No such file or directory
FATAL: “continuous.c”, line 245: Failed to open audio device -
@strawberry-3.141 So how can I fin this?
-
@pepemujica
cat /proc/asound/cards
-
@strawberry-3.141 said in MMM-voice:
cat /proc/asound/cards
What should I do with this? Sorry for my bad linux usage
-
@pepemujica if this soundcard is your microphone then put
microphone: 0
in your config -
@strawberry-3.141 I’ve already tryed that, and got the same result:
First “Initialising”, after a few seconds “ERROR” and under the microphone “undefined”Error.log
debug.log
INFO: ngram_search_fwdtree.c(333): Created 28 root, 29 non-root channels, 5 single-phone words
INFO: ngram_search_fwdflat.c(157): fwdflat: min_ef_width = 4, max_sf_win = 25
INFO: continuous.c(307): pocketsphinx_continuous COMPILED ON: Mar 29 2017, AT: 15:15:03Error opening audio device plughw:0 for capture: Device or resource busy
FATAL: “continuous.c”, line 245: Failed to open audio device -
@pepemujica the pi is nit able to use your microphone, can you test it with another one?
-
@strawberry-3.141 Actually, I’ve tried whith an “Online Mic Tester” and could record and listen my voice, so I asume it is able to use the microphone.
Could you recommend me something else?
-
@pepemujica you could try to record on the pi https://stackoverflow.com/questions/28054731/capture-record-audio-input-in-raspberrypi
-
@strawberry-3.141 I can record with the mic when I use arecord -f cd -D plughw:0 -d 10 a.wav and after I can listen