SOLVED Mic keeps smapping on and off
Been stuck on this issue and cant seem to resolve it with any of my searches. I have the connected USB mic working fine on all other applications and I can interact with it and all fine.
Although once I go into magic mirror it starts spamming on and off. In pulse I can see it popping up and away in 1 second intervals. I want to use a voice recognition module but I cant really diagnose the issues until I can get this working…
Any help would be appreciated.
@alyx ok so I have managed to solve this in a way that is stupidly easy and obvious…
Just start magic mirror in server mode and be sure to use in in the chrome browser (firefox didnt work)
The input is stable and seems to be working, now I just have to find working voice modules for my needs haha
@alyx what modules have you installed that want to use the mic?? MagicMirror does not use the mic itself
@sdetweil I have one called MMM-Hello-Mirror.
Although you have me thinking (im very new btw), I have 2 other modules installed but they arent called in the conf file. Would them being there still run? I thought not as they werent called in my conf, would I have to uninstall them with npm also?
To uninstall ive just deleted the directory in modules and removed the entry in my conf. Is that enough or will I have to uninstall via NPM? If this is the case then I’ll have to do a fresh NPM as I’ve deleted many in this way…
@alyx deleting a module is removing it’s folder
if you don’t reference it in config.js, then it’s effectively removed.
npm install finds libraries needed by the module.
but it u delete the module folder, those are removed too.
@sdetweil Ah ok thanks for confirming.
I actually did a fresh install on a fresh OS. Still experiencing the same issue. I only have the modules I know I need also.
Made sure power saving is off for the usb ports
Made the input im using default
configured my .asoundrc file
installed pulse GUI to view and make changes
The Module is MMM-Hello-Mirror, I went to the issues tab and it seems the dev has never really been active past the initial post…
Its weird how pulse is having that popping issue but in Mint ( my distro) the sound settings are saying nothing is recording…
@alyx it looks like hello mirror is using the browser mic connection to record audio.
all the other voice assistants drop down to recording audio outside the browser. I don’t know the reasons, long before my time
yes, you’ll see lots of modules no longer maintained. I’ve been here 4 years now and this is the 1st time I’ve heard of this module
@sdetweil yes thats it its comes up as chromium input, is there a way to change this? Its happening to all the voice assistants.
I assumed that would be the case with the modules, I’m kinda desperate on just getting the voice commands working although
@alyx that module depends on browser audio recording. it doesn’t have any mechanism to do it otherwise
@sdetweil ah ok, would there be a direction you can point me to? Ive been working on this for over a week now with no luck sadly.
@alyx what do you want to do with voice commands?