I followed these instructions for how to change the default voice for spd-say
from espeak
to festival
hoping that would allow me to use festival
in Chrome with a text-to-speech extension I have installed. At first, the spd-say
command would work fine, but the voice was barely understandable. But after going through the above instructions, I can't get spd-say
to work.
echo "testing festival" | festival --tts
works, and so does espeak "testing espeak"
, but spd-say "testing festival"
gives me the following error:
Failed to connect to Speech Dispatcher:
Error: Can't connect to unix socket /run/user/1000/speech-dispatcher/speechd.sock:
No such file or directory. Autospawn: Autospawn failed.
Speech Dispatcher refused to start with error code, stating this as a reason:
What's causing this error? I've checked both files that the above instructions said I needed to modify, and I can't see anything wrong with them. In addition, I've uninstalled and reinstalled speech dispatcher so that the command would successfully use the espeak
voice and then went through the instructions again, but I got the same result.