Closed RidaAyed closed 4 years ago
No rhasspy issue. Apparently my raspi/hdmi/soundsystem cuts off the first two seconds from any sound played. Found the cause by testing with these lines
# Get rhasspyContainerID
docker ps
# Enter rhasspy container
docker exec -it <rhasspyContainerID> /bin/bash
# Backup native beep wave
cp /usr/share/rhasspy/etc/wav/beep_hi.wav /usr/share/rhasspy/etc/wav/beep_hi.bak
# Exit rhasspy container
exit
# Overwrite native beep wave with longer wave file
sudo docker cp <longerSound>.wav <rhasspyContainerID>:/usr/share/rhasspy/etc/wav/beep_hi.wav
In rhasspy web-ui I enter
one two three
, click Play and expect to hear the text to be spoken. Don't hear anyting.I've tried changing the device to pulse without any effect. Don't know if that matters, though profile.json remains unchanged upon that change.
I can assert proper recording and playing via terminal:
arecord -D 'default' test.wav --duration 5 && aplay test.wav