You are not logged in.

#1 2009-10-03 19:56:11

zowki
Member
From: Trapped in The Matrix
Registered: 2008-11-27
Posts: 582
Website

Speech engine

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. big_smile


How's my programming? Call 1-800-DEV-NULL

Offline

#2 2009-10-03 23:17:43

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: Speech engine

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

#3 2009-10-04 05:42:38

zowki
Member
From: Trapped in The Matrix
Registered: 2008-11-27
Posts: 582
Website

Re: Speech engine

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

#4 2009-10-04 13:13:36

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: Speech engine

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

#5 2009-10-04 13:33:10

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Speech engine

festival is pretty easy to use actually... did you see the wiki page?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB