Raspberry Pi image install: Picroft_Buster-Keaton_2020-01-10.zip
Mycroft responds on the command line to the microphone, so that works OK. I can run mpg123 with a radio stream, no problem. No sound from Mycroft. To be sure, I ran:
pactl list short sinks
and from that list I ran:
pactl set-default-sink 0
(0 being the appropriate USB sound card option). mpg123 still working. Tried a reboot, still not a peep from Mycroft, no ding, no nothing.
Out of curiosity, does it respond when you ask the time, specifically? I’m having some trouble with TTS, but I’ve only just started troubleshooting. Don’t even know if it’s at my end yet.
You mentioned this is a USB sound card and mpg123 is working from the commandline. I would try setting the play commands in your Mycroft configuration:
ChanceNCounter: Not tried the time as yet, but it responds in text to the weather but no sound
gez-mycroft: Thanks for the advice. I followed the link. I have got a bit further. I did the ‘audiotest’. It recorded to /tmp/test.wav. I played it back using ‘aplay’. The volume was very low compared to running mpg123. So I upped the pulse audio volume to 500% and then the volume was about the same. Mycroft doesn’t play back the audio in the audiotest. So, now I am thinking that Mycroft has the wrong sound device set. It certainly isn’t using the default pulse audio device.
gez-mycroft: I looked at that and, the suggestion about missing out the arguments for aplay and mpg123 in the configuration was something I was about to try. Yes, that worked. I tried, unsuccessfully to find out exactly what -Dhw:0,0 meant. I’m guessing that one of the zeros refers to the reference of the device, 0 in my case being correct. However, if the other zero is volume then that would explain why nothing is heard. Anyway, all working now thanks. Now the experimentation starts!