My Picroft doesn’t recognize the wake word on startup, nor after restarting the mycroft-cli-client. Audio outputs over HDMI if I type in a command (“what time is it”). However, if I run mycroft-mic-test, I can hear the test noise fine, and relaunching mycroft-cli-client I can now see the mic level meter, and it responds correctly to the wake word.
Installation details:
I was unable to connect my Picroft (3B+) to the internet from the picroft image (the enclosure-picroft one linked on github - sorry, new users can’t post many links) (I tried from mycroft-setup-wizard, in hindsight I should have tried raspi-config as well), so I followed the instructions and used the lastest raspbian lite stretch and update.sh as described here. I am using a seeed 2-mic respeaker pihat and installed the drivers as per here.
- Any idea what the mic-test is doing?
- I actually want audio output via the respeaker card too - how can I change that?
- The update.sh script didn’t appear to install pulseaudio. Should it have?
Thanks for any help!
System info:
Audio.log ERRORs {no errors in the other logs):
09:22:32.485 - mplayer__init__:<module>:20 - ERROR - install py_mplayer with pip install git+https://github.com/JarbasAl/py_mplayer
09:22:32.490 - mycroft.audio.audioservice:load_services:108 - ERROR - Failed to import module mplayer
09:22:32.638 - mycroft.audio.audioservice:load_services:123 - ERROR - Failed to load service. NameError("no function 'libvlc_new'",)
09:27:21.497 - mplayer__init__:<module>:20 - ERROR - install py_mplayer with pip install git+https://github.com/JarbasAl/py_mplayer
09:27:21.502 - mycroft.audio.audioservice:load_services:108 - ERROR - Failed to import module mplayer
09:27:21.798 - mycroft.audio.audioservice:load_services:123 - ERROR - Failed to load service. NameError("no function 'libvlc_new'",)
Config:
pi@picroft:~ $ cat /etc/mycroft/mycroft.conf
{
"play_wav_cmdline": "aplay -Dhw:0,0 %1",
"play_mp3_cmdline": "mpg123 -a hw:0,0 %1",
"enclosure": {
"platform": "picroft"
},
"tts": {
"mimic": {
"path": "/home/pi/mycroft-core/mimic/bin/mimic"
}
},
"ipc_path": "/ramdisk/mycroft/ipc/"
}
pi@picroft:~ $ cat .mycroft/mycroft.conf
{ "max_allowed_core_version": 18.8 }
Audio card:
pi@picroft:~ $ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default
playback
capture
dmixed
array
sysdefault:CARD=ALSA
bcm2835 ALSA, bcm2835 ALSA
Default Audio Device
dmix:CARD=ALSA,DEV=0
bcm2835 ALSA, bcm2835 ALSA
Direct sample mixing device
dmix:CARD=ALSA,DEV=1
bcm2835 ALSA, bcm2835 IEC958/HDMI
Direct sample mixing device
dsnoop:CARD=ALSA,DEV=0
bcm2835 ALSA, bcm2835 ALSA
Direct sample snooping device
dsnoop:CARD=ALSA,DEV=1
bcm2835 ALSA, bcm2835 IEC958/HDMI
Direct sample snooping device
hw:CARD=ALSA,DEV=0
bcm2835 ALSA, bcm2835 ALSA
Direct hardware device without any conversions
hw:CARD=ALSA,DEV=1
bcm2835 ALSA, bcm2835 IEC958/HDMI
Direct hardware device without any conversions
plughw:CARD=ALSA,DEV=0
bcm2835 ALSA, bcm2835 ALSA
Hardware device with all software conversions
plughw:CARD=ALSA,DEV=1
bcm2835 ALSA, bcm2835 IEC958/HDMI
Hardware device with all software conversions
sysdefault:CARD=seeed2micvoicec
seeed-2mic-voicecard,
Default Audio Device
dmix:CARD=seeed2micvoicec,DEV=0
seeed-2mic-voicecard,
Direct sample mixing device
dsnoop:CARD=seeed2micvoicec,DEV=0
seeed-2mic-voicecard,
Direct sample snooping device
hw:CARD=seeed2micvoicec,DEV=0
seeed-2mic-voicecard,
Direct hardware device without any conversions
plughw:CARD=seeed2micvoicec,DEV=0
seeed-2mic-voicecard,
Hardware device with all software conversions