Read the statement by Michael Teeuw here.
Hello-Lucy Module Microphone not working
-
I don’t think it’s npm. Those are just warnings and won’t affect the module.
USB microphone will work but it does introduce some latency.
If you run
arecord test.wav
in a terminal window does it record a sound file?So, based on the info you gave me your config entry for the microphone should be
microphone: "2,0",
Please try that
Then post your entire Hello-Lucy config entry so I can see it
-
{ disabled: false, module: "Hello-Lucy", position: "top_center", config: { keyword: 'HELLO LUCY', // keyword to activate listening for a command/sentence timeout: 15, // timeout listening for a command/sentence standByMethod: 'DPMS', // 'DPMS' = anything else than RPi or 'PI' microphone: "2,0", // run "arecord -l" card # and device # mine is "0,0" sounds: ["1.mp3", "11.mp3"], // welcome sound at startup. Add several for a random greetings confirmationSound: "ding.mp3", // name and extension of sound file startHideAll: false, // All modules start as hidden EXCEPT PAGE ONE // *** Page One is your default startup page *** This overrides startHideAll: true, pageOneModules: ["Hello-Lucy", ], // default modules to show on page one/startup pageTwoModules: ["Hello-Lucy",], // modules to show on page two pageThreeModules: ["Hello-Lucy",], // modules to show on page three pageFourModules: ["Hello-Lucy", ], // modules to show on page four pageFiveModules: ["Hello-Lucy", ], // modules to show on page five pageSixModules: ["Hello-Lucy", ], // modules to show on page six pageSevenModules: ["Hello-Lucy", ], // modules to show on page seven pageEightModules: ["Hello-Lucy", ], // modules to show on page eight pageNineModules: ["Hello-Lucy", ], // modules to show on page nine pageTenModules: ["Hello-Lucy", ] // modules to show on page ten } },
I don’t know what else I can do.
-
You tried to run it? What was the result?
If you run
arecord test.wav
in a terminal window does it record a sound file? -
Your config entry is fine. I just tried it with my microphone setting and it works fine
-
Yes I tried it to run, but lucy say only “Hello Michael, what would you like to see” and on the top of the Mirror is a crossed-out green flashing microphone and “Command Please:”.
-
OK, the module is loading. That’s good.
If you run
arecord test.wav
in a terminal window does it record a sound file? -
@Mykle1 said in Hello-Lucy Module Microphone not working:
arecord test.wav
No it doesn’t work , there is yet the error “arecord: main:828:…”. I just noticed that my USB micro is now suddenly displayed as card 1. I change yet my /.asoundrc file again. Do I have to download the module again?
Thank you for you fast replays.
-
arecord test.wav
MUST work for Lucy to work.If you can get that to work then run
arecord -l
again to get your card and device numbers,Then enter those in the microphone config entry and run MM again
-
You do NOT have to download the module again
-
It’s still the same as earlier. At the top is still the crossed-out green flashing microphone.