You are not logged in.
I would like to get text-to-speech working. (I'm stuck on other issues, so why not invent a new one?)
I've installed festival and espeak and both of these work OK from the command line. I've also installed speech-dispatcher and run spd-conf. I've been working on trying to get speech-dispatcher working properly before trying to troubleshoot the GUI stuff in KDE further.
Following a reboot, here's the first run:
spd-conf -d
Speech Dispatcher configuration tool
Testing Speech Dispatcher using spd_say
Did you hear the message about Speech Dispatcher working? [yes] :
>
Speech Dispatcher is installed and working!
Speech Dispatcher works. Do you want to skip other tests? [yes] :
>
Diagnostics results:
Speech Dispatcher is working
End of diagnostics resultsGreat! Check with spd-say:
$ spd-say hiSilence. Rerunning debugging:
$ spd-conf -d
Speech Dispatcher configuration tool
Testing Speech Dispatcher using spd_say
Did you hear the message about Speech Dispatcher working? [yes] :
>no
Speech Dispatcher is installed but there is some problem
Speech Dispatcher isn't running or we can't connect to it (see above),
do you want to proceed with other tests? (They can help to determine
what is wrong) [yes] :
>
Do you want to test the Festival synthesizer now? [yes] :
>
Testing whether Festival works as a server
ERROR: It was not possible to connect to Festival on the
given host and port. Connection failed with error 111 : Connection refused .
Hint: Most likely, your Festival server is not running now
or not at the default port 1314.
Try /etc/init.d/festival start or run 'festival --server' from the command line.
Festival server is not working.
Do you want to test the Espeak synthesizer now? [yes] :
>
Testing whether Espeak works
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Espeak is installed
Do you want to test the ALSA sound system now? [yes] :
>
Testing ALSA sound output
Playing WAVE '/usr/share/sounds/speech-dispatcher/test.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono
Did you hear the sound? [yes] :
>
Audio output 'alsa' works
Do you want to test the Pulse Audio sound system now? [yes] :
>no
Testing whether Python Speech Dispatcher library is in path and importable
Diagnostics results:
Speech Dispatcher not working through spd-say
Synthesizers that were tested and seem to work: ['espeak']
Audio systems that were tested and seem to work: ['alsa']
Python Speech Dispatcher module is importable
End of diagnostics resultsI didn't expect festival to work and I don't have Pulse Audio so I skipped that test. espeak and alsa work fine but spd-say does not. Does anybody know where I should go from here? Why does spd-say work once and then fail ever after? (Until, presumably reboot.)
Relevant but somewhat outdated thread:
https://bbs.archlinux.org/viewtopic.php?id=96732
There are some other threads from around this time but they all seem to precede the availability of speech-dispatcher etc. via the repositories and the inclusion of kttsd (now jovie) in Arch's kde packages.
I have also found https://bugzilla.redhat.com/show_bug.cgi?id=569531 which suggests that festival-freebsoft-utils may be required. AUR offers two pkgbuilds. The standard version is only for 32 bit so I tried the cvs build. However, I just get a message saying the connection is refused when it tries to check out the source. Looking at the website, the source now seems to be versioned by git but I'm not certain right now how to adapt the pkgbuild file.
Lots of the commands involved seem not to have manual pages and either the usually excellent wiki is somewhat lacking on this topic or I'm not searching for the right terms.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline