Speech Dispatcher

Technical issues/questions of an intermediate or advanced nature.
rych
Warlord
Warlord
Posts: 684
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

Speech Dispatcher

Post#1 by rych » 12 Jun 2024, 11:30

Firefox complains: "You can't use speech synthesis because Speech Dispatcher won't open" linking to https://support.mozilla.org/en-US/kb/speechd-setup. On that page it's suggested to test it like this:

Code: Select all

root@porteus:~# spd-say hi
Failed to connect to Speech Dispatcher:
Error: Can't connect to unix socket /run/user/0/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: /usr/bin/speech-dispatcher: error while loading shared libraries: libdotconf.so.0: cannot open shared object file: No such file or directory
I've installed the missing library?

Code: Select all

root@porteus:~# getmod -m dotconf
...
====> '/tmp/dotconf-1.3-x86_64-3.xzm' was created successfully.
But the spd-say hi is now just playing an incomprehensible long phrase instead of "hi"


So looks like our current speech-dispatcher is incomplete or broken. Maybe it's worth building a new version too, as Porteus has an older one:

Code: Select all

root@porteus:~# getmod -s libdotconf
root@porteus:~# spd-say -v
spd-say 0.10.2
Could someone advise or fix this please?