Free TTS Setup Instructions



Installation of FreeTTS:

The following two steps helps the users who are installing FreeTTS for the first time.

Step 1: Pre-requisites for building and running FreeTTS

1) You can get FreeTTS Source Tree from the FreeTTS download page or from their CVS (SourceForge) anonymously as below:

$ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/freetts co FreeTTS

(There is no password, so just press "Return".)

More instructions on how to do this is at: http://sourceforge.net/cvs/?group_id=42080



2) JavaTM 2 SDK, Standard Edition, v1.4 available at http://java.sun.com/j2se/1.4/ .

3) GNU Make version 3.79 or higher.

4) JSAPI 1.0 specification implementation

FreeTTS requires an implementation of the JSAPI 1.0 specification. The JSAPI 1.0 specification implementation (i.e., the javax.speech.* classes) is not available under a BSD-style license. Instead, use binaries (jsapi.jar) available under a separate binary code license.

To get the jsapi.jar do the following:

a) Go to the FreeTTS/lib directory.

b) Type sh ./jsapi.sh

c) If the binary license agreement is acceptable, accept it by typing "y".

The jsapi.jar file will be unpacked and deposited into the lib directory.



5) JUnit Version 3.7 (Testing only), available at http://www.junit.org .

JUnit is only needed if you intend to run the unit tests included with FreeTTS. Download the Junit3.7.zip file, unzip it, and set your JUNIT_HOME environment variable pointing to the unzipped JUnit 3.7.



Step 2: Building FreeTTS:

1) Make sure you have set the JAVA_HOME environment variable pointing to the Java 2 SDK directory.

2) copy "speech.properties" from source-dir of FreeTTS to your home directory

3) Unpack the sources with the command:

% jar xf src.zip

4) Build the FreeTTS engine and the demos with command:

% make all



Refer http://freetts.sourceforge.net/docs/index.php for more details on FreeTTS.



Building gnome-speech with FreeTTS:

1. Make sure you have FreeTTS installed on your machine. Refer section below on how to install FreeTTS.

2. Check out gnome-speech from CVS:

3. Go to the gnome-speech root directory and do the following

$ ./autogen.sh --prefix=dir_where_gnome_stack_is --with-freetts-dir=dir_which_contains_FreeTTS_jar_files

(eg: ./autogen.sh --prefix=/opt/gnome-2.2 --with-freetts-dir=/home/guest/FreeTTS/lib)

4. Uninstall old drivers

$ make uninstall

5. Install new drivers you've just built

$ make install

6. Test gnome-speech

$ test-speech



If this test of gnome-speech is working with FreeTTS driver there should be NO problem running gnopernicus with FreeTTS.



Previous: Gnopernicus

Back: Contents