You are not logged in.
Pages: 1
Are there any good text to speech engines for Linux? I want to use it to make a welcome message when I log in. Like in those futuristic movies where computers greet their masters.
How's my programming? Call 1-800-DEV-NULL
Offline
There are quite a few out there. It all depends on what you are meaning by good.
Festival has LOTS of options, but is kind of complicated to set up.
There are some more lightweight engines out there like flite, and espeak which may be more of what you are looking for.
espeak can be used with espeak <phrase you want it to say>.
flite by default uses files, so if you had a text file and wanted it read to you flite <filename would do it. If you use flite -t "<text>" it will speak the text.
Since both try to be lightweight, they have more limited features than festival, but they do have a few various voices available.
There are others if you search, but those are the ones that I've used.
Last edited by Knute (2009-10-03 23:18:25)
Knute
Offline
Thanks for the suggestions. Festival seems too advanced for my purposes. I gave espeak and flite a try and they both work. But how do I change the default voice? Or does it only come with one voice? I want a voice similair to the woman in the sample sounds in "/usr/share/sounds/alsa".
How's my programming? Call 1-800-DEV-NULL
Offline
As I said, they have limited voices available.
espeak will list the voices available with espeak --voices=language. The voices are in /usr/share/espeak-data/voices.
Apparently flite has options to compile other voices in, but I've never really explored that option to much.
Knute
Offline
festival is pretty easy to use actually... did you see the wiki page?
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Pages: 1