1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
6 * Copyright 2001,2003 Sun Microsystems, Inc.
8 * See the file "license.terms" for information on usage and
9 * redistribution of this file, and for a DISCLAIMER OF ALL
16 <head><title>FreeTTS HelloWorld Demo</title></head>
19 <table bgcolor="#FFCC66" width="100%">
21 <td align=center width="100%">
22 <h1>FreeTTS HelloWorld Demo</h1>
28 <p>This demo provides a very simple example of how to use
29 FreeTTS without requiring the Java Speech API.</p>
32 <p>To build this demo, merely type the following in a shell from
33 any directory in the FreeTTS hierarchy:
35 <code>ant -find demo.xml</code>
37 <p>Doing so will create
38 <code>bin/FreeTTSHelloWorld.jar</code> under the top level
39 directory. You can run the demo
40 using <code>java -jar</code> (see "Running" below).
43 <p>To run this demo, type the following command from a command
44 window at the top level FreeTTS directory:</p>
46 <p><code>java -jar bin/FreeTTSHelloWorld.jar</code></p>
51 <p><b>"Thank you for giving me a voice.
52 I'm so glad to say hello to this world."</b></p>
53 <p><img src="../../../docs/images/speaker1.gif"> Click
54 <a href="helloworld.au">AU</a> or
55 <a href="helloworld.wav">WAV</a> to listen to it.</p>
58 <h3>Specifying a Voice</h3>
60 <p>By default, this application will use the "kevin16" voice
61 that comes with the lib/cmu_us_kal.jar file. You can, however,
62 specify a voice by passing the name of a voice as the
63 first (and only) parameter on the command line:</p>
65 <p><code>java -jar bin/FreeTTSHelloWorld.jar kevin</code>
66 <br><code>java -jar bin/FreeTTSHelloWorld.jar kevin16</code>
67 <br><code>java -Dmbrola.base=/usr/local/mbrola -jar
68 bin/FreeTTSHelloWorld.jar mbrola_us1</code> (*)</p>
71 <p>(*) You must <a href="../../../mbrola/README.html">setup
72 and install MBROLA</a> before using MBROLA voices.</p>
76 <p>See the <a href="../../../license.terms">license terms</a>
77 and <a href="../../../acknowledgments.txt">acknowledgments</a>.
79 Copyright 2001,2003 Sun Microsystems, Inc. All Rights
80 Reserved. Use is subject to license terms.</p>