Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What speech libraries are available in Linux? [closed]

When it comes to TTS (text-to-speech) libraries in Linux, what choices do developers have?

What libraries ship with the majority of distros?

Are there minimal libraries? What functionality does each library offer?

I'm approaching this primarily from a C++ point of view, although Python would suit me too.

like image 867
Nathan Osman Avatar asked May 18 '10 04:05

Nathan Osman


2 Answers

Ubuntu comes with eSpeak, which is quite simple to use. From the console, simply enter:

espeak "Hello World"

Other options include Festival and Flite. Festival is the most sophisticated one I've used so far, and I've successfully installed new, less artificial-sounding voices (for Ubuntu, see http://ubuntuforums.org/showthread.php?t=677277). Flite is very simple but doesn't have the same level of customizability as Festival.

If you want, for example, a Python program that synthesizes speech, there is a somewhat inactive project called PyFestival that's quite easy to use (http://code.google.com/p/pyfestival/).

like image 199
wwwilliam Avatar answered Nov 10 '22 04:11

wwwilliam


Use Flite as your speech library, and then use voices from festival or festvox.

like image 42
Ken Bloom Avatar answered Nov 10 '22 05:11

Ken Bloom