Playback doesn't work

Hi!
I managed to get Rhasspy to work in an docker container on a Synology NAS. The recording works (Rhasspy) recognizes the sentences…

But I have problems with the playback. I tested the output with a separate Ubuntu (and there with “aplay filename.wav”, then I hear the sound on my remote computer). But when I try to TTS on Rhasspy I get an

AudioServerException: Command ‘[‘aplay’, ‘-q’, ‘-t’, ‘wav’]’ returned non-zero exit status 1.

What could be the problem?

Thanks in advance!
Christoph

I ssh’d into docker, installed pulseaudio with

apt install pulseaudio-utils

Then, parecord and paplay worked. Then I set up “local (command)” with programm “paplay”. Then the audio worked…

1 Like