thank you for making this cool project! For a couple of days now, I have been trying to get PiCroft to work. The Setup is:
Raspberry Pi 3B
ReSpeaker 4 Mic Array
Adafruit USB Loudspeaker
The Recording part works, MyCroft is understanding me and sending the right answers. But I can not hear anything. I read all the forum posts and the Audio Troubleshooting Guide by Mycroft. The USB Speaker is default in Audiopulse and I am able to get an audio output using the commands for playback from the mycroft.config file, but the program itself does not give any outputs. Do you have any more ideas what the problem could be?
This is the relevant part from the config file, as you can see I already tried using aplay for audio output which also did not work.
// Mechanism used to play WAV audio files
// Override: SYSTEM
“play_wav_cmdline”: “paplay %1 --stream-name=mycroft-voice”,
//“play_wav_cmdline”: “aplay -Dplughw:1,0 %1”,
// Mechanism used to play MP3 audio files
// Override: SYSTEM
“play_mp3_cmdline”: “mpg123 %1”,
//“play_mp3_cmdline”: “mpg123 -a plughw:1,0 %1”,
Thank you. I tried all the different options for the mycroft.conf. The commands themselves work when used in the shell, but mycroft is still quite calm…
It works! Cool! I removed the other devices, so that the USB Audio Device is Device 0 in alsa. I am not sure if that was the solution, but after running the setup wizard again and after correcting the mycroft.conf it now works.
To add a device to the setup options, you’d just need to add an extra option here:
PR’s always welcome!
We just released a new unstable version of Picroft that seems to be performing really well. Found some little bugs with the AIY setup but they should be ironed out soon. So if you aren’t using AIY, I’d suggest the unstable image, otherwise stick with the older stable image.