fewieden / MMM-voice

Offline Voice Recognition Module for MagicMirror²

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Microphone Error

Rapsoulis opened this issue · comments

Platform (Hardware/OS): Raspberry Pi 3 B (rev1.2) / Bullseye (11)

Node version: v16.20.0

MagicMirror version: 2.23.0

Module version: 1.0.2

Description of the issue: I cannot get the microphone to work. Neither an analog one nor from the camera.
What am I missing?

My devices from /proc/asound/cards
rpi@rpi:~/MagicMirror $ cat /proc/asound/cards 0 [Headphones ]: bcm2835_headpho - bcm2835 Headphones bcm2835 Headphones 1 [HD3000 ]: USB-Audio - Microsoft® LifeCam HD-3000 Microsoft Microsoft® LifeCam HD-3000 at usb-3f980000.usb-1.3, high speed 2 [vc4hdmi ]: vc4-hdmi - vc4-hdmi vc4-hdmi

The error log from the /modules/MMM-voice/error.log
rpi@rpi:~/MagicMirror $ cat modules/MMM-voice/error.log Error: spawn pocketsphinx_continuous ENOENT -2 Error: spawn pocketsphinx_continuous ENOENT -2 Error: spawn pocketsphinx_continuous ENOENT -2 Error: spawn pocketsphinx_continuous ENOENT -2 Error: spawn pocketsphinx_continuous ENOENT -2 Error: spawn pocketsphinx_continuous ENOENT -2 Error: spawn pocketsphinx_continuous ENOENT -2 Error: spawn pocketsphinx_continuous ENOENT -2 Error: spawn pocketsphinx_continuous ENOENT -2 Error: spawn pocketsphinx_continuous ENOENT -2

I have tested the microphone with arecord and playback with asound, and they both work properly.
I also tried the solution provided regarding the ldconfig , which plenty of other people had.

Please let me know how and if I can provide you with any additional log files.
Thank you.

@Rapsoulis according to the error Error: spawn pocketsphinx_continuous ENOENT -2 I would expect that something failed in the installation of your dependencies and not the microphone itself.