Read the statement by Michael Teeuw here.
Microphone/MMM-voice Help
-
@strawberry-3-141 here is a snapshot of the directory. I do not see a debug.log file. Do you know why this could happen?
Thanks
-
@tnp0327 can you show me the mmm-voice part of your config js
-
@strawberry-3-141 I originally had it in the config section but moved it up below “position”. However, I am still not seeing a debug.log file. I rebooted and still nothing.
-
@tnp0327 it needs to be in the config section
-
@strawberry-3-141 thanks! I moved it to the config section.
I still do not see a debug.log file.
When I run MM, the MMM-voice area (bottom left) says Initialising… and underneath that it says undefined.
-
have u restarted the mirror a few times, without reboot?
the sound process does NOT get restarted…
get back to the commandline and do
ps -ef | grep pocket
and then kill that process so it can be restarted…
or reboot…
i created this little script for a prior mirror runtime that I use here too
#!/bin/bash ps -ef | grep pocket | grep -v "color=auto" | awk '{print $2}' | xargs sudo kill -9 ps -ef | grep node | grep -v "color=auto" | awk '{print $2}' | xargs sudo kill -9
-
@sdetweil I have restarted the MM process and rebooted the PI - still no debug.log file.
-
@tnp0327 can u minimize the mirror and look at the console log of the terminal window… maybe there is some other error…
minimize = alt-spacebar, n
-
@sdetweil @strawberry-3-141 so I did not find a debug file but was able to follow the instructions to look at the console log and the only message I am seeing regarding MMM-voice is:
Starting module: MMM-voice MMM-voice.js:82
MMM-voice is waiting for voice command registrations. MMM-voice.js:85 -
@tnp0327 before the modules is the startup of the node_helpers… if u can scroll back up the console window, you might find something else…
have u tested to make sure the mic is working? with the rec command?
rec somefile.wav
on the bottom of the console window should be a meter like bar that moves when u speak…
then you can control-z out of the rec command and then play somefile.wav to see how it sounds…