1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
6 * Copyright 2001 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>JSAPI MixedVoices Demo</title></head>
19 <table bgcolor="#FFCC66" width="100%">
21 <td align=center width="100%">
22 <h1>JSAPI MixedVoices Demo</h1>
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.
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
37 <p>To build this demo, merely type the following in a shell from
38 any directory in the FreeTTS hierarchy:
40 <code>ant -find demo.xml</code>
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).
48 <p>To run this demo, type the following command from a command
49 window at the top level FreeTTS directory:</p>
51 <p><code>java -jar bin/MixedVoices.jar</code></p>
54 <p>You should see the following output and hear two people speaking
57 <code>** Mixed Voices - JSAPI Demonstration program **</code>
59 <code>Allocating synthesizers...Loading voices...And here we go!</code>
62 <p>To see how the synthesizer properties change, append the
63 string <code>-showPropertyChanges</code> to the command line:
65 <p><code>java -jar bin/MixedVoices.jar -showPropertyChanges</code></p>
68 <p>To see JSAPI events, append the
69 string <code>-showEvents</code> to the command line:
71 <p><code>java -jar bin/MixedVoices.jar -showEvents</code></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>