-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined Microphone Error #51
Comments
@spencerandhill thank you for the detailed description. On a first glance the config seems right. To get more details you can run the module as: {
module: 'MMM-voice',
position: 'bottom_bar',
config: {
debug: true,
microphone: 2,
keyword: 'MAGIC MIRROR',
timeout: 15
}
} This will generate a debug and error log in the module directory with more informations. |
@fewieden thanks for your fast response! I got the log and also some hints.
And later:
Unfortunately I have no idea, why it can't access the audio device. The full debug.log is attached here |
@spencerandhill resource busy usually was reported when a user had something else running that accessed the microphone. You could try to run pocketsphinx standalone first without the mirror.
This is how the module is running it. |
Hi @fewieden , I have a similar issue, it says Platform (Hardware/OS): RPI 4B 2GB My config error.log shows debug.log shows Appreciate any help with this! |
@soubhik-khan try this forum post https://forum.magicmirror.builders/post/35364 |
Hi @fewieden , I have the same problem. This is in my folder: The command: pocketsphinx_continous is not found Manfred from debug.log I copied this ERROR: I'm sure this file is existent. |
@maku1958 this sounds like something went wrong with the installation and he can't find the binary file. I suggest deleting the module directory and starting from scratch. With your debug.log file, this could be an older message. If you are sure the file exists it is usually a good idea to delete the log files again before the restart so you only see the still relevant entries. |
Thanks. I will start with a complete new installation. I need first a new SD card. --Diese Nachricht wurde von meinem Android Mobiltelefon mit GMX Mail gesendet.Am 21.01.22, 05:59 schrieb fewieden ***@***.***>:
@maku1958 this sounds like something went wrong with the installation and he can't find the binary file.
I suggest deleting the module directory and starting from scratch.
With your debug.log file, this could be an older message. If you are sure the file exists it is usually a good idea to delete the log files again before the restart so you only see the still relevant entries.
—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Platform (Hardware/OS):
Raspberry Pi 3 Model B Rev 1.2
Raspbian Stretch
Linux raspberrypi 5.4.51-v7+ #1333 SMP Mon Aug 10 16:45:19 BST 2020 armv7l GNU/Linux
Node version:
v10.23.3
MagicMirror version:
MagicMirror: v2.14.0
Module version:
1.0.2
Description of the issue:
After Installing a fresh Raspberry Pi with a fresh Magic Mirror and all the dependencies for this module, I cannot get it to work.
I configured only these modules:
alert, clock, MMM-voice
After starting the Magic Mirror and opening the URL, it only shows "ERROR" in the lower section. Find my config attached
config.js.txt
(I renamed the config to config.js.txt as I couldn't upload it as config.js)
My Audio Hardware
I'm using the "ReSpeaker 2-Mics Pi HAT" Module for Microphone. I installed everything from https://wiki.seeedstudio.com/ReSpeaker_2_Mics_Pi_HAT/ and I can successfully hear myself, when I try "arecord -f cd -Dhw:2 | aplay -Dhw:2"
The config also contains "microphone: 2".
I wasn't able to debug some information (because the Chrome Developer Tools didn't gave me any hint and I have no idea how to enable debugging for "npm run start" or "npm run server"
Any idea, what's going wrong here?
The text was updated successfully, but these errors were encountered: