Read the statement by Michael Teeuw here.
MMM-voice
-
No, now I get this:

-
@daenick looks like you executed the installer with sudo
-
@strawberry-3.141 can try again without restart everything?
By the way, you are so friendly. Thanks!
-
@daenick remove the node_modules folder in
MagicMirror/modules/MMM-voicefirst and go into/root/pocketsphinxand executesudo make uninstallsame in/root/sphinxbasethen rerun the installer -
@strawberry-3.141 I ran the bash without the sudo. Finish ok
-
@strawberry-3.141 Hello Again,
Finnaly I got the MMM-voice installed, but how can I set the micro as default? Sometimes the micro can “hear me” but mostly of time no
There´s some kind of special configuration with the micro?
Thanks!
-
@strawberry-3-141
I get this error (or is it?) when starting MagicMirror.MMM-voice: Starting pocketsphinx.
(node:1844) DeprecationWarning: Calling an asynchronous function without callback is deprecated.
(node:1844) DeprecationWarning: Calling an asynchronous function without callback is deprecated.
(node:1844) DeprecationWarning: Calling an asynchronous function without callback is deprecated.
(node:1844) DeprecationWarning: Calling an asynchronous function without callback is deprecated.
(node:1844) DeprecationWarning: Calling an asynchronous function without callback is deprecated.The microphone icon appears and after it it states “ERROR”, within MagicMirror.
Thanks!
-
@daenick can you give more details about the issue? the only thing that is configurable is the mic the module should use like
microphone: 0ormicrophone: 1…@Advokaten what is inside the error.log, if you only can see numbers in there please enable
debug: truein the config and share the debug.log -
error.logsays11111111debug.login/home/pi/MagicMirror/modules/MMM-voice? There’s a ton ofINFO:lines and at the bottom it says
Error opening audio device plughw:1 for capture: Connection refused
FATAL: "continuous.c", line 245: Failed to open audio deviceIt works fine with Alexa.
EDIT: When I added
debug: trueto the config file. When MagicMirror is up, it says “ERROR undefined” rather than just “ERROR”, like it did before. -
@Advokaten did you choose the correct audio device id?
-
@strawberry-3.141 when installing it said my mic was
1so that’s what I have in my config. I tried doingmicrophone: 0but that didn’t work either. -
@Advokaten can you check out this? http://cmusphinx.sourceforge.net/wiki/faq#qfailed_to_open_audio_device_dev_dspno_such_file_or_directory and troubleshoot section here http://robot.laylamah.com/?p=35
-
@strawberry-3.141 The voice recognition works extremely slow. There’s a way to use Spanish as default language for voice commands?
Maybe using Google voice API?
Thanks
-
@daenick please read this https://github.com/fewieden/MMM-voice#information if you want to use faster detection you have to use a different module as this one will never support online services like google, apple, amazon, etc.
there are some custom language models for other languages https://sourceforge.net/projects/cmusphinx/files/Acoustic and Language Models/
-
@strawberry-3.141 I’m lost. Still can’t figure out what’s wrong. :(
-
@Advokaten did you try what the second link suggested?
-
@strawberry-3.141 Yes, sir! The ERROR text is gone. Now it’s displaying “Initialising…” and the mic icon has a slash through it and is blinking infinitely. I bet I’m doing a rookie mistake somewhere.
-
@Advokaten never had this happened before neither did someone report this issue. I would need to see it myself in order to debug it.
-
@strawberry-3.141 I tried reinstalling it with
bash dependencies.shand it’s back to “ERROR”. Derp.Looking at error.log in the MMM-voice folder I can find:
Error opening audio device plughw:1,0 for capture: Connection refused
FATAL: "continuous.c", line 245: Failed to open audio deviceSomebody gave a suggestion on running:
pocketsphinx_continuous -inmic yes -adcdev plughw:1,0That too gave me:
Error opening audio device plughw:1,0 for capture: Connection refused
FATAL: "continuous.c", line 245: Failed to open audio deviceI haven’t attached anything to my RPi except for an USB microphone.
-
@Advokaten did. you disable pulseaudio like in the Link?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login