upstream version 1.2.2
[debian/freetts] / demo / JSAPI / MixedVoices / README.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
3 <!--
4
5 /**
6  * Copyright 2001 Sun Microsystems, Inc.
7  * 
8  * See the file "license.terms" for information on usage and
9  * redistribution of this file, and for a DISCLAIMER OF ALL 
10  * WARRANTIES.
11  */
12
13 -->
14
15 <html>
16     <head><title>JSAPI MixedVoices Demo</title></head>
17     <body>
18         <center>
19             <table bgcolor="#FFCC66" width="100%">
20                 <tr>
21                     <td align=center width="100%">
22                         <h1>JSAPI MixedVoices Demo</h1>
23                     </td>
24                 </tr>
25             </table>
26         </center>
27
28         <p>The MixedVoice demo demonstrates how to use multiple voices
29         and synthesizers in JSAPI. It also demonstrates how to
30         change various synthesizer properties in JSAPI.
31
32         <p><b>NOTE</b>: To build and run this JSAPI demo, you must 
33         <a href="../../../docs/jsapi_setup.html">set up your environment to
34         use JSAPI</a>.
35
36         <h3>Building</h3>
37         <p>To build this demo, merely type the following in a shell from
38         any directory in the FreeTTS hierarchy:
39         <ul>
40             <code>ant -find demo.xml</code>
41         </ul>
42         <p>Doing so will create
43         <code>bin/MixedVoices.jar</code> under the top level
44         directory.  You can run the demo 
45         using <code>java -jar</code> (see "Running" below).
46
47         <h3>Running</h3>
48         <p>To run this demo, type the following command from a command
49         window at the top level FreeTTS directory:</p>
50         <ul>
51             <p><code>java -jar bin/MixedVoices.jar</code></p>
52         </ul>
53
54         <p>You should see the following output and hear two people speaking
55 playfully:
56         <ul>
57         <code>** Mixed Voices - JSAPI Demonstration program **</code>
58         <br>
59         <code>Allocating synthesizers...Loading voices...And here we go!</code>
60         </ul>
61
62         <p>To see how the synthesizer properties change, append the
63         string <code>-showPropertyChanges</code> to the command line:
64         <ul>
65             <p><code>java -jar bin/MixedVoices.jar -showPropertyChanges</code></p>
66         </ul>
67
68         <p>To see JSAPI events, append the
69         string <code>-showEvents</code> to the command line:
70         <ul>
71             <p><code>java -jar bin/MixedVoices.jar -showEvents</code></p>
72         </ul>
73
74         <hr>
75
76         <p>See the <a href="../../../license.terms">license terms</a>
77         and <a href="../../../acknowledgments.txt">acknowledgments</a>.
78         <br>
79         Copyright 2001,2003 Sun Microsystems, Inc.  All Rights
80         Reserved.  Use is subject to license terms.</p>
81     </body>
82 </html>