Read the statement by Michael Teeuw here.
Microphone/MMM-voice Help
-
@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… -
OMW to work now - will run it again later and update with my feedback. Thanks for the help so far.
-
@tnp0327 I am going through same thing,it displays mic flashing symbol and just says initialising and undefined at bottom(if degug:true).Did you resolve it?please let me how to make it work?
Thanks -
@abhilash1368 do you have content in your debug log file?
-
@strawberry-3-141 I don’t see any content,but its working now.Initially I have my own custom twitter module loaded along with MMM-voice(my twitter.js is not modified yet to support MMM-voice). Once after making changes to my twitter.js according to “Hey Lucy” documentation to receive voice notifications,then it is started working. Thanks
-
@strawberry-3-141 Ok so i have a very similar situation i have AlexaPi (and MMM-AlexaPi for visual feedback) and want to use MMM-voice and Hello-Lucy. I have 2 USB microphones (a webcam that i talk to AlexaPI and a USB sound card that i want to use for MMM-voice)
On the config.js i have assigned microphone id of 2 for MMM-voice ( arecord -l and the install of MMM-voice show that alsa as 0 USB webcam as card 1 and USB sound card as card 2)
when i start magic mirror MMM-voice says “initializing” than briefly “Waiting for module commands” than settles on “error”
My questions are:- and i am pretty sure i have an answer for this is that AlexaPi and MMM-voice can they use the same mic or not … most likely not .
- why isn’t using microphone #2 straight forward do i have to twitch anything on alsa config, etc will pulse audio be better and what is the difference ?? how do we mitigate this problem??
I have tested and confirmed that both usb microphones work when they are plugged each by themselves but not when they are both simultaneously plugged in only the webcam would record … i am not sure if i am putting the right parameter here “arecord hw:1,0 -d 10 /tmp/test-mic.wav”
Please any help will be greatly appreciated
Denis -
I too am trying to get Hello-Lucy/Voice to work with my usb soundcard and microphone. I can record outside of MagicMirror so that works but I have the same problem:
“displays mic flashing symbol and just says initialising and undefined at bottom”
I have tried following the documentation but still no luck
Anyone get Hello-Lucy to work?
-
@TheGeekfather use arecord -l and lsusb to find the hw: device id needed…
-
@TheGeekfather
@sdetweil
@cowboysdudeMy apologies, gentlemen. There is a problem with the mic upon install that seems to be specific to the Pi. @cowboysdude did an install late last night and he encountered the same issue, so forgive me. I am looking at it right now and will not sleep until it is resolved. Not!
Seriously, it will be fixed ASAP.
Thank you for your patience and interest.
-
AWESOME - it is such a great module and to get the mic working would be great !!!