add ant stuff
[debian/freetts] / javadoc / com / sun / speech / freetts / Voice.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\r
2 <!--NewPage-->\r
3 <HTML>\r
4 <HEAD>\r
5 <!-- Generated by javadoc (build 1.4.2_16) on Mon Mar 09 18:20:29 CET 2009 -->\r
6 <TITLE>\r
7 Voice (FreeTTS 1.2)\r
8 </TITLE>\r
9 \r
10 <META NAME="keywords" CONTENT="com.sun.speech.freetts.Voice class">\r
11 \r
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">\r
13 \r
14 <SCRIPT type="text/javascript">\r
15 function windowTitle()\r
16 {\r
17     parent.document.title="Voice (FreeTTS 1.2)";\r
18 }\r
19 </SCRIPT>\r
20 \r
21 </HEAD>\r
22 \r
23 <BODY BGCOLOR="white" onload="windowTitle();">\r
24 \r
25
26 <!-- ========= START OF TOP NAVBAR ======= -->\r
27 <A NAME="navbar_top"><!-- --></A>
28 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">\r
30 <TR>\r
31 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">\r
32 <A NAME="navbar_top_firstrow"><!-- --></A>
33 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">\r
34   <TR ALIGN="center" VALIGN="top">\r
35   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>\r
36   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>\r
37   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>\r
38   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>\r
39   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>\r
40   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>\r
41   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>\r
42   </TR>\r
43 </TABLE>\r
44 </TD>\r
45 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>\r
46 </EM>\r
47 </TD>\r
48 </TR>\r
49 \r
50 <TR>\r
51 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
52 &nbsp;<A HREF="../../../../com/sun/speech/freetts/Utterance.html" title="class in com.sun.speech.freetts"><B>PREV CLASS</B></A>&nbsp;\r
53 &nbsp;<A HREF="../../../../com/sun/speech/freetts/VoiceDirectory.html" title="class in com.sun.speech.freetts"><B>NEXT CLASS</B></A></FONT></TD>\r
54 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
55   <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;\r
56 &nbsp;<A HREF="Voice.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;\r
57 &nbsp;<SCRIPT type="text/javascript">\r
58   <!--\r
59   if(window==top) {\r
60     document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');\r
61   }\r
62   //-->\r
63 </SCRIPT>\r
64 <NOSCRIPT>\r
65   <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>\r
66 </NOSCRIPT>
67 \r
68 </FONT></TD>\r
69 </TR>\r
70 <TR>\r
71 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
72   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>\r
73 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
74 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>\r
75 </TR>\r
76 </TABLE>\r
77 <A NAME="skip-navbar_top"></A>
78 <!-- ========= END OF TOP NAVBAR ========= -->\r
79 \r
80 <HR>\r
81 <!-- ======== START OF CLASS DATA ======== -->\r
82 <H2>\r
83 <FONT SIZE="-1">\r
84 com.sun.speech.freetts</FONT>\r
85 <BR>\r
86 Class Voice</H2>\r
87 <PRE>\r
88 java.lang.Object\r
89   <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>com.sun.speech.freetts.Voice</B>\r
90 </PRE>\r
91 <DL>\r
92 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/sun/speech/freetts/Dumpable.html" title="interface in com.sun.speech.freetts">Dumpable</A>, <A HREF="../../../../com/sun/speech/freetts/UtteranceProcessor.html" title="interface in com.sun.speech.freetts">UtteranceProcessor</A></DD>\r
93 </DL>\r
94 <DL>\r
95 <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../com/sun/speech/freetts/en/us/CMUVoice.html" title="class in com.sun.speech.freetts.en.us">CMUVoice</A></DD>\r
96 </DL>\r
97 <HR>\r
98 <DL>\r
99 <DT>public abstract class <B>Voice</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../com/sun/speech/freetts/UtteranceProcessor.html" title="interface in com.sun.speech.freetts">UtteranceProcessor</A>, <A HREF="../../../../com/sun/speech/freetts/Dumpable.html" title="interface in com.sun.speech.freetts">Dumpable</A></DL>\r
100 \r
101 <P>\r
102 Performs text-to-speech using a series of
103  <code>UtteranceProcessors</code>. It is the main conduit to the FreeTTS
104  speech synthesizer. It can perform TTS on ASCII text,
105  a JSML document, an <code>InputStream</code>, or a 
106  <code>FreeTTSSpeakable</code>, by invoking the method <code>speak</code>.
107
108  <p>Before a Voice can perform TTS, it must have a
109  <code>Lexicon</code>, from which it gets the vocabulary, and
110  an <code>AudioPlayer</code>, to which it sends the synthesized output.
111
112  <p><b>Example</b> (using the <code>CMUDiphoneVoice</code>,
113  <code>CMULexicon</code> and <code>JavaClipAudioPlayer</code>):
114
115  <pre>
116  Voice voice = new CMUDiphoneVoice();
117
118  // sets the Lexicon
119  voice.setLexicon(new CMULexicon());
120
121  // sets the AudioPlayer
122  voice.setAudioPlayer(new JavaClipAudioPlayer());
123
124  // loads the Voice
125  voice.allocate();
126
127  // start talking
128  voice.speak("I can talk forever without getting tired!");
129  </pre>
130
131
132  <p>A user can override the AudioPlayer to use by defining the
133  "com.sun.speech.freetts.voice.defaultAudioPlayer" system property.
134  The value of this property must be the name of a class that
135  implements the AudioPlayer interface, and which also has a no-arg
136  constructor.\r
137 <P>\r
138 \r
139 <P>\r
140 <DL>\r
141 <DT><B>See Also:</B><DD><A HREF="../../../../com/sun/speech/freetts/VoiceManager.html" title="class in com.sun.speech.freetts"><CODE>VoiceManager</CODE></A>, 
142 <A HREF="../../../../com/sun/speech/freetts/VoiceDirectory.html" title="class in com.sun.speech.freetts"><CODE>VoiceDirectory</CODE></A></DL>\r
143 <HR>\r
144 \r
145 <P>\r
146 <!-- ======== NESTED CLASS SUMMARY ======== -->\r
147 \r
148 \r
149 <!-- =========== FIELD SUMMARY =========== -->\r
150 \r
151 <A NAME="field_summary"><!-- --></A>
152 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
153 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
154 <TD COLSPAN=2><FONT SIZE="+2">\r
155 <B>Field Summary</B></FONT></TD>\r
156 </TR>\r
157 <TR BGCOLOR="white" CLASS="TableRowColor">\r
158 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
159 <CODE>static&nbsp;java.lang.String</CODE></FONT></TD>\r
160 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#DATABASE_NAME">DATABASE_NAME</A></B></CODE>\r
161 \r
162 <BR>\r
163 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constant that describes the name of the unit database used by
164  this voice.</TD>\r
165 </TR>\r
166 <TR BGCOLOR="white" CLASS="TableRowColor">\r
167 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
168 <CODE>static&nbsp;java.lang.String</CODE></FONT></TD>\r
169 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#DEFAULT_AUDIO_PLAYER">DEFAULT_AUDIO_PLAYER</A></B></CODE>\r
170 \r
171 <BR>\r
172 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feature name for the default AudioPlayer class to use.</TD>\r
173 </TR>\r
174 <TR BGCOLOR="white" CLASS="TableRowColor">\r
175 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
176 <CODE>static&nbsp;java.lang.String</CODE></FONT></TD>\r
177 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#DEFAULT_AUDIO_PLAYER_DEFAULT">DEFAULT_AUDIO_PLAYER_DEFAULT</A></B></CODE>\r
178 \r
179 <BR>\r
180 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The default class to use for the DEFAULT_AUDIO_PLAYER.</TD>\r
181 </TR>\r
182 <TR BGCOLOR="white" CLASS="TableRowColor">\r
183 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
184 <CODE>static&nbsp;java.lang.String</CODE></FONT></TD>\r
185 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#FEATURE_JOIN_TYPE">FEATURE_JOIN_TYPE</A></B></CODE>\r
186 \r
187 <BR>\r
188 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feature name for the join type string.</TD>\r
189 </TR>\r
190 <TR BGCOLOR="white" CLASS="TableRowColor">\r
191 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
192 <CODE>static&nbsp;java.lang.String</CODE></FONT></TD>\r
193 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#FEATURE_SILENCE">FEATURE_SILENCE</A></B></CODE>\r
194 \r
195 <BR>\r
196 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feature name for the silence phone string.</TD>\r
197 </TR>\r
198 <TR BGCOLOR="white" CLASS="TableRowColor">\r
199 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
200 <CODE>static&nbsp;java.lang.String</CODE></FONT></TD>\r
201 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#PROP_PREFIX">PROP_PREFIX</A></B></CODE>\r
202 \r
203 <BR>\r
204 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prefix for System property names.</TD>\r
205 </TR>\r
206 </TABLE>\r
207 &nbsp;\r
208 <!-- ======== CONSTRUCTOR SUMMARY ======== -->\r
209 \r
210 <A NAME="constructor_summary"><!-- --></A>
211 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
212 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
213 <TD COLSPAN=2><FONT SIZE="+2">\r
214 <B>Constructor Summary</B></FONT></TD>\r
215 </TR>\r
216 <TR BGCOLOR="white" CLASS="TableRowColor">\r
217 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#Voice()">Voice</A></B>()</CODE>\r
218 \r
219 <BR>\r
220 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new Voice. </TD>\r
221 </TR>\r
222 <TR BGCOLOR="white" CLASS="TableRowColor">\r
223 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#Voice(java.lang.String, com.sun.speech.freetts.Gender, com.sun.speech.freetts.Age, java.lang.String, java.util.Locale, java.lang.String, java.lang.String)">Voice</A></B>(java.lang.String&nbsp;name,
224       <A HREF="../../../../com/sun/speech/freetts/Gender.html" title="class in com.sun.speech.freetts">Gender</A>&nbsp;gender,
225       <A HREF="../../../../com/sun/speech/freetts/Age.html" title="class in com.sun.speech.freetts">Age</A>&nbsp;age,
226       java.lang.String&nbsp;description,
227       java.util.Locale&nbsp;locale,
228       java.lang.String&nbsp;domain,
229       java.lang.String&nbsp;organization)</CODE>\r
230 \r
231 <BR>\r
232 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new Voice like above, except that it also
233  stores the properties of the voice.</TD>\r
234 </TR>\r
235 </TABLE>\r
236 &nbsp;\r
237 <!-- ========== METHOD SUMMARY =========== -->\r
238 \r
239 <A NAME="method_summary"><!-- --></A>
240 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
241 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
242 <TD COLSPAN=2><FONT SIZE="+2">\r
243 <B>Method Summary</B></FONT></TD>\r
244 </TR>\r
245 <TR BGCOLOR="white" CLASS="TableRowColor">\r
246 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
247 <CODE>&nbsp;void</CODE></FONT></TD>\r
248 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#addFeatureProcessor(java.lang.String, com.sun.speech.freetts.FeatureProcessor)">addFeatureProcessor</A></B>(java.lang.String&nbsp;name,
249                     <A HREF="../../../../com/sun/speech/freetts/FeatureProcessor.html" title="interface in com.sun.speech.freetts">FeatureProcessor</A>&nbsp;fp)</CODE>\r
250 \r
251 <BR>\r
252 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a language/voice specific Feature Processor to the set of
253  FeatureProcessors supported by this voice.</TD>\r
254 </TR>\r
255 <TR BGCOLOR="white" CLASS="TableRowColor">\r
256 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
257 <CODE>&nbsp;void</CODE></FONT></TD>\r
258 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#allocate()">allocate</A></B>()</CODE>\r
259 \r
260 <BR>\r
261 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Allocate this Voice. </TD>\r
262 </TR>\r
263 <TR BGCOLOR="white" CLASS="TableRowColor">\r
264 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
265 <CODE>static&nbsp;<A HREF="../../../../com/sun/speech/freetts/OutputQueue.html" title="class in com.sun.speech.freetts">OutputQueue</A></CODE></FONT></TD>\r
266 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#createOutputThread()">createOutputThread</A></B>()</CODE>\r
267 \r
268 <BR>\r
269 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an output thread that will asynchronously
270  output utterances that are generated by this voice (and other
271  voices).</TD>\r
272 </TR>\r
273 <TR BGCOLOR="white" CLASS="TableRowColor">\r
274 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
275 <CODE>&nbsp;void</CODE></FONT></TD>\r
276 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#deallocate()">deallocate</A></B>()</CODE>\r
277 \r
278 <BR>\r
279 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Shuts down the voice processing.</TD>\r
280 </TR>\r
281 <TR BGCOLOR="white" CLASS="TableRowColor">\r
282 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
283 <CODE>&nbsp;void</CODE></FONT></TD>\r
284 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#dump(java.io.PrintWriter, int, java.lang.String)">dump</A></B>(java.io.PrintWriter&nbsp;output,
285      int&nbsp;pad,
286      java.lang.String&nbsp;title)</CODE>\r
287 \r
288 <BR>\r
289 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dumps the voice in textual form.</TD>\r
290 </TR>\r
291 <TR BGCOLOR="white" CLASS="TableRowColor">\r
292 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
293 <CODE>&nbsp;void</CODE></FONT></TD>\r
294 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#dumpProcessors(java.io.PrintWriter, int, java.lang.String)">dumpProcessors</A></B>(java.io.PrintWriter&nbsp;output,
295                int&nbsp;pad,
296                java.lang.String&nbsp;title)</CODE>\r
297 \r
298 <BR>\r
299 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dumps the voice processors.</TD>\r
300 </TR>\r
301 <TR BGCOLOR="white" CLASS="TableRowColor">\r
302 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
303 <CODE>&nbsp;void</CODE></FONT></TD>\r
304 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#endBatch()">endBatch</A></B>()</CODE>\r
305 \r
306 <BR>\r
307 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ends a batch of utterances.</TD>\r
308 </TR>\r
309 <TR BGCOLOR="white" CLASS="TableRowColor">\r
310 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
311 <CODE>&nbsp;<A HREF="../../../../com/sun/speech/freetts/Age.html" title="class in com.sun.speech.freetts">Age</A></CODE></FONT></TD>\r
312 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#getAge()">getAge</A></B>()</CODE>\r
313 \r
314 <BR>\r
315 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the age of this voice.</TD>\r
316 </TR>\r
317 <TR BGCOLOR="white" CLASS="TableRowColor">\r
318 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
319 <CODE>protected abstract &nbsp;<A HREF="../../../../com/sun/speech/freetts/UtteranceProcessor.html" title="interface in com.sun.speech.freetts">UtteranceProcessor</A></CODE></FONT></TD>\r
320 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#getAudioOutput()">getAudioOutput</A></B>()</CODE>\r
321 \r
322 <BR>\r
323 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the AudioOutput processor to be used by this voice.
324  </TD>\r
325 </TR>\r
326 <TR BGCOLOR="white" CLASS="TableRowColor">\r
327 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
328 <CODE>&nbsp;<A HREF="../../../../com/sun/speech/freetts/audio/AudioPlayer.html" title="interface in com.sun.speech.freetts.audio">AudioPlayer</A></CODE></FONT></TD>\r
329 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#getAudioPlayer()">getAudioPlayer</A></B>()</CODE>\r
330 \r
331 <BR>\r
332 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the audio player associated with this voice.  </TD>\r
333 </TR>\r
334 <TR BGCOLOR="white" CLASS="TableRowColor">\r
335 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
336 <CODE>&nbsp;<A HREF="../../../../com/sun/speech/freetts/audio/AudioPlayer.html" title="interface in com.sun.speech.freetts.audio">AudioPlayer</A></CODE></FONT></TD>\r
337 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#getDefaultAudioPlayer()">getDefaultAudioPlayer</A></B>()</CODE>\r
338 \r
339 <BR>\r
340 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the default audio player for this voice.  </TD>\r
341 </TR>\r
342 <TR BGCOLOR="white" CLASS="TableRowColor">\r
343 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
344 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>\r
345 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#getDescription()">getDescription</A></B>()</CODE>\r
346 \r
347 <BR>\r
348 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the description of this voice.</TD>\r
349 </TR>\r
350 <TR BGCOLOR="white" CLASS="TableRowColor">\r
351 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
352 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>\r
353 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#getDomain()">getDomain</A></B>()</CODE>\r
354 \r
355 <BR>\r
356 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the domain of this voice.</TD>\r
357 </TR>\r
358 <TR BGCOLOR="white" CLASS="TableRowColor">\r
359 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
360 <CODE>&nbsp;float</CODE></FONT></TD>\r
361 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#getDurationStretch()">getDurationStretch</A></B>()</CODE>\r
362 \r
363 <BR>\r
364 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the duration Stretch</TD>\r
365 </TR>\r
366 <TR BGCOLOR="white" CLASS="TableRowColor">\r
367 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
368 <CODE>&nbsp;<A HREF="../../../../com/sun/speech/freetts/FeatureProcessor.html" title="interface in com.sun.speech.freetts">FeatureProcessor</A></CODE></FONT></TD>\r
369 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#getFeatureProcessor(java.lang.String)">getFeatureProcessor</A></B>(java.lang.String&nbsp;name)</CODE>\r
370 \r
371 <BR>\r
372 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a language/voice specific Feature Processor.</TD>\r
373 </TR>\r
374 <TR BGCOLOR="white" CLASS="TableRowColor">\r
375 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
376 <CODE>&nbsp;<A HREF="../../../../com/sun/speech/freetts/FeatureSet.html" title="interface in com.sun.speech.freetts">FeatureSet</A></CODE></FONT></TD>\r
377 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#getFeatures()">getFeatures</A></B>()</CODE>\r
378 \r
379 <BR>\r
380 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the feature set associated with this voice.</TD>\r
381 </TR>\r
382 <TR BGCOLOR="white" CLASS="TableRowColor">\r
383 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
384 <CODE>&nbsp;<A HREF="../../../../com/sun/speech/freetts/Gender.html" title="class in com.sun.speech.freetts">Gender</A></CODE></FONT></TD>\r
385 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#getGender()">getGender</A></B>()</CODE>\r
386 \r
387 <BR>\r
388 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the gender of this voice.</TD>\r
389 </TR>\r
390 <TR BGCOLOR="white" CLASS="TableRowColor">\r
391 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
392 <CODE>&nbsp;<A HREF="../../../../com/sun/speech/freetts/lexicon/Lexicon.html" title="interface in com.sun.speech.freetts.lexicon">Lexicon</A></CODE></FONT></TD>\r
393 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#getLexicon()">getLexicon</A></B>()</CODE>\r
394 \r
395 <BR>\r
396 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the lexicon for this voice.</TD>\r
397 </TR>\r
398 <TR BGCOLOR="white" CLASS="TableRowColor">\r
399 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
400 <CODE>&nbsp;java.util.Locale</CODE></FONT></TD>\r
401 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#getLocale()">getLocale</A></B>()</CODE>\r
402 \r
403 <BR>\r
404 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the locale of this voice.</TD>\r
405 </TR>\r
406 <TR BGCOLOR="white" CLASS="TableRowColor">\r
407 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
408 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>\r
409 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#getName()">getName</A></B>()</CODE>\r
410 \r
411 <BR>\r
412 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the name of this voice.</TD>\r
413 </TR>\r
414 <TR BGCOLOR="white" CLASS="TableRowColor">\r
415 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
416 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>\r
417 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#getOrganization()">getOrganization</A></B>()</CODE>\r
418 \r
419 <BR>\r
420 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the organization which created this voice.  </TD>\r
421 </TR>\r
422 <TR BGCOLOR="white" CLASS="TableRowColor">\r
423 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
424 <CODE>&nbsp;<A HREF="../../../../com/sun/speech/freetts/OutputQueue.html" title="class in com.sun.speech.freetts">OutputQueue</A></CODE></FONT></TD>\r
425 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#getOutputQueue()">getOutputQueue</A></B>()</CODE>\r
426 \r
427 <BR>\r
428 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the output queue associated with this voice.</TD>\r
429 </TR>\r
430 <TR BGCOLOR="white" CLASS="TableRowColor">\r
431 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
432 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>\r
433 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#getPhoneFeature(java.lang.String, java.lang.String)">getPhoneFeature</A></B>(java.lang.String&nbsp;phone,
434                 java.lang.String&nbsp;featureName)</CODE>\r
435 \r
436 <BR>\r
437 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Given a phoneme and a feature name, returns the feature.</TD>\r
438 </TR>\r
439 <TR BGCOLOR="white" CLASS="TableRowColor">\r
440 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
441 <CODE>&nbsp;float</CODE></FONT></TD>\r
442 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#getPitch()">getPitch</A></B>()</CODE>\r
443 \r
444 <BR>\r
445 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retreives the baseline pitch.</TD>\r
446 </TR>\r
447 <TR BGCOLOR="white" CLASS="TableRowColor">\r
448 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
449 <CODE>&nbsp;float</CODE></FONT></TD>\r
450 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#getPitchRange()">getPitchRange</A></B>()</CODE>\r
451 \r
452 <BR>\r
453 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the pitch range.</TD>\r
454 </TR>\r
455 <TR BGCOLOR="white" CLASS="TableRowColor">\r
456 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
457 <CODE>&nbsp;float</CODE></FONT></TD>\r
458 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#getPitchShift()">getPitchShift</A></B>()</CODE>\r
459 \r
460 <BR>\r
461 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the pitch shift.</TD>\r
462 </TR>\r
463 <TR BGCOLOR="white" CLASS="TableRowColor">\r
464 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
465 <CODE>&nbsp;float</CODE></FONT></TD>\r
466 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#getRate()">getRate</A></B>()</CODE>\r
467 \r
468 <BR>\r
469 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the rate of speech.</TD>\r
470 </TR>\r
471 <TR BGCOLOR="white" CLASS="TableRowColor">\r
472 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
473 <CODE>protected &nbsp;java.net.URL</CODE></FONT></TD>\r
474 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#getResource(java.lang.String)">getResource</A></B>(java.lang.String&nbsp;resource)</CODE>\r
475 \r
476 <BR>\r
477 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a resource for this voice.
478  </TD>\r
479 </TR>\r
480 <TR BGCOLOR="white" CLASS="TableRowColor">\r
481 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
482 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>\r
483 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#getRunTitle()">getRunTitle</A></B>()</CODE>\r
484 \r
485 <BR>\r
486 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the title for this run.</TD>\r
487 </TR>\r
488 <TR BGCOLOR="white" CLASS="TableRowColor">\r
489 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
490 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>\r
491 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#getStyle()">getStyle</A></B>()</CODE>\r
492 \r
493 <BR>\r
494 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the voice style. </TD>\r
495 </TR>\r
496 <TR BGCOLOR="white" CLASS="TableRowColor">\r
497 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
498 <CODE>abstract &nbsp;<A HREF="../../../../com/sun/speech/freetts/Tokenizer.html" title="interface in com.sun.speech.freetts">Tokenizer</A></CODE></FONT></TD>\r
499 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#getTokenizer()">getTokenizer</A></B>()</CODE>\r
500 \r
501 <BR>\r
502 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the tokenizer associated with this voice.</TD>\r
503 </TR>\r
504 <TR BGCOLOR="white" CLASS="TableRowColor">\r
505 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
506 <CODE>&nbsp;java.util.List</CODE></FONT></TD>\r
507 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#getUtteranceProcessors()">getUtteranceProcessors</A></B>()</CODE>\r
508 \r
509 <BR>\r
510 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the list of UtteranceProcessor instances.  </TD>\r
511 </TR>\r
512 <TR BGCOLOR="white" CLASS="TableRowColor">\r
513 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
514 <CODE>&nbsp;float</CODE></FONT></TD>\r
515 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#getVolume()">getVolume</A></B>()</CODE>\r
516 \r
517 <BR>\r
518 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the volume.</TD>\r
519 </TR>\r
520 <TR BGCOLOR="white" CLASS="TableRowColor">\r
521 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
522 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>\r
523 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#getWaveDumpFile()">getWaveDumpFile</A></B>()</CODE>\r
524 \r
525 <BR>\r
526 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the dumpfile for this voice.</TD>\r
527 </TR>\r
528 <TR BGCOLOR="white" CLASS="TableRowColor">\r
529 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
530 <CODE>&nbsp;boolean</CODE></FONT></TD>\r
531 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#isDetailedMetrics()">isDetailedMetrics</A></B>()</CODE>\r
532 \r
533 <BR>\r
534 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the state of the detailedMetrics mode.</TD>\r
535 </TR>\r
536 <TR BGCOLOR="white" CLASS="TableRowColor">\r
537 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
538 <CODE>&nbsp;boolean</CODE></FONT></TD>\r
539 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#isDumpRelations()">isDumpRelations</A></B>()</CODE>\r
540 \r
541 <BR>\r
542 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the state of the dumpRelations mode.</TD>\r
543 </TR>\r
544 <TR BGCOLOR="white" CLASS="TableRowColor">\r
545 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
546 <CODE>&nbsp;boolean</CODE></FONT></TD>\r
547 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#isDumpUtterance()">isDumpUtterance</A></B>()</CODE>\r
548 \r
549 <BR>\r
550 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the state of the dumpUtterance mode.</TD>\r
551 </TR>\r
552 <TR BGCOLOR="white" CLASS="TableRowColor">\r
553 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
554 <CODE>&nbsp;boolean</CODE></FONT></TD>\r
555 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#isLoaded()">isLoaded</A></B>()</CODE>\r
556 \r
557 <BR>\r
558 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this voice is loaded.</TD>\r
559 </TR>\r
560 <TR BGCOLOR="white" CLASS="TableRowColor">\r
561 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
562 <CODE>&nbsp;boolean</CODE></FONT></TD>\r
563 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#isMetrics()">isMetrics</A></B>()</CODE>\r
564 \r
565 <BR>\r
566 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the state of the metrics mode.</TD>\r
567 </TR>\r
568 <TR BGCOLOR="white" CLASS="TableRowColor">\r
569 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
570 <CODE>&nbsp;void</CODE></FONT></TD>\r
571 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#load()">load</A></B>()</CODE>\r
572 \r
573 <BR>\r
574 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>As of FreeTTS 1.2, replaced by <A HREF="../../../../com/sun/speech/freetts/Voice.html#allocate()"><CODE>allocate()</CODE></A>.</I></TD>\r
575 </TR>\r
576 <TR BGCOLOR="white" CLASS="TableRowColor">\r
577 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
578 <CODE>protected abstract &nbsp;void</CODE></FONT></TD>\r
579 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#loader()">loader</A></B>()</CODE>\r
580 \r
581 <BR>\r
582 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loads voice specific data. </TD>\r
583 </TR>\r
584 <TR BGCOLOR="white" CLASS="TableRowColor">\r
585 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
586 <CODE>protected &nbsp;java.lang.StringBuffer</CODE></FONT></TD>\r
587 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#processNode(org.w3c.dom.Node, java.lang.StringBuffer)">processNode</A></B>(org.w3c.dom.Node&nbsp;n,
588             java.lang.StringBuffer&nbsp;buf)</CODE>\r
589 \r
590 <BR>\r
591 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds text for just this node and returns any text that might
592  be needed to undo the effects of this node after it is
593  processed.</TD>\r
594 </TR>\r
595 <TR BGCOLOR="white" CLASS="TableRowColor">\r
596 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
597 <CODE>&nbsp;void</CODE></FONT></TD>\r
598 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#processUtterance(com.sun.speech.freetts.Utterance)">processUtterance</A></B>(<A HREF="../../../../com/sun/speech/freetts/Utterance.html" title="class in com.sun.speech.freetts">Utterance</A>&nbsp;u)</CODE>\r
599 \r
600 <BR>\r
601 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Processes the given Utterance by passing it to each
602  UtteranceProcessor managed by this Voice.  </TD>\r
603 </TR>\r
604 <TR BGCOLOR="white" CLASS="TableRowColor">\r
605 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
606 <CODE>protected &nbsp;void</CODE></FONT></TD>\r
607 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#setAge(com.sun.speech.freetts.Age)">setAge</A></B>(<A HREF="../../../../com/sun/speech/freetts/Age.html" title="class in com.sun.speech.freetts">Age</A>&nbsp;age)</CODE>\r
608 \r
609 <BR>\r
610 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the age of this voice.</TD>\r
611 </TR>\r
612 <TR BGCOLOR="white" CLASS="TableRowColor">\r
613 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
614 <CODE>&nbsp;void</CODE></FONT></TD>\r
615 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#setAudioPlayer(com.sun.speech.freetts.audio.AudioPlayer)">setAudioPlayer</A></B>(<A HREF="../../../../com/sun/speech/freetts/audio/AudioPlayer.html" title="interface in com.sun.speech.freetts.audio">AudioPlayer</A>&nbsp;player)</CODE>\r
616 \r
617 <BR>\r
618 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the audio player associated with this voice. </TD>\r
619 </TR>\r
620 <TR BGCOLOR="white" CLASS="TableRowColor">\r
621 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
622 <CODE>protected &nbsp;void</CODE></FONT></TD>\r
623 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#setDescription(java.lang.String)">setDescription</A></B>(java.lang.String&nbsp;description)</CODE>\r
624 \r
625 <BR>\r
626 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the description of this voice.</TD>\r
627 </TR>\r
628 <TR BGCOLOR="white" CLASS="TableRowColor">\r
629 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
630 <CODE>&nbsp;void</CODE></FONT></TD>\r
631 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#setDetailedMetrics(boolean)">setDetailedMetrics</A></B>(boolean&nbsp;detailedMetrics)</CODE>\r
632 \r
633 <BR>\r
634 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the state of the detailedMetrics mode.</TD>\r
635 </TR>\r
636 <TR BGCOLOR="white" CLASS="TableRowColor">\r
637 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
638 <CODE>protected &nbsp;void</CODE></FONT></TD>\r
639 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#setDomain(java.lang.String)">setDomain</A></B>(java.lang.String&nbsp;domain)</CODE>\r
640 \r
641 <BR>\r
642 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the domain of this voice.</TD>\r
643 </TR>\r
644 <TR BGCOLOR="white" CLASS="TableRowColor">\r
645 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
646 <CODE>&nbsp;void</CODE></FONT></TD>\r
647 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#setDumpRelations(boolean)">setDumpRelations</A></B>(boolean&nbsp;dumpRelations)</CODE>\r
648 \r
649 <BR>\r
650 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the state of the dumpRelations mode.</TD>\r
651 </TR>\r
652 <TR BGCOLOR="white" CLASS="TableRowColor">\r
653 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
654 <CODE>&nbsp;void</CODE></FONT></TD>\r
655 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#setDumpUtterance(boolean)">setDumpUtterance</A></B>(boolean&nbsp;dumpUtterance)</CODE>\r
656 \r
657 <BR>\r
658 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the state of the dumpUtterance mode.</TD>\r
659 </TR>\r
660 <TR BGCOLOR="white" CLASS="TableRowColor">\r
661 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
662 <CODE>&nbsp;void</CODE></FONT></TD>\r
663 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#setDurationStretch(float)">setDurationStretch</A></B>(float&nbsp;stretch)</CODE>\r
664 \r
665 <BR>\r
666 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the duration  stretch</TD>\r
667 </TR>\r
668 <TR BGCOLOR="white" CLASS="TableRowColor">\r
669 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
670 <CODE>protected &nbsp;void</CODE></FONT></TD>\r
671 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#setGender(com.sun.speech.freetts.Gender)">setGender</A></B>(<A HREF="../../../../com/sun/speech/freetts/Gender.html" title="class in com.sun.speech.freetts">Gender</A>&nbsp;gender)</CODE>\r
672 \r
673 <BR>\r
674 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the gender of this voice.</TD>\r
675 </TR>\r
676 <TR BGCOLOR="white" CLASS="TableRowColor">\r
677 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
678 <CODE>&nbsp;void</CODE></FONT></TD>\r
679 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#setLexicon(com.sun.speech.freetts.lexicon.Lexicon)">setLexicon</A></B>(<A HREF="../../../../com/sun/speech/freetts/lexicon/Lexicon.html" title="interface in com.sun.speech.freetts.lexicon">Lexicon</A>&nbsp;lexicon)</CODE>\r
680 \r
681 <BR>\r
682 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the lexicon to be used by this voice.</TD>\r
683 </TR>\r
684 <TR BGCOLOR="white" CLASS="TableRowColor">\r
685 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
686 <CODE>protected &nbsp;void</CODE></FONT></TD>\r
687 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#setLoaded(boolean)">setLoaded</A></B>(boolean&nbsp;loaded)</CODE>\r
688 \r
689 <BR>\r
690 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the loaded state</TD>\r
691 </TR>\r
692 <TR BGCOLOR="white" CLASS="TableRowColor">\r
693 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
694 <CODE>protected &nbsp;void</CODE></FONT></TD>\r
695 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#setLocale(java.util.Locale)">setLocale</A></B>(java.util.Locale&nbsp;locale)</CODE>\r
696 \r
697 <BR>\r
698 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the locale of this voice.</TD>\r
699 </TR>\r
700 <TR BGCOLOR="white" CLASS="TableRowColor">\r
701 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
702 <CODE>&nbsp;void</CODE></FONT></TD>\r
703 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#setMetrics(boolean)">setMetrics</A></B>(boolean&nbsp;metrics)</CODE>\r
704 \r
705 <BR>\r
706 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the metrics mode.</TD>\r
707 </TR>\r
708 <TR BGCOLOR="white" CLASS="TableRowColor">\r
709 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
710 <CODE>protected &nbsp;void</CODE></FONT></TD>\r
711 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#setName(java.lang.String)">setName</A></B>(java.lang.String&nbsp;name)</CODE>\r
712 \r
713 <BR>\r
714 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the name of this voice.
715  </TD>\r
716 </TR>\r
717 <TR BGCOLOR="white" CLASS="TableRowColor">\r
718 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
719 <CODE>protected &nbsp;void</CODE></FONT></TD>\r
720 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#setOrganization(java.lang.String)">setOrganization</A></B>(java.lang.String&nbsp;organization)</CODE>\r
721 \r
722 <BR>\r
723 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the organization which created this voice.  </TD>\r
724 </TR>\r
725 <TR BGCOLOR="white" CLASS="TableRowColor">\r
726 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
727 <CODE>&nbsp;void</CODE></FONT></TD>\r
728 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#setOutputQueue(com.sun.speech.freetts.OutputQueue)">setOutputQueue</A></B>(<A HREF="../../../../com/sun/speech/freetts/OutputQueue.html" title="class in com.sun.speech.freetts">OutputQueue</A>&nbsp;queue)</CODE>\r
729 \r
730 <BR>\r
731 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the output queue for this voice. </TD>\r
732 </TR>\r
733 <TR BGCOLOR="white" CLASS="TableRowColor">\r
734 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
735 <CODE>&nbsp;void</CODE></FONT></TD>\r
736 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#setPitch(float)">setPitch</A></B>(float&nbsp;hertz)</CODE>\r
737 \r
738 <BR>\r
739 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the baseline pitch.</TD>\r
740 </TR>\r
741 <TR BGCOLOR="white" CLASS="TableRowColor">\r
742 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
743 <CODE>&nbsp;void</CODE></FONT></TD>\r
744 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#setPitchRange(float)">setPitchRange</A></B>(float&nbsp;range)</CODE>\r
745 \r
746 <BR>\r
747 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the pitch range.</TD>\r
748 </TR>\r
749 <TR BGCOLOR="white" CLASS="TableRowColor">\r
750 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
751 <CODE>&nbsp;void</CODE></FONT></TD>\r
752 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#setPitchShift(float)">setPitchShift</A></B>(float&nbsp;shift)</CODE>\r
753 \r
754 <BR>\r
755 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the pitch shift</TD>\r
756 </TR>\r
757 <TR BGCOLOR="white" CLASS="TableRowColor">\r
758 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
759 <CODE>&nbsp;void</CODE></FONT></TD>\r
760 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#setRate(float)">setRate</A></B>(float&nbsp;wpm)</CODE>\r
761 \r
762 <BR>\r
763 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the rate of speech.</TD>\r
764 </TR>\r
765 <TR BGCOLOR="white" CLASS="TableRowColor">\r
766 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
767 <CODE>&nbsp;void</CODE></FONT></TD>\r
768 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#setRunTitle(java.lang.String)">setRunTitle</A></B>(java.lang.String&nbsp;runTitle)</CODE>\r
769 \r
770 <BR>\r
771 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the title for this run.</TD>\r
772 </TR>\r
773 <TR BGCOLOR="white" CLASS="TableRowColor">\r
774 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
775 <CODE>&nbsp;void</CODE></FONT></TD>\r
776 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#setStyle(java.lang.String)">setStyle</A></B>(java.lang.String&nbsp;style)</CODE>\r
777 \r
778 <BR>\r
779 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the voice style. </TD>\r
780 </TR>\r
781 <TR BGCOLOR="white" CLASS="TableRowColor">\r
782 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
783 <CODE>&nbsp;void</CODE></FONT></TD>\r
784 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#setVolume(float)">setVolume</A></B>(float&nbsp;vol)</CODE>\r
785 \r
786 <BR>\r
787 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the volume.</TD>\r
788 </TR>\r
789 <TR BGCOLOR="white" CLASS="TableRowColor">\r
790 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
791 <CODE>&nbsp;void</CODE></FONT></TD>\r
792 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#setWaveDumpFile(java.lang.String)">setWaveDumpFile</A></B>(java.lang.String&nbsp;waveDumpFile)</CODE>\r
793 \r
794 <BR>\r
795 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the dumpfile for this voice.</TD>\r
796 </TR>\r
797 <TR BGCOLOR="white" CLASS="TableRowColor">\r
798 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
799 <CODE>&nbsp;boolean</CODE></FONT></TD>\r
800 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#speak(org.w3c.dom.Document)">speak</A></B>(org.w3c.dom.Document&nbsp;doc)</CODE>\r
801 \r
802 <BR>\r
803 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Speaks the given document.</TD>\r
804 </TR>\r
805 <TR BGCOLOR="white" CLASS="TableRowColor">\r
806 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
807 <CODE>&nbsp;boolean</CODE></FONT></TD>\r
808 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#speak(com.sun.speech.freetts.FreeTTSSpeakable)">speak</A></B>(<A HREF="../../../../com/sun/speech/freetts/FreeTTSSpeakable.html" title="interface in com.sun.speech.freetts">FreeTTSSpeakable</A>&nbsp;speakable)</CODE>\r
809 \r
810 <BR>\r
811 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Speak the given queue item. </TD>\r
812 </TR>\r
813 <TR BGCOLOR="white" CLASS="TableRowColor">\r
814 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
815 <CODE>&nbsp;boolean</CODE></FONT></TD>\r
816 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#speak(java.io.InputStream)">speak</A></B>(java.io.InputStream&nbsp;inputStream)</CODE>\r
817 \r
818 <BR>\r
819 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Speaks the input stream.</TD>\r
820 </TR>\r
821 <TR BGCOLOR="white" CLASS="TableRowColor">\r
822 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
823 <CODE>&nbsp;boolean</CODE></FONT></TD>\r
824 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#speak(java.lang.String)">speak</A></B>(java.lang.String&nbsp;text)</CODE>\r
825 \r
826 <BR>\r
827 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Speaks the given text.</TD>\r
828 </TR>\r
829 <TR BGCOLOR="white" CLASS="TableRowColor">\r
830 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
831 <CODE>&nbsp;void</CODE></FONT></TD>\r
832 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#startBatch()">startBatch</A></B>()</CODE>\r
833 \r
834 <BR>\r
835 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Starts a batch of utterances. </TD>\r
836 </TR>\r
837 <TR BGCOLOR="white" CLASS="TableRowColor">\r
838 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
839 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>\r
840 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Voice.html#toString()">toString</A></B>()</CODE>\r
841 \r
842 <BR>\r
843 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the name of this Voice.</TD>\r
844 </TR>\r
845 </TABLE>\r
846 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
847 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
848 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">\r
849 <TD><B>Methods inherited from class java.lang.Object</B></TD>\r
850 </TR>\r
851 <TR BGCOLOR="white" CLASS="TableRowColor">\r
852 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>\r
853 </TR>\r
854 </TABLE>\r
855 &nbsp;\r
856 <P>\r
857 \r
858 <!-- ============ FIELD DETAIL =========== -->\r
859 \r
860 <A NAME="field_detail"><!-- --></A>
861 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
862 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
863 <TD COLSPAN=1><FONT SIZE="+2">\r
864 <B>Field Detail</B></FONT></TD>\r
865 </TR>\r
866 </TABLE>\r
867 \r
868 <A NAME="DATABASE_NAME"><!-- --></A><H3>\r
869 DATABASE_NAME</H3>\r
870 <PRE>\r
871 public static final java.lang.String <B>DATABASE_NAME</B></PRE>\r
872 <DL>\r
873 <DD>Constant that describes the name of the unit database used by
874  this voice.\r
875 <P>\r
876 <DL>\r
877 <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.sun.speech.freetts.Voice.DATABASE_NAME">Constant Field Values</A></DL>\r
878 </DL>\r
879 <HR>\r
880 \r
881 <A NAME="PROP_PREFIX"><!-- --></A><H3>\r
882 PROP_PREFIX</H3>\r
883 <PRE>\r
884 public static final java.lang.String <B>PROP_PREFIX</B></PRE>\r
885 <DL>\r
886 <DD>Prefix for System property names.\r
887 <P>\r
888 <DL>\r
889 <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.sun.speech.freetts.Voice.PROP_PREFIX">Constant Field Values</A></DL>\r
890 </DL>\r
891 <HR>\r
892 \r
893 <A NAME="FEATURE_SILENCE"><!-- --></A><H3>\r
894 FEATURE_SILENCE</H3>\r
895 <PRE>\r
896 public static final java.lang.String <B>FEATURE_SILENCE</B></PRE>\r
897 <DL>\r
898 <DD>Feature name for the silence phone string.\r
899 <P>\r
900 <DL>\r
901 <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.sun.speech.freetts.Voice.FEATURE_SILENCE">Constant Field Values</A></DL>\r
902 </DL>\r
903 <HR>\r
904 \r
905 <A NAME="FEATURE_JOIN_TYPE"><!-- --></A><H3>\r
906 FEATURE_JOIN_TYPE</H3>\r
907 <PRE>\r
908 public static final java.lang.String <B>FEATURE_JOIN_TYPE</B></PRE>\r
909 <DL>\r
910 <DD>Feature name for the join type string.\r
911 <P>\r
912 <DL>\r
913 <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.sun.speech.freetts.Voice.FEATURE_JOIN_TYPE">Constant Field Values</A></DL>\r
914 </DL>\r
915 <HR>\r
916 \r
917 <A NAME="DEFAULT_AUDIO_PLAYER"><!-- --></A><H3>\r
918 DEFAULT_AUDIO_PLAYER</H3>\r
919 <PRE>\r
920 public static final java.lang.String <B>DEFAULT_AUDIO_PLAYER</B></PRE>\r
921 <DL>\r
922 <DD>Feature name for the default AudioPlayer class to use.\r
923 <P>\r
924 <DL>\r
925 <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.sun.speech.freetts.Voice.DEFAULT_AUDIO_PLAYER">Constant Field Values</A></DL>\r
926 </DL>\r
927 <HR>\r
928 \r
929 <A NAME="DEFAULT_AUDIO_PLAYER_DEFAULT"><!-- --></A><H3>\r
930 DEFAULT_AUDIO_PLAYER_DEFAULT</H3>\r
931 <PRE>\r
932 public static final java.lang.String <B>DEFAULT_AUDIO_PLAYER_DEFAULT</B></PRE>\r
933 <DL>\r
934 <DD>The default class to use for the DEFAULT_AUDIO_PLAYER.\r
935 <P>\r
936 <DL>\r
937 <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.sun.speech.freetts.Voice.DEFAULT_AUDIO_PLAYER_DEFAULT">Constant Field Values</A></DL>\r
938 </DL>\r
939 \r
940 <!-- ========= CONSTRUCTOR DETAIL ======== -->\r
941 \r
942 <A NAME="constructor_detail"><!-- --></A>
943 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
944 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
945 <TD COLSPAN=1><FONT SIZE="+2">\r
946 <B>Constructor Detail</B></FONT></TD>\r
947 </TR>\r
948 </TABLE>\r
949 \r
950 <A NAME="Voice()"><!-- --></A><H3>\r
951 Voice</H3>\r
952 <PRE>\r
953 public <B>Voice</B>()</PRE>\r
954 <DL>\r
955 <DD>Creates a new Voice. Utterances are sent to an
956  output queue to be rendered as audio.  Utterances are placed
957  on the queue by an output thread. This
958  queue is usually created via a call to 'createOutputThread,'
959  which creates a thread that waits on the queue and sends the
960  output to the audio player associated with this voice. If
961  the queue is null, the output is rendered in the calling
962  thread.\r
963 <P>\r
964 <DT><B>See Also:</B><DD><A HREF="../../../../com/sun/speech/freetts/Voice.html#createOutputThread()"><CODE>createOutputThread()</CODE></A></DL>\r
965 <HR>\r
966 \r
967 <A NAME="Voice(java.lang.String, com.sun.speech.freetts.Gender, com.sun.speech.freetts.Age, java.lang.String, java.util.Locale, java.lang.String, java.lang.String)"><!-- --></A><H3>\r
968 Voice</H3>\r
969 <PRE>\r
970 public <B>Voice</B>(java.lang.String&nbsp;name,
971              <A HREF="../../../../com/sun/speech/freetts/Gender.html" title="class in com.sun.speech.freetts">Gender</A>&nbsp;gender,
972              <A HREF="../../../../com/sun/speech/freetts/Age.html" title="class in com.sun.speech.freetts">Age</A>&nbsp;age,
973              java.lang.String&nbsp;description,
974              java.util.Locale&nbsp;locale,
975              java.lang.String&nbsp;domain,
976              java.lang.String&nbsp;organization)</PRE>\r
977 <DL>\r
978 <DD>Creates a new Voice like above, except that it also
979  stores the properties of the voice.\r
980 <P>\r
981 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the voice<DD><CODE>gender</CODE> - the gender of the voice<DD><CODE>age</CODE> - the age of the voice<DD><CODE>description</CODE> - a human-readable string providing a
982  description that can be displayed for the users.<DD><CODE>locale</CODE> - the locale of the voice<DD><CODE>domain</CODE> - the domain of this voice.  For example,<DD><CODE>organization</CODE> - the organization which created the voice
983  &quot;general&quot;, &quot;time&quot;, or
984  &quot;weather&quot;.<DT><B>See Also:</B><DD><A HREF="../../../../com/sun/speech/freetts/Voice.html#Voice()"><CODE>Voice()</CODE></A></DL>\r
985 \r
986 <!-- ============ METHOD DETAIL ========== -->\r
987 \r
988 <A NAME="method_detail"><!-- --></A>
989 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
990 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
991 <TD COLSPAN=1><FONT SIZE="+2">\r
992 <B>Method Detail</B></FONT></TD>\r
993 </TR>\r
994 </TABLE>\r
995 \r
996 <A NAME="speak(java.lang.String)"><!-- --></A><H3>\r
997 speak</H3>\r
998 <PRE>\r
999 public boolean <B>speak</B>(java.lang.String&nbsp;text)</PRE>\r
1000 <DL>\r
1001 <DD>Speaks the given text.\r
1002 <P>\r
1003 <DD><DL>\r
1004 </DL>\r
1005 </DD>\r
1006 <DD><DL>\r
1007 <DT><B>Parameters:</B><DD><CODE>text</CODE> - the text to speak
1008 <DT><B>Returns:</B><DD><code>true</code> if the given text is spoken properly;
1009    otherwise <code>false</code></DL>\r
1010 </DD>\r
1011 </DL>\r
1012 <HR>\r
1013 \r
1014 <A NAME="speak(org.w3c.dom.Document)"><!-- --></A><H3>\r
1015 speak</H3>\r
1016 <PRE>\r
1017 public boolean <B>speak</B>(org.w3c.dom.Document&nbsp;doc)</PRE>\r
1018 <DL>\r
1019 <DD>Speaks the given document.\r
1020 <P>\r
1021 <DD><DL>\r
1022 </DL>\r
1023 </DD>\r
1024 <DD><DL>\r
1025 <DT><B>Parameters:</B><DD><CODE>doc</CODE> - the JSML document to speak
1026 <DT><B>Returns:</B><DD><code>true</code> if the given document is spoken properly;
1027    otherwise <code>false</code></DL>\r
1028 </DD>\r
1029 </DL>\r
1030 <HR>\r
1031 \r
1032 <A NAME="speak(java.io.InputStream)"><!-- --></A><H3>\r
1033 speak</H3>\r
1034 <PRE>\r
1035 public boolean <B>speak</B>(java.io.InputStream&nbsp;inputStream)</PRE>\r
1036 <DL>\r
1037 <DD>Speaks the input stream.\r
1038 <P>\r
1039 <DD><DL>\r
1040 </DL>\r
1041 </DD>\r
1042 <DD><DL>\r
1043 <DT><B>Parameters:</B><DD><CODE>inputStream</CODE> - the inputStream to speak
1044 <DT><B>Returns:</B><DD><code>true</code> if the given input stream is spoken properly;
1045    otherwise <code>false</code></DL>\r
1046 </DD>\r
1047 </DL>\r
1048 <HR>\r
1049 \r
1050 <A NAME="speak(com.sun.speech.freetts.FreeTTSSpeakable)"><!-- --></A><H3>\r
1051 speak</H3>\r
1052 <PRE>\r
1053 public boolean <B>speak</B>(<A HREF="../../../../com/sun/speech/freetts/FreeTTSSpeakable.html" title="interface in com.sun.speech.freetts">FreeTTSSpeakable</A>&nbsp;speakable)</PRE>\r
1054 <DL>\r
1055 <DD>Speak the given queue item. This is a synchronous method that
1056  does not return until the speakable is completely
1057  spoken or has been cancelled.\r
1058 <P>\r
1059 <DD><DL>\r
1060 </DL>\r
1061 </DD>\r
1062 <DD><DL>\r
1063 <DT><B>Parameters:</B><DD><CODE>speakable</CODE> - the item to speak
1064 <DT><B>Returns:</B><DD><code>true</code> if the utterance was spoken properly,
1065          <code>false</code> otherwise</DL>\r
1066 </DD>\r
1067 </DL>\r
1068 <HR>\r
1069 \r
1070 <A NAME="load()"><!-- --></A><H3>\r
1071 load</H3>\r
1072 <PRE>\r
1073 public void <B>load</B>()</PRE>\r
1074 <DL>\r
1075 <DD><B>Deprecated.</B>&nbsp;<I>As of FreeTTS 1.2, replaced by <A HREF="../../../../com/sun/speech/freetts/Voice.html#allocate()"><CODE>allocate()</CODE></A>.</I>\r
1076 <P>\r
1077 <DD><DL>\r
1078 </DL>\r
1079 </DD>\r
1080 <DD><DL>\r
1081 </DL>\r
1082 </DD>\r
1083 </DL>\r
1084 <HR>\r
1085 \r
1086 <A NAME="allocate()"><!-- --></A><H3>\r
1087 allocate</H3>\r
1088 <PRE>\r
1089 public void <B>allocate</B>()</PRE>\r
1090 <DL>\r
1091 <DD>Allocate this Voice. It loads the lexicon and the
1092  audio output handler, and creates an audio output thread by
1093  invoking <code>createOutputThread()</code>, if
1094  one is not already created. It then calls the <code>loader()</code>
1095  method to load Voice-specific data, which include utterance processors.\r
1096 <P>\r
1097 <DD><DL>\r
1098 </DL>\r
1099 </DD>\r
1100 <DD><DL>\r
1101 </DL>\r
1102 </DD>\r
1103 </DL>\r
1104 <HR>\r
1105 \r
1106 <A NAME="isLoaded()"><!-- --></A><H3>\r
1107 isLoaded</H3>\r
1108 <PRE>\r
1109 public boolean <B>isLoaded</B>()</PRE>\r
1110 <DL>\r
1111 <DD>Returns true if this voice is loaded.\r
1112 <P>\r
1113 <DD><DL>\r
1114 </DL>\r
1115 </DD>\r
1116 <DD><DL>\r
1117
1118 <DT><B>Returns:</B><DD><code>true</code> if the voice is loaded;
1119    otherwise <code>false</code></DL>\r
1120 </DD>\r
1121 </DL>\r
1122 <HR>\r
1123 \r
1124 <A NAME="setLoaded(boolean)"><!-- --></A><H3>\r
1125 setLoaded</H3>\r
1126 <PRE>\r
1127 protected void <B>setLoaded</B>(boolean&nbsp;loaded)</PRE>\r
1128 <DL>\r
1129 <DD>Sets the loaded state\r
1130 <P>\r
1131 <DD><DL>\r
1132 </DL>\r
1133 </DD>\r
1134 <DD><DL>\r
1135 <DT><B>Parameters:</B><DD><CODE>loaded</CODE> - the new loaded state
1136    otherwise <code>false</code></DL>\r
1137 </DD>\r
1138 </DL>\r
1139 <HR>\r
1140 \r
1141 <A NAME="processUtterance(com.sun.speech.freetts.Utterance)"><!-- --></A><H3>\r
1142 processUtterance</H3>\r
1143 <PRE>\r
1144 public void <B>processUtterance</B>(<A HREF="../../../../com/sun/speech/freetts/Utterance.html" title="class in com.sun.speech.freetts">Utterance</A>&nbsp;u)
1145                       throws <A HREF="../../../../com/sun/speech/freetts/ProcessException.html" title="class in com.sun.speech.freetts">ProcessException</A></PRE>\r
1146 <DL>\r
1147 <DD>Processes the given Utterance by passing it to each
1148  UtteranceProcessor managed by this Voice.  The
1149  UtteranceProcessors are called in the order they were added to
1150  the Voice.\r
1151 <P>\r
1152 <DD><DL>\r
1153 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sun/speech/freetts/UtteranceProcessor.html#processUtterance(com.sun.speech.freetts.Utterance)">processUtterance</A></CODE> in interface <CODE><A HREF="../../../../com/sun/speech/freetts/UtteranceProcessor.html" title="interface in com.sun.speech.freetts">UtteranceProcessor</A></CODE></DL>\r
1154 </DD>\r
1155 <DD><DL>\r
1156 <DT><B>Parameters:</B><DD><CODE>u</CODE> - the Utterance to process
1157 <DT><B>Throws:</B>
1158 <DD><CODE><A HREF="../../../../com/sun/speech/freetts/ProcessException.html" title="class in com.sun.speech.freetts">ProcessException</A></CODE> - if an exception occurred while performing
1159    operations on the Utterance</DL>\r
1160 </DD>\r
1161 </DL>\r
1162 <HR>\r
1163 \r
1164 <A NAME="createOutputThread()"><!-- --></A><H3>\r
1165 createOutputThread</H3>\r
1166 <PRE>\r
1167 public static <A HREF="../../../../com/sun/speech/freetts/OutputQueue.html" title="class in com.sun.speech.freetts">OutputQueue</A> <B>createOutputThread</B>()</PRE>\r
1168 <DL>\r
1169 <DD>Creates an output thread that will asynchronously
1170  output utterances that are generated by this voice (and other
1171  voices).\r
1172 <P>\r
1173 <DD><DL>\r
1174 </DL>\r
1175 </DD>\r
1176 <DD><DL>\r
1177
1178 <DT><B>Returns:</B><DD>the queue where utterances should be placed.</DL>\r
1179 </DD>\r
1180 </DL>\r
1181 <HR>\r
1182 \r
1183 <A NAME="getTokenizer()"><!-- --></A><H3>\r
1184 getTokenizer</H3>\r
1185 <PRE>\r
1186 public abstract <A HREF="../../../../com/sun/speech/freetts/Tokenizer.html" title="interface in com.sun.speech.freetts">Tokenizer</A> <B>getTokenizer</B>()</PRE>\r
1187 <DL>\r
1188 <DD>Returns the tokenizer associated with this voice.\r
1189 <P>\r
1190 <DD><DL>\r
1191 </DL>\r
1192 </DD>\r
1193 <DD><DL>\r
1194
1195 <DT><B>Returns:</B><DD>the tokenizer</DL>\r
1196 </DD>\r
1197 </DL>\r
1198 <HR>\r
1199 \r
1200 <A NAME="getUtteranceProcessors()"><!-- --></A><H3>\r
1201 getUtteranceProcessors</H3>\r
1202 <PRE>\r
1203 public java.util.List <B>getUtteranceProcessors</B>()</PRE>\r
1204 <DL>\r
1205 <DD>Return the list of UtteranceProcessor instances.  Applications
1206  should use this to obtain and modify the contents of the
1207  UtteranceProcessor list.\r
1208 <P>\r
1209 <DD><DL>\r
1210 </DL>\r
1211 </DD>\r
1212 <DD><DL>\r
1213
1214 <DT><B>Returns:</B><DD>a List containing UtteranceProcessor instances</DL>\r
1215 </DD>\r
1216 </DL>\r
1217 <HR>\r
1218 \r
1219 <A NAME="getFeatures()"><!-- --></A><H3>\r
1220 getFeatures</H3>\r
1221 <PRE>\r
1222 public <A HREF="../../../../com/sun/speech/freetts/FeatureSet.html" title="interface in com.sun.speech.freetts">FeatureSet</A> <B>getFeatures</B>()</PRE>\r
1223 <DL>\r
1224 <DD>Returns the feature set associated with this voice.\r
1225 <P>\r
1226 <DD><DL>\r
1227 </DL>\r
1228 </DD>\r
1229 <DD><DL>\r
1230
1231 <DT><B>Returns:</B><DD>the feature set.</DL>\r
1232 </DD>\r
1233 </DL>\r
1234 <HR>\r
1235 \r
1236 <A NAME="startBatch()"><!-- --></A><H3>\r
1237 startBatch</H3>\r
1238 <PRE>\r
1239 public void <B>startBatch</B>()</PRE>\r
1240 <DL>\r
1241 <DD>Starts a batch of utterances. Utterances are sometimes
1242  batched in groups for timing purposes.\r
1243 <P>\r
1244 <DD><DL>\r
1245 </DL>\r
1246 </DD>\r
1247 <DD><DL>\r
1248 <DT><B>See Also:</B><DD><A HREF="../../../../com/sun/speech/freetts/Voice.html#endBatch()"><CODE>endBatch()</CODE></A></DL>\r
1249 </DD>\r
1250 </DL>\r
1251 <HR>\r
1252 \r
1253 <A NAME="endBatch()"><!-- --></A><H3>\r
1254 endBatch</H3>\r
1255 <PRE>\r
1256 public void <B>endBatch</B>()</PRE>\r
1257 <DL>\r
1258 <DD>Ends a batch of utterances.\r
1259 <P>\r
1260 <DD><DL>\r
1261 </DL>\r
1262 </DD>\r
1263 <DD><DL>\r
1264 <DT><B>See Also:</B><DD><A HREF="../../../../com/sun/speech/freetts/Voice.html#startBatch()"><CODE>startBatch()</CODE></A></DL>\r
1265 </DD>\r
1266 </DL>\r
1267 <HR>\r
1268 \r
1269 <A NAME="setOutputQueue(com.sun.speech.freetts.OutputQueue)"><!-- --></A><H3>\r
1270 setOutputQueue</H3>\r
1271 <PRE>\r
1272 public void <B>setOutputQueue</B>(<A HREF="../../../../com/sun/speech/freetts/OutputQueue.html" title="class in com.sun.speech.freetts">OutputQueue</A>&nbsp;queue)</PRE>\r
1273 <DL>\r
1274 <DD>Sets the output queue for this voice. If no output queue is set
1275  for the voice when the voice is loaded, a queue and thread will
1276  be created when the voice is loaded.  If the outputQueue is set
1277  by an external entity by calling setOutputQueue, the caller is
1278  responsible for shutting down the output thread. That is, if
1279  you call 'setOutputQueue' then you are responsible for shutting
1280  down the output thread on your own. This is necessary since the
1281  output queue may be shared by a number of voices.
1282
1283  <p>Utterances are placed on the
1284     queue to be output by an output thread. This queue is
1285     usually created via a call to 'createOutputThread' which
1286     creates a thread that waits on the queue and sends the
1287     output to the audio player associated with this voice. If
1288     the queue is null, the output is rendered in the calling
1289     thread.\r
1290 <P>\r
1291 <DD><DL>\r
1292 </DL>\r
1293 </DD>\r
1294 <DD><DL>\r
1295 <DT><B>Parameters:</B><DD><CODE>queue</CODE> - the output queue</DL>\r
1296 </DD>\r
1297 </DL>\r
1298 <HR>\r
1299 \r
1300 <A NAME="getOutputQueue()"><!-- --></A><H3>\r
1301 getOutputQueue</H3>\r
1302 <PRE>\r
1303 public <A HREF="../../../../com/sun/speech/freetts/OutputQueue.html" title="class in com.sun.speech.freetts">OutputQueue</A> <B>getOutputQueue</B>()</PRE>\r
1304 <DL>\r
1305 <DD>Returns the output queue associated with this voice.\r
1306 <P>\r
1307 <DD><DL>\r
1308 </DL>\r
1309 </DD>\r
1310 <DD><DL>\r
1311
1312 <DT><B>Returns:</B><DD>the output queue associated with this voice</DL>\r
1313 </DD>\r
1314 </DL>\r
1315 <HR>\r
1316 \r
1317 <A NAME="loader()"><!-- --></A><H3>\r
1318 loader</H3>\r
1319 <PRE>\r
1320 protected abstract void <B>loader</B>()
1321                         throws java.io.IOException</PRE>\r
1322 <DL>\r
1323 <DD>Loads voice specific data. Subclasses of voice should
1324  implement this to perform class specific loading.\r
1325 <P>\r
1326 <DD><DL>\r
1327 </DL>\r
1328 </DD>\r
1329 <DD><DL>\r
1330
1331 <DT><B>Throws:</B>
1332 <DD><CODE>java.io.IOException</CODE></DL>\r
1333 </DD>\r
1334 </DL>\r
1335 <HR>\r
1336 \r
1337 <A NAME="processNode(org.w3c.dom.Node, java.lang.StringBuffer)"><!-- --></A><H3>\r
1338 processNode</H3>\r
1339 <PRE>\r
1340 protected java.lang.StringBuffer <B>processNode</B>(org.w3c.dom.Node&nbsp;n,
1341                                              java.lang.StringBuffer&nbsp;buf)</PRE>\r
1342 <DL>\r
1343 <DD>Adds text for just this node and returns any text that might
1344  be needed to undo the effects of this node after it is
1345  processed.\r
1346 <P>\r
1347 <DD><DL>\r
1348 </DL>\r
1349 </DD>\r
1350 <DD><DL>\r
1351 <DT><B>Parameters:</B><DD><CODE>n</CODE> - the node to traverse in depth-first order<DD><CODE>buf</CODE> - the buffer to append text to
1352 <DT><B>Returns:</B><DD>a <code>String</code> containing text to undo the
1353    effects of the node</DL>\r
1354 </DD>\r
1355 </DL>\r
1356 <HR>\r
1357 \r
1358 <A NAME="dump(java.io.PrintWriter, int, java.lang.String)"><!-- --></A><H3>\r
1359 dump</H3>\r
1360 <PRE>\r
1361 public void <B>dump</B>(java.io.PrintWriter&nbsp;output,
1362                  int&nbsp;pad,
1363                  java.lang.String&nbsp;title)</PRE>\r
1364 <DL>\r
1365 <DD>Dumps the voice in textual form.\r
1366 <P>\r
1367 <DD><DL>\r
1368 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sun/speech/freetts/Dumpable.html#dump(java.io.PrintWriter, int, java.lang.String)">dump</A></CODE> in interface <CODE><A HREF="../../../../com/sun/speech/freetts/Dumpable.html" title="interface in com.sun.speech.freetts">Dumpable</A></CODE></DL>\r
1369 </DD>\r
1370 <DD><DL>\r
1371 <DT><B>Parameters:</B><DD><CODE>output</CODE> - where to send the formatted output<DD><CODE>pad</CODE> - the initial padding<DD><CODE>title</CODE> - the title to print when dumping out</DL>\r
1372 </DD>\r
1373 </DL>\r
1374 <HR>\r
1375 \r
1376 <A NAME="dumpProcessors(java.io.PrintWriter, int, java.lang.String)"><!-- --></A><H3>\r
1377 dumpProcessors</H3>\r
1378 <PRE>\r
1379 public void <B>dumpProcessors</B>(java.io.PrintWriter&nbsp;output,
1380                            int&nbsp;pad,
1381                            java.lang.String&nbsp;title)</PRE>\r
1382 <DL>\r
1383 <DD>Dumps the voice processors.\r
1384 <P>\r
1385 <DD><DL>\r
1386 </DL>\r
1387 </DD>\r
1388 <DD><DL>\r
1389 <DT><B>Parameters:</B><DD><CODE>output</CODE> - where to send the formatted output<DD><CODE>pad</CODE> - the initial padding<DD><CODE>title</CODE> - the title to print when dumping out</DL>\r
1390 </DD>\r
1391 </DL>\r
1392 <HR>\r
1393 \r
1394 <A NAME="getFeatureProcessor(java.lang.String)"><!-- --></A><H3>\r
1395 getFeatureProcessor</H3>\r
1396 <PRE>\r
1397 public <A HREF="../../../../com/sun/speech/freetts/FeatureProcessor.html" title="interface in com.sun.speech.freetts">FeatureProcessor</A> <B>getFeatureProcessor</B>(java.lang.String&nbsp;name)</PRE>\r
1398 <DL>\r
1399 <DD>Returns a language/voice specific Feature Processor.\r
1400 <P>\r
1401 <DD><DL>\r
1402 </DL>\r
1403 </DD>\r
1404 <DD><DL>\r
1405 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the processor
1406 <DT><B>Returns:</B><DD>the processor associated with the name or null if none
1407    could be found</DL>\r
1408 </DD>\r
1409 </DL>\r
1410 <HR>\r
1411 \r
1412 <A NAME="addFeatureProcessor(java.lang.String, com.sun.speech.freetts.FeatureProcessor)"><!-- --></A><H3>\r
1413 addFeatureProcessor</H3>\r
1414 <PRE>\r
1415 public void <B>addFeatureProcessor</B>(java.lang.String&nbsp;name,
1416                                 <A HREF="../../../../com/sun/speech/freetts/FeatureProcessor.html" title="interface in com.sun.speech.freetts">FeatureProcessor</A>&nbsp;fp)</PRE>\r
1417 <DL>\r
1418 <DD>Adds a language/voice specific Feature Processor to the set of
1419  FeatureProcessors supported by this voice.\r
1420 <P>\r
1421 <DD><DL>\r
1422 </DL>\r
1423 </DD>\r
1424 <DD><DL>\r
1425 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the processor<DD><CODE>fp</CODE> - the processor</DL>\r
1426 </DD>\r
1427 </DL>\r
1428 <HR>\r
1429 \r
1430 <A NAME="isMetrics()"><!-- --></A><H3>\r
1431 isMetrics</H3>\r
1432 <PRE>\r
1433 public boolean <B>isMetrics</B>()</PRE>\r
1434 <DL>\r
1435 <DD>Gets the state of the metrics mode.\r
1436 <P>\r
1437 <DD><DL>\r
1438 </DL>\r
1439 </DD>\r
1440 <DD><DL>\r
1441
1442 <DT><B>Returns:</B><DD>true if metrics mode is on</DL>\r
1443 </DD>\r
1444 </DL>\r
1445 <HR>\r
1446 \r
1447 <A NAME="setMetrics(boolean)"><!-- --></A><H3>\r
1448 setMetrics</H3>\r
1449 <PRE>\r
1450 public void <B>setMetrics</B>(boolean&nbsp;metrics)</PRE>\r
1451 <DL>\r
1452 <DD>Sets the metrics mode.\r
1453 <P>\r
1454 <DD><DL>\r
1455 </DL>\r
1456 </DD>\r
1457 <DD><DL>\r
1458 <DT><B>Parameters:</B><DD><CODE>metrics</CODE> - true if metrics mode should be on</DL>\r
1459 </DD>\r
1460 </DL>\r
1461 <HR>\r
1462 \r
1463 <A NAME="isDetailedMetrics()"><!-- --></A><H3>\r
1464 isDetailedMetrics</H3>\r
1465 <PRE>\r
1466 public boolean <B>isDetailedMetrics</B>()</PRE>\r
1467 <DL>\r
1468 <DD>Gets the state of the detailedMetrics mode.\r
1469 <P>\r
1470 <DD><DL>\r
1471 </DL>\r
1472 </DD>\r
1473 <DD><DL>\r
1474
1475 <DT><B>Returns:</B><DD>true if detailedMetrics mode is on</DL>\r
1476 </DD>\r
1477 </DL>\r
1478 <HR>\r
1479 \r
1480 <A NAME="setDetailedMetrics(boolean)"><!-- --></A><H3>\r
1481 setDetailedMetrics</H3>\r
1482 <PRE>\r
1483 public void <B>setDetailedMetrics</B>(boolean&nbsp;detailedMetrics)</PRE>\r
1484 <DL>\r
1485 <DD>Sets the state of the detailedMetrics mode.\r
1486 <P>\r
1487 <DD><DL>\r
1488 </DL>\r
1489 </DD>\r
1490 <DD><DL>\r
1491 <DT><B>Parameters:</B><DD><CODE>detailedMetrics</CODE> - true if detailedMetrics mode should be on</DL>\r
1492 </DD>\r
1493 </DL>\r
1494 <HR>\r
1495 \r
1496 <A NAME="isDumpUtterance()"><!-- --></A><H3>\r
1497 isDumpUtterance</H3>\r
1498 <PRE>\r
1499 public boolean <B>isDumpUtterance</B>()</PRE>\r
1500 <DL>\r
1501 <DD>Gets the state of the dumpUtterance mode.\r
1502 <P>\r
1503 <DD><DL>\r
1504 </DL>\r
1505 </DD>\r
1506 <DD><DL>\r
1507
1508 <DT><B>Returns:</B><DD>true if dumpUtterance mode is on</DL>\r
1509 </DD>\r
1510 </DL>\r
1511 <HR>\r
1512 \r
1513 <A NAME="setDumpUtterance(boolean)"><!-- --></A><H3>\r
1514 setDumpUtterance</H3>\r
1515 <PRE>\r
1516 public void <B>setDumpUtterance</B>(boolean&nbsp;dumpUtterance)</PRE>\r
1517 <DL>\r
1518 <DD>Sets the state of the dumpUtterance mode.\r
1519 <P>\r
1520 <DD><DL>\r
1521 </DL>\r
1522 </DD>\r
1523 <DD><DL>\r
1524 <DT><B>Parameters:</B><DD><CODE>dumpUtterance</CODE> - true if dumpUtterance mode should be on</DL>\r
1525 </DD>\r
1526 </DL>\r
1527 <HR>\r
1528 \r
1529 <A NAME="isDumpRelations()"><!-- --></A><H3>\r
1530 isDumpRelations</H3>\r
1531 <PRE>\r
1532 public boolean <B>isDumpRelations</B>()</PRE>\r
1533 <DL>\r
1534 <DD>Gets the state of the dumpRelations mode.\r
1535 <P>\r
1536 <DD><DL>\r
1537 </DL>\r
1538 </DD>\r
1539 <DD><DL>\r
1540
1541 <DT><B>Returns:</B><DD>true if dumpRelations mode is on</DL>\r
1542 </DD>\r
1543 </DL>\r
1544 <HR>\r
1545 \r
1546 <A NAME="setDumpRelations(boolean)"><!-- --></A><H3>\r
1547 setDumpRelations</H3>\r
1548 <PRE>\r
1549 public void <B>setDumpRelations</B>(boolean&nbsp;dumpRelations)</PRE>\r
1550 <DL>\r
1551 <DD>Sets the state of the dumpRelations mode.\r
1552 <P>\r
1553 <DD><DL>\r
1554 </DL>\r
1555 </DD>\r
1556 <DD><DL>\r
1557 <DT><B>Parameters:</B><DD><CODE>dumpRelations</CODE> - true if dumpRelations mode should be on</DL>\r
1558 </DD>\r
1559 </DL>\r
1560 <HR>\r
1561 \r
1562 <A NAME="setRunTitle(java.lang.String)"><!-- --></A><H3>\r
1563 setRunTitle</H3>\r
1564 <PRE>\r
1565 public void <B>setRunTitle</B>(java.lang.String&nbsp;runTitle)</PRE>\r
1566 <DL>\r
1567 <DD>Sets the title for this run.\r
1568 <P>\r
1569 <DD><DL>\r
1570 </DL>\r
1571 </DD>\r
1572 <DD><DL>\r
1573 <DT><B>Parameters:</B><DD><CODE>runTitle</CODE> - the title for the run</DL>\r
1574 </DD>\r
1575 </DL>\r
1576 <HR>\r
1577 \r
1578 <A NAME="getRunTitle()"><!-- --></A><H3>\r
1579 getRunTitle</H3>\r
1580 <PRE>\r
1581 public java.lang.String <B>getRunTitle</B>()</PRE>\r
1582 <DL>\r
1583 <DD>Gets the title for this run.\r
1584 <P>\r
1585 <DD><DL>\r
1586 </DL>\r
1587 </DD>\r
1588 <DD><DL>\r
1589
1590 <DT><B>Returns:</B><DD>the title for the run</DL>\r
1591 </DD>\r
1592 </DL>\r
1593 <HR>\r
1594 \r
1595 <A NAME="getPhoneFeature(java.lang.String, java.lang.String)"><!-- --></A><H3>\r
1596 getPhoneFeature</H3>\r
1597 <PRE>\r
1598 public java.lang.String <B>getPhoneFeature</B>(java.lang.String&nbsp;phone,
1599                                         java.lang.String&nbsp;featureName)</PRE>\r
1600 <DL>\r
1601 <DD>Given a phoneme and a feature name, returns the feature.\r
1602 <P>\r
1603 <DD><DL>\r
1604 </DL>\r
1605 </DD>\r
1606 <DD><DL>\r
1607 <DT><B>Parameters:</B><DD><CODE>phone</CODE> - the phoneme of interest<DD><CODE>featureName</CODE> - the name of the feature of interest
1608 <DT><B>Returns:</B><DD>the feature with the given name</DL>\r
1609 </DD>\r
1610 </DL>\r
1611 <HR>\r
1612 \r
1613 <A NAME="deallocate()"><!-- --></A><H3>\r
1614 deallocate</H3>\r
1615 <PRE>\r
1616 public void <B>deallocate</B>()</PRE>\r
1617 <DL>\r
1618 <DD>Shuts down the voice processing.\r
1619 <P>\r
1620 <DD><DL>\r
1621 </DL>\r
1622 </DD>\r
1623 <DD><DL>\r
1624 </DL>\r
1625 </DD>\r
1626 </DL>\r
1627 <HR>\r
1628 \r
1629 <A NAME="setPitch(float)"><!-- --></A><H3>\r
1630 setPitch</H3>\r
1631 <PRE>\r
1632 public void <B>setPitch</B>(float&nbsp;hertz)</PRE>\r
1633 <DL>\r
1634 <DD>Sets the baseline pitch.\r
1635 <P>\r
1636 <DD><DL>\r
1637 </DL>\r
1638 </DD>\r
1639 <DD><DL>\r
1640 <DT><B>Parameters:</B><DD><CODE>hertz</CODE> - the baseline pitch in hertz</DL>\r
1641 </DD>\r
1642 </DL>\r
1643 <HR>\r
1644 \r
1645 <A NAME="getPitch()"><!-- --></A><H3>\r
1646 getPitch</H3>\r
1647 <PRE>\r
1648 public float <B>getPitch</B>()</PRE>\r
1649 <DL>\r
1650 <DD>Retreives the baseline pitch.\r
1651 <P>\r
1652 <DD><DL>\r
1653 </DL>\r
1654 </DD>\r
1655 <DD><DL>\r
1656
1657 <DT><B>Returns:</B><DD>the baseline pitch in hertz</DL>\r
1658 </DD>\r
1659 </DL>\r
1660 <HR>\r
1661 \r
1662 <A NAME="setPitchRange(float)"><!-- --></A><H3>\r
1663 setPitchRange</H3>\r
1664 <PRE>\r
1665 public void <B>setPitchRange</B>(float&nbsp;range)</PRE>\r
1666 <DL>\r
1667 <DD>Sets the pitch range.\r
1668 <P>\r
1669 <DD><DL>\r
1670 </DL>\r
1671 </DD>\r
1672 <DD><DL>\r
1673 <DT><B>Parameters:</B><DD><CODE>range</CODE> - the range in hertz</DL>\r
1674 </DD>\r
1675 </DL>\r
1676 <HR>\r
1677 \r
1678 <A NAME="getPitchRange()"><!-- --></A><H3>\r
1679 getPitchRange</H3>\r
1680 <PRE>\r
1681 public float <B>getPitchRange</B>()</PRE>\r
1682 <DL>\r
1683 <DD>Gets the pitch range.\r
1684 <P>\r
1685 <DD><DL>\r
1686 </DL>\r
1687 </DD>\r
1688 <DD><DL>\r
1689
1690 <DT><B>Returns:</B><DD>the range in hertz</DL>\r
1691 </DD>\r
1692 </DL>\r
1693 <HR>\r
1694 \r
1695 <A NAME="setPitchShift(float)"><!-- --></A><H3>\r
1696 setPitchShift</H3>\r
1697 <PRE>\r
1698 public void <B>setPitchShift</B>(float&nbsp;shift)</PRE>\r
1699 <DL>\r
1700 <DD>Sets the pitch shift\r
1701 <P>\r
1702 <DD><DL>\r
1703 </DL>\r
1704 </DD>\r
1705 <DD><DL>\r
1706 <DT><B>Parameters:</B><DD><CODE>shift</CODE> - the pitch shift (1.0 is no shift)</DL>\r
1707 </DD>\r
1708 </DL>\r
1709 <HR>\r
1710 \r
1711 <A NAME="getPitchShift()"><!-- --></A><H3>\r
1712 getPitchShift</H3>\r
1713 <PRE>\r
1714 public float <B>getPitchShift</B>()</PRE>\r
1715 <DL>\r
1716 <DD>Gets the pitch shift.\r
1717 <P>\r
1718 <DD><DL>\r
1719 </DL>\r
1720 </DD>\r
1721 <DD><DL>\r
1722
1723 <DT><B>Returns:</B><DD>the pitch shift</DL>\r
1724 </DD>\r
1725 </DL>\r
1726 <HR>\r
1727 \r
1728 <A NAME="setDurationStretch(float)"><!-- --></A><H3>\r
1729 setDurationStretch</H3>\r
1730 <PRE>\r
1731 public void <B>setDurationStretch</B>(float&nbsp;stretch)</PRE>\r
1732 <DL>\r
1733 <DD>Sets the duration  stretch\r
1734 <P>\r
1735 <DD><DL>\r
1736 </DL>\r
1737 </DD>\r
1738 <DD><DL>\r
1739 <DT><B>Parameters:</B><DD><CODE>stretch</CODE> - the duration stretch (1.0 is no stretch)</DL>\r
1740 </DD>\r
1741 </DL>\r
1742 <HR>\r
1743 \r
1744 <A NAME="getDurationStretch()"><!-- --></A><H3>\r
1745 getDurationStretch</H3>\r
1746 <PRE>\r
1747 public float <B>getDurationStretch</B>()</PRE>\r
1748 <DL>\r
1749 <DD>Gets the duration Stretch\r
1750 <P>\r
1751 <DD><DL>\r
1752 </DL>\r
1753 </DD>\r
1754 <DD><DL>\r
1755
1756 <DT><B>Returns:</B><DD>the duration stretch</DL>\r
1757 </DD>\r
1758 </DL>\r
1759 <HR>\r
1760 \r
1761 <A NAME="setRate(float)"><!-- --></A><H3>\r
1762 setRate</H3>\r
1763 <PRE>\r
1764 public void <B>setRate</B>(float&nbsp;wpm)</PRE>\r
1765 <DL>\r
1766 <DD>Sets the rate of speech.\r
1767 <P>\r
1768 <DD><DL>\r
1769 </DL>\r
1770 </DD>\r
1771 <DD><DL>\r
1772 <DT><B>Parameters:</B><DD><CODE>wpm</CODE> - words per minute</DL>\r
1773 </DD>\r
1774 </DL>\r
1775 <HR>\r
1776 \r
1777 <A NAME="getRate()"><!-- --></A><H3>\r
1778 getRate</H3>\r
1779 <PRE>\r
1780 public float <B>getRate</B>()</PRE>\r
1781 <DL>\r
1782 <DD>Gets the rate of speech.\r
1783 <P>\r
1784 <DD><DL>\r
1785 </DL>\r
1786 </DD>\r
1787 <DD><DL>\r
1788
1789 <DT><B>Returns:</B><DD>words per minute</DL>\r
1790 </DD>\r
1791 </DL>\r
1792 <HR>\r
1793 \r
1794 <A NAME="setVolume(float)"><!-- --></A><H3>\r
1795 setVolume</H3>\r
1796 <PRE>\r
1797 public void <B>setVolume</B>(float&nbsp;vol)</PRE>\r
1798 <DL>\r
1799 <DD>Sets the volume.\r
1800 <P>\r
1801 <DD><DL>\r
1802 </DL>\r
1803 </DD>\r
1804 <DD><DL>\r
1805 <DT><B>Parameters:</B><DD><CODE>vol</CODE> - the volume (0 to 1.0)</DL>\r
1806 </DD>\r
1807 </DL>\r
1808 <HR>\r
1809 \r
1810 <A NAME="getVolume()"><!-- --></A><H3>\r
1811 getVolume</H3>\r
1812 <PRE>\r
1813 public float <B>getVolume</B>()</PRE>\r
1814 <DL>\r
1815 <DD>Gets the volume.\r
1816 <P>\r
1817 <DD><DL>\r
1818 </DL>\r
1819 </DD>\r
1820 <DD><DL>\r
1821
1822 <DT><B>Returns:</B><DD>the volume (0 to 1.0)</DL>\r
1823 </DD>\r
1824 </DL>\r
1825 <HR>\r
1826 \r
1827 <A NAME="getLexicon()"><!-- --></A><H3>\r
1828 getLexicon</H3>\r
1829 <PRE>\r
1830 public <A HREF="../../../../com/sun/speech/freetts/lexicon/Lexicon.html" title="interface in com.sun.speech.freetts.lexicon">Lexicon</A> <B>getLexicon</B>()</PRE>\r
1831 <DL>\r
1832 <DD>Gets the lexicon for this voice.\r
1833 <P>\r
1834 <DD><DL>\r
1835 </DL>\r
1836 </DD>\r
1837 <DD><DL>\r
1838
1839 <DT><B>Returns:</B><DD>the lexicon (or null if there is no lexicon)</DL>\r
1840 </DD>\r
1841 </DL>\r
1842 <HR>\r
1843 \r
1844 <A NAME="setLexicon(com.sun.speech.freetts.lexicon.Lexicon)"><!-- --></A><H3>\r
1845 setLexicon</H3>\r
1846 <PRE>\r
1847 public void <B>setLexicon</B>(<A HREF="../../../../com/sun/speech/freetts/lexicon/Lexicon.html" title="interface in com.sun.speech.freetts.lexicon">Lexicon</A>&nbsp;lexicon)</PRE>\r
1848 <DL>\r
1849 <DD>Sets the lexicon to be used by this voice.\r
1850 <P>\r
1851 <DD><DL>\r
1852 </DL>\r
1853 </DD>\r
1854 <DD><DL>\r
1855 <DT><B>Parameters:</B><DD><CODE>lexicon</CODE> - the lexicon to use</DL>\r
1856 </DD>\r
1857 </DL>\r
1858 <HR>\r
1859 \r
1860 <A NAME="setWaveDumpFile(java.lang.String)"><!-- --></A><H3>\r
1861 setWaveDumpFile</H3>\r
1862 <PRE>\r
1863 public void <B>setWaveDumpFile</B>(java.lang.String&nbsp;waveDumpFile)</PRE>\r
1864 <DL>\r
1865 <DD>Sets the dumpfile for this voice.\r
1866 <P>\r
1867 <DD><DL>\r
1868 </DL>\r
1869 </DD>\r
1870 <DD><DL>\r
1871 <DT><B>Parameters:</B><DD><CODE>waveDumpFile</CODE> - the dumpfile</DL>\r
1872 </DD>\r
1873 </DL>\r
1874 <HR>\r
1875 \r
1876 <A NAME="getWaveDumpFile()"><!-- --></A><H3>\r
1877 getWaveDumpFile</H3>\r
1878 <PRE>\r
1879 public java.lang.String <B>getWaveDumpFile</B>()</PRE>\r
1880 <DL>\r
1881 <DD>Gets the dumpfile for this voice.\r
1882 <P>\r
1883 <DD><DL>\r
1884 </DL>\r
1885 </DD>\r
1886 <DD><DL>\r
1887
1888 <DT><B>Returns:</B><DD>the dumpfile</DL>\r
1889 </DD>\r
1890 </DL>\r
1891 <HR>\r
1892 \r
1893 <A NAME="setAudioPlayer(com.sun.speech.freetts.audio.AudioPlayer)"><!-- --></A><H3>\r
1894 setAudioPlayer</H3>\r
1895 <PRE>\r
1896 public void <B>setAudioPlayer</B>(<A HREF="../../../../com/sun/speech/freetts/audio/AudioPlayer.html" title="interface in com.sun.speech.freetts.audio">AudioPlayer</A>&nbsp;player)</PRE>\r
1897 <DL>\r
1898 <DD>Sets the audio player associated with this voice. The caller is
1899  responsible for closing this player.\r
1900 <P>\r
1901 <DD><DL>\r
1902 </DL>\r
1903 </DD>\r
1904 <DD><DL>\r
1905 <DT><B>Parameters:</B><DD><CODE>player</CODE> - the audio player</DL>\r
1906 </DD>\r
1907 </DL>\r
1908 <HR>\r
1909 \r
1910 <A NAME="getDefaultAudioPlayer()"><!-- --></A><H3>\r
1911 getDefaultAudioPlayer</H3>\r
1912 <PRE>\r
1913 public <A HREF="../../../../com/sun/speech/freetts/audio/AudioPlayer.html" title="interface in com.sun.speech.freetts.audio">AudioPlayer</A> <B>getDefaultAudioPlayer</B>()
1914                                   throws java.lang.InstantiationException</PRE>\r
1915 <DL>\r
1916 <DD>Gets the default audio player for this voice.  The return
1917  value will be non-null only if the DEFAULT_AUDIO_PLAYER
1918  system property has been set to the name of an AudioPlayer
1919  class, and that class is able to be instantiated via a
1920  no arg constructor.  getAudioPlayer will automatically set
1921  the audio player for this voice to the default audio player
1922  if the audio player has not yet been set.\r
1923 <P>\r
1924 <DD><DL>\r
1925 </DL>\r
1926 </DD>\r
1927 <DD><DL>\r
1928
1929 <DT><B>Returns:</B><DD>the default AudioPlayer
1930 <DT><B>Throws:</B>
1931 <DD><CODE>java.lang.InstantiationException</CODE><DT><B>See Also:</B><DD><A HREF="../../../../com/sun/speech/freetts/Voice.html#DEFAULT_AUDIO_PLAYER"><CODE>DEFAULT_AUDIO_PLAYER</CODE></A>, 
1932 <A HREF="../../../../com/sun/speech/freetts/Voice.html#getAudioPlayer()"><CODE>getAudioPlayer()</CODE></A></DL>\r
1933 </DD>\r
1934 </DL>\r
1935 <HR>\r
1936 \r
1937 <A NAME="getAudioPlayer()"><!-- --></A><H3>\r
1938 getAudioPlayer</H3>\r
1939 <PRE>\r
1940 public <A HREF="../../../../com/sun/speech/freetts/audio/AudioPlayer.html" title="interface in com.sun.speech.freetts.audio">AudioPlayer</A> <B>getAudioPlayer</B>()</PRE>\r
1941 <DL>\r
1942 <DD>Gets the audio player associated with this voice.  If the
1943  audio player has not yet been set, the value will default
1944  to the return value of getDefaultAudioPlayer.\r
1945 <P>\r
1946 <DD><DL>\r
1947 </DL>\r
1948 </DD>\r
1949 <DD><DL>\r
1950
1951 <DT><B>Returns:</B><DD>the audio player<DT><B>See Also:</B><DD><A HREF="../../../../com/sun/speech/freetts/Voice.html#getDefaultAudioPlayer()"><CODE>getDefaultAudioPlayer()</CODE></A></DL>\r
1952 </DD>\r
1953 </DL>\r
1954 <HR>\r
1955 \r
1956 <A NAME="getResource(java.lang.String)"><!-- --></A><H3>\r
1957 getResource</H3>\r
1958 <PRE>\r
1959 protected java.net.URL <B>getResource</B>(java.lang.String&nbsp;resource)</PRE>\r
1960 <DL>\r
1961 <DD>Get a resource for this voice.
1962  By default, the voice is searched for in the package
1963  to which the voice class belongs. Subclasses are free to
1964  override this behaviour.\r
1965 <P>\r
1966 <DD><DL>\r
1967 </DL>\r
1968 </DD>\r
1969 <DD><DL>\r
1970 </DL>\r
1971 </DD>\r
1972 </DL>\r
1973 <HR>\r
1974 \r
1975 <A NAME="setName(java.lang.String)"><!-- --></A><H3>\r
1976 setName</H3>\r
1977 <PRE>\r
1978 protected void <B>setName</B>(java.lang.String&nbsp;name)</PRE>\r
1979 <DL>\r
1980 <DD>Set the name of this voice.
1981  [[[TODO: any standard format to the name?]]]\r
1982 <P>\r
1983 <DD><DL>\r
1984 </DL>\r
1985 </DD>\r
1986 <DD><DL>\r
1987 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name to assign this voice</DL>\r
1988 </DD>\r
1989 </DL>\r
1990 <HR>\r
1991 \r
1992 <A NAME="getName()"><!-- --></A><H3>\r
1993 getName</H3>\r
1994 <PRE>\r
1995 public java.lang.String <B>getName</B>()</PRE>\r
1996 <DL>\r
1997 <DD>Get the name of this voice.\r
1998 <P>\r
1999 <DD><DL>\r
2000 </DL>\r
2001 </DD>\r
2002 <DD><DL>\r
2003
2004 <DT><B>Returns:</B><DD>the name</DL>\r
2005 </DD>\r
2006 </DL>\r
2007 <HR>\r
2008 \r
2009 <A NAME="toString()"><!-- --></A><H3>\r
2010 toString</H3>\r
2011 <PRE>\r
2012 public java.lang.String <B>toString</B>()</PRE>\r
2013 <DL>\r
2014 <DD>Returns the name of this Voice.\r
2015 <P>\r
2016 <DD><DL>\r
2017 </DL>\r
2018 </DD>\r
2019 <DD><DL>\r
2020
2021 <DT><B>Returns:</B><DD>the name of this Voice</DL>\r
2022 </DD>\r
2023 </DL>\r
2024 <HR>\r
2025 \r
2026 <A NAME="setGender(com.sun.speech.freetts.Gender)"><!-- --></A><H3>\r
2027 setGender</H3>\r
2028 <PRE>\r
2029 protected void <B>setGender</B>(<A HREF="../../../../com/sun/speech/freetts/Gender.html" title="class in com.sun.speech.freetts">Gender</A>&nbsp;gender)</PRE>\r
2030 <DL>\r
2031 <DD>Set the gender of this voice.\r
2032 <P>\r
2033 <DD><DL>\r
2034 </DL>\r
2035 </DD>\r
2036 <DD><DL>\r
2037 <DT><B>Parameters:</B><DD><CODE>gender</CODE> - the gender to assign</DL>\r
2038 </DD>\r
2039 </DL>\r
2040 <HR>\r
2041 \r
2042 <A NAME="getGender()"><!-- --></A><H3>\r
2043 getGender</H3>\r
2044 <PRE>\r
2045 public <A HREF="../../../../com/sun/speech/freetts/Gender.html" title="class in com.sun.speech.freetts">Gender</A> <B>getGender</B>()</PRE>\r
2046 <DL>\r
2047 <DD>Get the gender of this voice.\r
2048 <P>\r
2049 <DD><DL>\r
2050 </DL>\r
2051 </DD>\r
2052 <DD><DL>\r
2053
2054 <DT><B>Returns:</B><DD>the gender of this voice</DL>\r
2055 </DD>\r
2056 </DL>\r
2057 <HR>\r
2058 \r
2059 <A NAME="setAge(com.sun.speech.freetts.Age)"><!-- --></A><H3>\r
2060 setAge</H3>\r
2061 <PRE>\r
2062 protected void <B>setAge</B>(<A HREF="../../../../com/sun/speech/freetts/Age.html" title="class in com.sun.speech.freetts">Age</A>&nbsp;age)</PRE>\r
2063 <DL>\r
2064 <DD>Set the age of this voice.\r
2065 <P>\r
2066 <DD><DL>\r
2067 </DL>\r
2068 </DD>\r
2069 <DD><DL>\r
2070 <DT><B>Parameters:</B><DD><CODE>age</CODE> - the age to assign</DL>\r
2071 </DD>\r
2072 </DL>\r
2073 <HR>\r
2074 \r
2075 <A NAME="getAge()"><!-- --></A><H3>\r
2076 getAge</H3>\r
2077 <PRE>\r
2078 public <A HREF="../../../../com/sun/speech/freetts/Age.html" title="class in com.sun.speech.freetts">Age</A> <B>getAge</B>()</PRE>\r
2079 <DL>\r
2080 <DD>Get the age of this voice.\r
2081 <P>\r
2082 <DD><DL>\r
2083 </DL>\r
2084 </DD>\r
2085 <DD><DL>\r
2086
2087 <DT><B>Returns:</B><DD>the age of this voice</DL>\r
2088 </DD>\r
2089 </DL>\r
2090 <HR>\r
2091 \r
2092 <A NAME="setDescription(java.lang.String)"><!-- --></A><H3>\r
2093 setDescription</H3>\r
2094 <PRE>\r
2095 protected void <B>setDescription</B>(java.lang.String&nbsp;description)</PRE>\r
2096 <DL>\r
2097 <DD>Set the description of this voice.\r
2098 <P>\r
2099 <DD><DL>\r
2100 </DL>\r
2101 </DD>\r
2102 <DD><DL>\r
2103 <DT><B>Parameters:</B><DD><CODE>description</CODE> - the human readable description to assign</DL>\r
2104 </DD>\r
2105 </DL>\r
2106 <HR>\r
2107 \r
2108 <A NAME="getDescription()"><!-- --></A><H3>\r
2109 getDescription</H3>\r
2110 <PRE>\r
2111 public java.lang.String <B>getDescription</B>()</PRE>\r
2112 <DL>\r
2113 <DD>Get the description of this voice.\r
2114 <P>\r
2115 <DD><DL>\r
2116 </DL>\r
2117 </DD>\r
2118 <DD><DL>\r
2119
2120 <DT><B>Returns:</B><DD>the human readable description of this voice</DL>\r
2121 </DD>\r
2122 </DL>\r
2123 <HR>\r
2124 \r
2125 <A NAME="setLocale(java.util.Locale)"><!-- --></A><H3>\r
2126 setLocale</H3>\r
2127 <PRE>\r
2128 protected void <B>setLocale</B>(java.util.Locale&nbsp;locale)</PRE>\r
2129 <DL>\r
2130 <DD>Set the locale of this voice.\r
2131 <P>\r
2132 <DD><DL>\r
2133 </DL>\r
2134 </DD>\r
2135 <DD><DL>\r
2136 <DT><B>Parameters:</B><DD><CODE>locale</CODE> - the locale of this voice.</DL>\r
2137 </DD>\r
2138 </DL>\r
2139 <HR>\r
2140 \r
2141 <A NAME="getLocale()"><!-- --></A><H3>\r
2142 getLocale</H3>\r
2143 <PRE>\r
2144 public java.util.Locale <B>getLocale</B>()</PRE>\r
2145 <DL>\r
2146 <DD>Get the locale of this voice.\r
2147 <P>\r
2148 <DD><DL>\r
2149 </DL>\r
2150 </DD>\r
2151 <DD><DL>\r
2152
2153 <DT><B>Returns:</B><DD>the locale of this voice.</DL>\r
2154 </DD>\r
2155 </DL>\r
2156 <HR>\r
2157 \r
2158 <A NAME="setDomain(java.lang.String)"><!-- --></A><H3>\r
2159 setDomain</H3>\r
2160 <PRE>\r
2161 protected void <B>setDomain</B>(java.lang.String&nbsp;domain)</PRE>\r
2162 <DL>\r
2163 <DD>Set the domain of this voice.\r
2164 <P>\r
2165 <DD><DL>\r
2166 </DL>\r
2167 </DD>\r
2168 <DD><DL>\r
2169 <DT><B>Parameters:</B><DD><CODE>domain</CODE> - the domain of this voice.  For example,
2170  &quot;general&quot;, &quot;time&quot;, or
2171  &quot;weather&quot;.</DL>\r
2172 </DD>\r
2173 </DL>\r
2174 <HR>\r
2175 \r
2176 <A NAME="getDomain()"><!-- --></A><H3>\r
2177 getDomain</H3>\r
2178 <PRE>\r
2179 public java.lang.String <B>getDomain</B>()</PRE>\r
2180 <DL>\r
2181 <DD>Get the domain of this voice.\r
2182 <P>\r
2183 <DD><DL>\r
2184 </DL>\r
2185 </DD>\r
2186 <DD><DL>\r
2187
2188 <DT><B>Returns:</B><DD>the domain of this voice.  For example,
2189  &quot;general&quot;, &quot;time&quot;, or
2190  &quot;weather&quot;.</DL>\r
2191 </DD>\r
2192 </DL>\r
2193 <HR>\r
2194 \r
2195 <A NAME="setStyle(java.lang.String)"><!-- --></A><H3>\r
2196 setStyle</H3>\r
2197 <PRE>\r
2198 public void <B>setStyle</B>(java.lang.String&nbsp;style)</PRE>\r
2199 <DL>\r
2200 <DD>Sets the voice style. This parameter is designed for human
2201  interpretation. Values might include "business", "casual",
2202  "robotic", "breathy"\r
2203 <P>\r
2204 <DD><DL>\r
2205 </DL>\r
2206 </DD>\r
2207 <DD><DL>\r
2208 <DT><B>Parameters:</B><DD><CODE>style</CODE> - the stile of this voice.</DL>\r
2209 </DD>\r
2210 </DL>\r
2211 <HR>\r
2212 \r
2213 <A NAME="getStyle()"><!-- --></A><H3>\r
2214 getStyle</H3>\r
2215 <PRE>\r
2216 public java.lang.String <B>getStyle</B>()</PRE>\r
2217 <DL>\r
2218 <DD>Gets the voice style. This parameter is designed for human
2219  interpretation. Values might include "business", "casual",
2220  "robotic", "breathy".\r
2221 <P>\r
2222 <DD><DL>\r
2223 </DL>\r
2224 </DD>\r
2225 <DD><DL>\r
2226 </DL>\r
2227 </DD>\r
2228 </DL>\r
2229 <HR>\r
2230 \r
2231 <A NAME="setOrganization(java.lang.String)"><!-- --></A><H3>\r
2232 setOrganization</H3>\r
2233 <PRE>\r
2234 protected void <B>setOrganization</B>(java.lang.String&nbsp;organization)</PRE>\r
2235 <DL>\r
2236 <DD>Sets the organization which created this voice.  For example
2237  "cmu", "sun", ...\r
2238 <P>\r
2239 <DD><DL>\r
2240 </DL>\r
2241 </DD>\r
2242 <DD><DL>\r
2243 <DT><B>Parameters:</B><DD><CODE>organization</CODE> - the name of the organization</DL>\r
2244 </DD>\r
2245 </DL>\r
2246 <HR>\r
2247 \r
2248 <A NAME="getOrganization()"><!-- --></A><H3>\r
2249 getOrganization</H3>\r
2250 <PRE>\r
2251 public java.lang.String <B>getOrganization</B>()</PRE>\r
2252 <DL>\r
2253 <DD>Gets the organization which created this voice.  For example
2254  "cmu", "sun", ...\r
2255 <P>\r
2256 <DD><DL>\r
2257 </DL>\r
2258 </DD>\r
2259 <DD><DL>\r
2260
2261 <DT><B>Returns:</B><DD>the name of the organization</DL>\r
2262 </DD>\r
2263 </DL>\r
2264 <HR>\r
2265 \r
2266 <A NAME="getAudioOutput()"><!-- --></A><H3>\r
2267 getAudioOutput</H3>\r
2268 <PRE>\r
2269 protected abstract <A HREF="../../../../com/sun/speech/freetts/UtteranceProcessor.html" title="interface in com.sun.speech.freetts">UtteranceProcessor</A> <B>getAudioOutput</B>()
2270                                               throws java.io.IOException</PRE>\r
2271 <DL>\r
2272 <DD>Returns the AudioOutput processor to be used by this voice.
2273  Derived voices typically override this to customize behaviors.\r
2274 <P>\r
2275 <DD><DL>\r
2276 </DL>\r
2277 </DD>\r
2278 <DD><DL>\r
2279
2280 <DT><B>Returns:</B><DD>the audio output processor
2281 <DT><B>Throws:</B>
2282 <DD><CODE>java.io.IOException</CODE> - if an IO error occurs while getting
2283      processor</DL>\r
2284 </DD>\r
2285 </DL>\r
2286 <!-- ========= END OF CLASS DATA ========= -->\r
2287 <HR>\r
2288 \r
2289
2290 <!-- ======= START OF BOTTOM NAVBAR ====== -->\r
2291 <A NAME="navbar_bottom"><!-- --></A>
2292 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
2293 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">\r
2294 <TR>\r
2295 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">\r
2296 <A NAME="navbar_bottom_firstrow"><!-- --></A>
2297 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">\r
2298   <TR ALIGN="center" VALIGN="top">\r
2299   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>\r
2300   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>\r
2301   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>\r
2302   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>\r
2303   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>\r
2304   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>\r
2305   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>\r
2306   </TR>\r
2307 </TABLE>\r
2308 </TD>\r
2309 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>\r
2310 </EM>\r
2311 </TD>\r
2312 </TR>\r
2313 \r
2314 <TR>\r
2315 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
2316 &nbsp;<A HREF="../../../../com/sun/speech/freetts/Utterance.html" title="class in com.sun.speech.freetts"><B>PREV CLASS</B></A>&nbsp;\r
2317 &nbsp;<A HREF="../../../../com/sun/speech/freetts/VoiceDirectory.html" title="class in com.sun.speech.freetts"><B>NEXT CLASS</B></A></FONT></TD>\r
2318 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
2319   <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;\r
2320 &nbsp;<A HREF="Voice.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;\r
2321 &nbsp;<SCRIPT type="text/javascript">\r
2322   <!--\r
2323   if(window==top) {\r
2324     document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');\r
2325   }\r
2326   //-->\r
2327 </SCRIPT>\r
2328 <NOSCRIPT>\r
2329   <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>\r
2330 </NOSCRIPT>
2331 \r
2332 </FONT></TD>\r
2333 </TR>\r
2334 <TR>\r
2335 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
2336   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>\r
2337 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
2338 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>\r
2339 </TR>\r
2340 </TABLE>\r
2341 <A NAME="skip-navbar_bottom"></A>
2342 <!-- ======== END OF BOTTOM NAVBAR ======= -->\r
2343 \r
2344 <HR>\r
2345 \r
2346 </BODY>\r
2347 </HTML>\r