OK, I’ve figured out how to get audio to work properly:
First I edited /etc/mycroft/mycroft.conf:
"play_wav_cmdline": "aplay -Dhw:1 %1",
"play_mp3_cmdline": "mpg123 -a hw:1 %1",
"enclosure": {
"platform": "picroft"
},
"tts": {
"mimic": {
"path": "/home/pi/mycroft-core/mimic/bin/mimic"
}
},
"ipc_path": "/ramdisk/mycroft/ipc/"
For some reason thing fixed the “sing me a song” skill, but not regular talking. Then I followed the instructions from the ALSA Project here to add these lines to /etc/asound.conf
set my default sound card:
defaults.pcm.card 1
defaults.ctl.card 1
That has fixed my audio output by setting the default soundcard system-wide, which is fine for my purposes, but I wonder if there’s a way to set it just for Mycroft?
I am still having the issue where I need to run mycroft-mic-test
before the Picroft starts listening for my voice.