Read the statement by Michael Teeuw here.
MMM-voice setup but MagicMirror wont display
-
I have my mic plugged into a USB sound card on my pi. Is that ok, or should I plug it directly into the audio of the pi? My mic is not a USB connection.
-
Run this from terminal
cat /proc/asound/cards
and see if your microphone is listed as : 1
-
@cyberphox said in MMM-voice setup but MagicMirror wont display:
cat /proc/asound/cards
this is the response:
pi@raspberrypi:~ $ cat /proc/asound/cards
0 [ALSA ]: bcm2835_alsa - bcm2835 ALSA
bcm2835 ALSA
pi@raspberrypi:~ $ -
@cyberphox said in MMM-voice setup but MagicMirror wont display:
cat /proc/asound/cards
the one above I took the USB sound card out and plugged the mic directly to the pi.
this one I did your command again with the sound card in the USB slot and mic connected to USB sound card:
pi@raspberrypi:~ $ cat /proc/asound/cards
0 [ALSA ]: bcm2835_alsa - bcm2835 ALSA
bcm2835 ALSA
1 [Device ]: USB-Audio - USB Audio Device
GeneralPlus USB Audio Device at usb-3f980000.usb-1.3, full speed -
I have gone onto the pi itself and chossen the usb as an audio device with clicking microphone and microphone capture… but still shows the “error” in MM display.
-
and you ran the dependencies script from the installers folder?
-
mine was error cause i accidentally cloned into MMM-Voice…capital V and it didnt create the dic file…
maybe try running npm start dev and see what errors you have in the console -
@cyberphox yes, that I def did -was super careful with that.
-
@cyberphox heres what I get with the npm start dev…not sure I am doing this in the right dir. I checked the Capital V or v, and mine is def lowercase v
pi@raspberrypi:~/MagicMirror/modules/MMM-voice $ npm start dev
npm ERR! missing script: startnpm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2018-04-07T15_24_32_070Z-debug.log -
pi@raspberrypi:~/MagicMirror $ npm start dev
magicmirror@2.3.1 start /home/pi/MagicMirror
sh run-start.sh “dev”Starting MagicMirror: v2.3.1
Loading config …
Loading module helpers …
No helper found for module: alert.
Initializing new module helper …
Module helper loaded: updatenotification
No helper found for module: clock.
Initializing new module helper …
Module helper loaded: MMM-EARTH
No helper found for module: compliments.
No helper found for module: currentweather.
No helper found for module: weatherforecast.
No helper found for module: MMM-CountDown.
Initializing new module helper …
Module helper loaded: MMM-voice
No helper found for module: MMM-QRCode.
Initializing new module helper …
Module helper loaded: newsfeed
All module helpers loaded.
Starting server on port 8080 …
Server started …
Connecting socket for: updatenotification
Connecting socket for: MMM-EARTH
Starting module: MMM-EARTH
Connecting socket for: MMM-voice
Starting module helper: MMM-voice
Connecting socket for: newsfeed
Starting module: newsfeed
Sockets connected & modules started …
Launching application.
https://epic.gsfc.nasa.gov/api/natural
Create new news fetcher for url: http://ewn.co.za/RSS Feeds/Latest News - Interval: 300000
MMM-voice: Checking files.
MMM-voice: Starting pocketsphinx.
Shutting down server…
Stopping module helper: updatenotification
Stopping module helper: MMM-EARTH
Stopping module helper: MMM-voice
Stopping module helper: newsfeed