Read the statement by Michael Teeuw here.
MMM-voice
-
@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-voice
first and go into/root/pocketsphinx
and executesudo make uninstall
same in/root/sphinxbase
then 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: 0
ormicrophone: 1
…@Advokaten what is inside the error.log, if you only can see numbers in there please enable
debug: true
in the config and share the debug.log -
error.log
says11111111
debug.log
in/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 device
It works fine with Alexa.
EDIT: When I added
debug: true
to 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
1
so that’s what I have in my config. I tried doingmicrophone: 0
but that didn’t work either.