add a cleanup script to elide the non-free jsapi binary blob from the sources
[debian/freetts] / javadoc / com / sun / speech / freetts / relp / LPCResult.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:30 CET 2009 -->\r
6 <TITLE>\r
7 LPCResult (FreeTTS 1.2)\r
8 </TITLE>\r
9 \r
10 <META NAME="keywords" CONTENT="com.sun.speech.freetts.relp.LPCResult 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="LPCResult (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/relp/AudioOutput.html" title="class in com.sun.speech.freetts.relp"><B>PREV CLASS</B></A>&nbsp;\r
53 &nbsp;<A HREF="../../../../../com/sun/speech/freetts/relp/Sample.html" title="class in com.sun.speech.freetts.relp"><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="LPCResult.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;FIELD&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;FIELD&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.relp</FONT>\r
85 <BR>\r
86 Class LPCResult</H2>\r
87 <PRE>\r
88 java.lang.Object\r
89   <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>com.sun.speech.freetts.relp.LPCResult</B>\r
90 </PRE>\r
91 <HR>\r
92 <DL>\r
93 <DT>public class <B>LPCResult</B><DT>extends java.lang.Object</DL>\r
94 \r
95 <P>\r
96 Contains the result of linear predictive coding processing.\r
97 <P>\r
98 \r
99 <P>\r
100 <HR>\r
101 \r
102 <P>\r
103 <!-- ======== NESTED CLASS SUMMARY ======== -->\r
104 \r
105 \r
106 <!-- =========== FIELD SUMMARY =========== -->\r
107 \r
108 \r
109 <!-- ======== CONSTRUCTOR SUMMARY ======== -->\r
110 \r
111 <A NAME="constructor_summary"><!-- --></A>
112 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
113 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
114 <TD COLSPAN=2><FONT SIZE="+2">\r
115 <B>Constructor Summary</B></FONT></TD>\r
116 </TR>\r
117 <TR BGCOLOR="white" CLASS="TableRowColor">\r
118 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#LPCResult()">LPCResult</A></B>()</CODE>\r
119 \r
120 <BR>\r
121 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>\r
122 </TR>\r
123 </TABLE>\r
124 &nbsp;\r
125 <!-- ========== METHOD SUMMARY =========== -->\r
126 \r
127 <A NAME="method_summary"><!-- --></A>
128 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
129 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
130 <TD COLSPAN=2><FONT SIZE="+2">\r
131 <B>Method Summary</B></FONT></TD>\r
132 </TR>\r
133 <TR BGCOLOR="white" CLASS="TableRowColor">\r
134 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
135 <CODE>&nbsp;void</CODE></FONT></TD>\r
136 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#copyResiduals(byte[], int, int)">copyResiduals</A></B>(byte[]&nbsp;source,
137               int&nbsp;targetPosition,
138               int&nbsp;targetSize)</CODE>\r
139 \r
140 <BR>\r
141 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copies the information in the given unit to the array of residuals,
142  starting at the given index, up until targetSize chars.</TD>\r
143 </TR>\r
144 <TR BGCOLOR="white" CLASS="TableRowColor">\r
145 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
146 <CODE>&nbsp;void</CODE></FONT></TD>\r
147 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#copyResidualsPulse(byte[], int, int)">copyResidualsPulse</A></B>(byte[]&nbsp;source,
148                    int&nbsp;targetPosition,
149                    int&nbsp;targetSize)</CODE>\r
150 \r
151 <BR>\r
152 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copies the residual puse in the given unit to the array of residuals,
153  starting at the given index, up until targetSize chars.</TD>\r
154 </TR>\r
155 <TR BGCOLOR="white" CLASS="TableRowColor">\r
156 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
157 <CODE>&nbsp;void</CODE></FONT></TD>\r
158 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#dump()">dump</A></B>()</CODE>\r
159 \r
160 <BR>\r
161 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dumps this LPCResult to standard out</TD>\r
162 </TR>\r
163 <TR BGCOLOR="white" CLASS="TableRowColor">\r
164 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
165 <CODE>&nbsp;void</CODE></FONT></TD>\r
166 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#dump(java.io.Writer)">dump</A></B>(java.io.Writer&nbsp;writer)</CODE>\r
167 \r
168 <BR>\r
169 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dumps this LPCResult to the given stream.</TD>\r
170 </TR>\r
171 <TR BGCOLOR="white" CLASS="TableRowColor">\r
172 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
173 <CODE>&nbsp;void</CODE></FONT></TD>\r
174 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#dumpASCII()">dumpASCII</A></B>()</CODE>\r
175 \r
176 <BR>\r
177 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dumps the wave data associated with this result</TD>\r
178 </TR>\r
179 <TR BGCOLOR="white" CLASS="TableRowColor">\r
180 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
181 <CODE>&nbsp;void</CODE></FONT></TD>\r
182 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#dumpASCII(java.lang.String)">dumpASCII</A></B>(java.lang.String&nbsp;path)</CODE>\r
183 \r
184 <BR>\r
185 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dumps the wave data associated with this result</TD>\r
186 </TR>\r
187 <TR BGCOLOR="white" CLASS="TableRowColor">\r
188 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
189 <CODE>&nbsp;void</CODE></FONT></TD>\r
190 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#dumpASCII(java.io.Writer)">dumpASCII</A></B>(java.io.Writer&nbsp;writer)</CODE>\r
191 \r
192 <BR>\r
193 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dumps the wave out to the given stream</TD>\r
194 </TR>\r
195 <TR BGCOLOR="white" CLASS="TableRowColor">\r
196 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
197 <CODE>&nbsp;short[]</CODE></FONT></TD>\r
198 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#getFrame(int)">getFrame</A></B>(int&nbsp;index)</CODE>\r
199 \r
200 <BR>\r
201 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the frame at the given index.</TD>\r
202 </TR>\r
203 <TR BGCOLOR="white" CLASS="TableRowColor">\r
204 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
205 <CODE>&nbsp;int</CODE></FONT></TD>\r
206 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#getFrameShift(int)">getFrameShift</A></B>(int&nbsp;frameIndex)</CODE>\r
207 \r
208 <BR>\r
209 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the time difference of the frame at the given position 
210  with the frame prior to that. </TD>\r
211 </TR>\r
212 <TR BGCOLOR="white" CLASS="TableRowColor">\r
213 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
214 <CODE>&nbsp;int</CODE></FONT></TD>\r
215 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#getFrameSize()">getFrameSize</A></B>()</CODE>\r
216 \r
217 <BR>\r
218 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the sizes of frames in this LPC.</TD>\r
219 </TR>\r
220 <TR BGCOLOR="white" CLASS="TableRowColor">\r
221 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
222 <CODE>&nbsp;float</CODE></FONT></TD>\r
223 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#getLPCMin()">getLPCMin</A></B>()</CODE>\r
224 \r
225 <BR>\r
226 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the LPC minimum.</TD>\r
227 </TR>\r
228 <TR BGCOLOR="white" CLASS="TableRowColor">\r
229 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
230 <CODE>&nbsp;float</CODE></FONT></TD>\r
231 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#getLPCRange()">getLPCRange</A></B>()</CODE>\r
232 \r
233 <BR>\r
234 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the LPC range.</TD>\r
235 </TR>\r
236 <TR BGCOLOR="white" CLASS="TableRowColor">\r
237 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
238 <CODE>&nbsp;int</CODE></FONT></TD>\r
239 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#getNumberOfChannels()">getNumberOfChannels</A></B>()</CODE>\r
240 \r
241 <BR>\r
242 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of channels in this LPCResult.</TD>\r
243 </TR>\r
244 <TR BGCOLOR="white" CLASS="TableRowColor">\r
245 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
246 <CODE>&nbsp;int</CODE></FONT></TD>\r
247 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#getNumberOfFrames()">getNumberOfFrames</A></B>()</CODE>\r
248 \r
249 <BR>\r
250 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of frames in this LPCResult.</TD>\r
251 </TR>\r
252 <TR BGCOLOR="white" CLASS="TableRowColor">\r
253 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
254 <CODE>&nbsp;int</CODE></FONT></TD>\r
255 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#getNumberOfSamples()">getNumberOfSamples</A></B>()</CODE>\r
256 \r
257 <BR>\r
258 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of samples in this LPC result</TD>\r
259 </TR>\r
260 <TR BGCOLOR="white" CLASS="TableRowColor">\r
261 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
262 <CODE>&nbsp;byte[]</CODE></FONT></TD>\r
263 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#getResiduals()">getResiduals</A></B>()</CODE>\r
264 \r
265 <BR>\r
266 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the array of residuals.</TD>\r
267 </TR>\r
268 <TR BGCOLOR="white" CLASS="TableRowColor">\r
269 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
270 <CODE>&nbsp;int[]</CODE></FONT></TD>\r
271 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#getResidualSizes()">getResidualSizes</A></B>()</CODE>\r
272 \r
273 <BR>\r
274 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the array of residuals sizes.</TD>\r
275 </TR>\r
276 <TR BGCOLOR="white" CLASS="TableRowColor">\r
277 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
278 <CODE>&nbsp;int</CODE></FONT></TD>\r
279 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#getSampleRate()">getSampleRate</A></B>()</CODE>\r
280 \r
281 <BR>\r
282 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the sample rate.</TD>\r
283 </TR>\r
284 <TR BGCOLOR="white" CLASS="TableRowColor">\r
285 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
286 <CODE>&nbsp;int[]</CODE></FONT></TD>\r
287 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#getTimes()">getTimes</A></B>()</CODE>\r
288 \r
289 <BR>\r
290 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the array of times.</TD>\r
291 </TR>\r
292 <TR BGCOLOR="white" CLASS="TableRowColor">\r
293 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
294 <CODE>&nbsp;byte[]</CODE></FONT></TD>\r
295 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#getWaveSamples()">getWaveSamples</A></B>()</CODE>\r
296 \r
297 <BR>\r
298 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>\r
299 </TR>\r
300 <TR BGCOLOR="white" CLASS="TableRowColor">\r
301 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
302 <CODE>&nbsp;boolean</CODE></FONT></TD>\r
303 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#playWave(com.sun.speech.freetts.audio.AudioPlayer, com.sun.speech.freetts.Utterance)">playWave</A></B>(<A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html" title="interface in com.sun.speech.freetts.audio">AudioPlayer</A>&nbsp;player,
304          <A HREF="../../../../../com/sun/speech/freetts/Utterance.html" title="class in com.sun.speech.freetts">Utterance</A>&nbsp;utterance)</CODE>\r
305 \r
306 <BR>\r
307 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Synthesize a Wave  from this LPCResult</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;void</CODE></FONT></TD>\r
312 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#resizeFrames(int)">resizeFrames</A></B>(int&nbsp;numberOfFrames)</CODE>\r
313 \r
314 <BR>\r
315 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resets the number of frames in this LPCResult.</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>&nbsp;void</CODE></FONT></TD>\r
320 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#resizeResiduals(int)">resizeResiduals</A></B>(int&nbsp;numberOfSamples)</CODE>\r
321 \r
322 <BR>\r
323 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resets the number of residuals, and initialize all of them to 255
324  (which is 0 for mulaw).</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;void</CODE></FONT></TD>\r
329 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#setFrame(int, short[])">setFrame</A></B>(int&nbsp;index,
330          short[]&nbsp;newFrames)</CODE>\r
331 \r
332 <BR>\r
333 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the frame at the given index.</TD>\r
334 </TR>\r
335 <TR BGCOLOR="white" CLASS="TableRowColor">\r
336 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
337 <CODE>&nbsp;void</CODE></FONT></TD>\r
338 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#setFrameSize(int)">setFrameSize</A></B>(int&nbsp;frameSize)</CODE>\r
339 \r
340 <BR>\r
341 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the sizes of frames in this LPC to the given size.</TD>\r
342 </TR>\r
343 <TR BGCOLOR="white" CLASS="TableRowColor">\r
344 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
345 <CODE>&nbsp;void</CODE></FONT></TD>\r
346 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#setLPCMin(float)">setLPCMin</A></B>(float&nbsp;min)</CODE>\r
347 \r
348 <BR>\r
349 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the LPC minimum.</TD>\r
350 </TR>\r
351 <TR BGCOLOR="white" CLASS="TableRowColor">\r
352 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
353 <CODE>&nbsp;void</CODE></FONT></TD>\r
354 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#setLPCRange(float)">setLPCRange</A></B>(float&nbsp;range)</CODE>\r
355 \r
356 <BR>\r
357 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the LPC range.</TD>\r
358 </TR>\r
359 <TR BGCOLOR="white" CLASS="TableRowColor">\r
360 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
361 <CODE>&nbsp;void</CODE></FONT></TD>\r
362 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#setNumberOfChannels(int)">setNumberOfChannels</A></B>(int&nbsp;numberOfChannels)</CODE>\r
363 \r
364 <BR>\r
365 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the number of channels.</TD>\r
366 </TR>\r
367 <TR BGCOLOR="white" CLASS="TableRowColor">\r
368 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
369 <CODE>&nbsp;void</CODE></FONT></TD>\r
370 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#setNumberOfFrames(int)">setNumberOfFrames</A></B>(int&nbsp;numberFrames)</CODE>\r
371 \r
372 <BR>\r
373 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the number of frames in this LPC Result.</TD>\r
374 </TR>\r
375 <TR BGCOLOR="white" CLASS="TableRowColor">\r
376 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
377 <CODE>&nbsp;void</CODE></FONT></TD>\r
378 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#setResidualSizes(int[])">setResidualSizes</A></B>(int[]&nbsp;sizes)</CODE>\r
379 \r
380 <BR>\r
381 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the array of residual sizes.</TD>\r
382 </TR>\r
383 <TR BGCOLOR="white" CLASS="TableRowColor">\r
384 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
385 <CODE>&nbsp;void</CODE></FONT></TD>\r
386 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#setSampleRate(int)">setSampleRate</A></B>(int&nbsp;rate)</CODE>\r
387 \r
388 <BR>\r
389 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the sample rate.</TD>\r
390 </TR>\r
391 <TR BGCOLOR="white" CLASS="TableRowColor">\r
392 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
393 <CODE>&nbsp;void</CODE></FONT></TD>\r
394 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#setTimes(int[])">setTimes</A></B>(int[]&nbsp;times)</CODE>\r
395 \r
396 <BR>\r
397 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the array of times.</TD>\r
398 </TR>\r
399 <TR BGCOLOR="white" CLASS="TableRowColor">\r
400 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
401 <CODE>&nbsp;void</CODE></FONT></TD>\r
402 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/relp/LPCResult.html#setValues(int, int, int, float, float)">setValues</A></B>(int&nbsp;numberOfChannels,
403           int&nbsp;sampleRate,
404           int&nbsp;residualFold,
405           float&nbsp;lpcMin,
406           float&nbsp;lpcRange)</CODE>\r
407 \r
408 <BR>\r
409 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A convenience method for setting the LPC values.</TD>\r
410 </TR>\r
411 </TABLE>\r
412 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
413 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
414 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">\r
415 <TD><B>Methods inherited from class java.lang.Object</B></TD>\r
416 </TR>\r
417 <TR BGCOLOR="white" CLASS="TableRowColor">\r
418 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>\r
419 </TR>\r
420 </TABLE>\r
421 &nbsp;\r
422 <P>\r
423 \r
424 <!-- ============ FIELD DETAIL =========== -->\r
425 \r
426 \r
427 <!-- ========= CONSTRUCTOR DETAIL ======== -->\r
428 \r
429 <A NAME="constructor_detail"><!-- --></A>
430 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
431 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
432 <TD COLSPAN=1><FONT SIZE="+2">\r
433 <B>Constructor Detail</B></FONT></TD>\r
434 </TR>\r
435 </TABLE>\r
436 \r
437 <A NAME="LPCResult()"><!-- --></A><H3>\r
438 LPCResult</H3>\r
439 <PRE>\r
440 public <B>LPCResult</B>()</PRE>\r
441 <DL>\r
442 </DL>\r
443 \r
444 <!-- ============ METHOD DETAIL ========== -->\r
445 \r
446 <A NAME="method_detail"><!-- --></A>
447 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
448 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
449 <TD COLSPAN=1><FONT SIZE="+2">\r
450 <B>Method Detail</B></FONT></TD>\r
451 </TR>\r
452 </TABLE>\r
453 \r
454 <A NAME="resizeFrames(int)"><!-- --></A><H3>\r
455 resizeFrames</H3>\r
456 <PRE>\r
457 public void <B>resizeFrames</B>(int&nbsp;numberOfFrames)</PRE>\r
458 <DL>\r
459 <DD>Resets the number of frames in this LPCResult.\r
460 <P>\r
461 <DD><DL>\r
462 <DT><B>Parameters:</B><DD><CODE>numberOfFrames</CODE> - the number of frames in this LPC result</DL>\r
463 </DD>\r
464 </DL>\r
465 <HR>\r
466 \r
467 <A NAME="resizeResiduals(int)"><!-- --></A><H3>\r
468 resizeResiduals</H3>\r
469 <PRE>\r
470 public void <B>resizeResiduals</B>(int&nbsp;numberOfSamples)</PRE>\r
471 <DL>\r
472 <DD>Resets the number of residuals, and initialize all of them to 255
473  (which is 0 for mulaw).\r
474 <P>\r
475 <DD><DL>\r
476 <DT><B>Parameters:</B><DD><CODE>numberOfSamples</CODE> - the number of samples in this LPC result</DL>\r
477 </DD>\r
478 </DL>\r
479 <HR>\r
480 \r
481 <A NAME="setValues(int, int, int, float, float)"><!-- --></A><H3>\r
482 setValues</H3>\r
483 <PRE>\r
484 public void <B>setValues</B>(int&nbsp;numberOfChannels,
485                       int&nbsp;sampleRate,
486                       int&nbsp;residualFold,
487                       float&nbsp;lpcMin,
488                       float&nbsp;lpcRange)</PRE>\r
489 <DL>\r
490 <DD>A convenience method for setting the LPC values.\r
491 <P>\r
492 <DD><DL>\r
493 <DT><B>Parameters:</B><DD><CODE>numberOfChannels</CODE> - the number of channels<DD><CODE>sampleRate</CODE> - the sample rate<DD><CODE>lpcMin</CODE> - the LPC minimum<DD><CODE>lpcRange</CODE> - the LPC range</DL>\r
494 </DD>\r
495 </DL>\r
496 <HR>\r
497 \r
498 <A NAME="getFrameShift(int)"><!-- --></A><H3>\r
499 getFrameShift</H3>\r
500 <PRE>\r
501 public int <B>getFrameShift</B>(int&nbsp;frameIndex)</PRE>\r
502 <DL>\r
503 <DD>Returns the time difference of the frame at the given position 
504  with the frame prior to that. If the frame at the given position is
505  the first frame (position 0), the time of that frame is returned.\r
506 <P>\r
507 <DD><DL>\r
508 <DT><B>Parameters:</B><DD><CODE>frameIndex</CODE> - the position of the frame
509 <DT><B>Returns:</B><DD>the time difference of the frame at the given position 
510      with the frame prior to that</DL>\r
511 </DD>\r
512 </DL>\r
513 <HR>\r
514 \r
515 <A NAME="getFrameSize()"><!-- --></A><H3>\r
516 getFrameSize</H3>\r
517 <PRE>\r
518 public int <B>getFrameSize</B>()</PRE>\r
519 <DL>\r
520 <DD>Returns the sizes of frames in this LPC.\r
521 <P>\r
522 <DD><DL>\r
523
524 <DT><B>Returns:</B><DD>the sizes of frames</DL>\r
525 </DD>\r
526 </DL>\r
527 <HR>\r
528 \r
529 <A NAME="getFrame(int)"><!-- --></A><H3>\r
530 getFrame</H3>\r
531 <PRE>\r
532 public short[] <B>getFrame</B>(int&nbsp;index)</PRE>\r
533 <DL>\r
534 <DD>Returns the frame at the given index.\r
535 <P>\r
536 <DD><DL>\r
537 <DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of interest
538 <DT><B>Returns:</B><DD>the frame at the given index</DL>\r
539 </DD>\r
540 </DL>\r
541 <HR>\r
542 \r
543 <A NAME="getTimes()"><!-- --></A><H3>\r
544 getTimes</H3>\r
545 <PRE>\r
546 public int[] <B>getTimes</B>()</PRE>\r
547 <DL>\r
548 <DD>Returns the array of times.\r
549 <P>\r
550 <DD><DL>\r
551
552 <DT><B>Returns:</B><DD>the array of times</DL>\r
553 </DD>\r
554 </DL>\r
555 <HR>\r
556 \r
557 <A NAME="getNumberOfFrames()"><!-- --></A><H3>\r
558 getNumberOfFrames</H3>\r
559 <PRE>\r
560 public int <B>getNumberOfFrames</B>()</PRE>\r
561 <DL>\r
562 <DD>Returns the number of frames in this LPCResult.\r
563 <P>\r
564 <DD><DL>\r
565
566 <DT><B>Returns:</B><DD>the number of frames</DL>\r
567 </DD>\r
568 </DL>\r
569 <HR>\r
570 \r
571 <A NAME="getNumberOfChannels()"><!-- --></A><H3>\r
572 getNumberOfChannels</H3>\r
573 <PRE>\r
574 public int <B>getNumberOfChannels</B>()</PRE>\r
575 <DL>\r
576 <DD>Returns the number of channels in this LPCResult.\r
577 <P>\r
578 <DD><DL>\r
579
580 <DT><B>Returns:</B><DD>the number of channels</DL>\r
581 </DD>\r
582 </DL>\r
583 <HR>\r
584 \r
585 <A NAME="getLPCMin()"><!-- --></A><H3>\r
586 getLPCMin</H3>\r
587 <PRE>\r
588 public float <B>getLPCMin</B>()</PRE>\r
589 <DL>\r
590 <DD>Returns the LPC minimum.\r
591 <P>\r
592 <DD><DL>\r
593
594 <DT><B>Returns:</B><DD>the LPC minimum</DL>\r
595 </DD>\r
596 </DL>\r
597 <HR>\r
598 \r
599 <A NAME="getLPCRange()"><!-- --></A><H3>\r
600 getLPCRange</H3>\r
601 <PRE>\r
602 public float <B>getLPCRange</B>()</PRE>\r
603 <DL>\r
604 <DD>Returns the LPC range.\r
605 <P>\r
606 <DD><DL>\r
607
608 <DT><B>Returns:</B><DD>the LPC range</DL>\r
609 </DD>\r
610 </DL>\r
611 <HR>\r
612 \r
613 <A NAME="getNumberOfSamples()"><!-- --></A><H3>\r
614 getNumberOfSamples</H3>\r
615 <PRE>\r
616 public int <B>getNumberOfSamples</B>()</PRE>\r
617 <DL>\r
618 <DD>Returns the number of samples in this LPC result\r
619 <P>\r
620 <DD><DL>\r
621
622 <DT><B>Returns:</B><DD>the number of samples</DL>\r
623 </DD>\r
624 </DL>\r
625 <HR>\r
626 \r
627 <A NAME="getSampleRate()"><!-- --></A><H3>\r
628 getSampleRate</H3>\r
629 <PRE>\r
630 public int <B>getSampleRate</B>()</PRE>\r
631 <DL>\r
632 <DD>Returns the sample rate.\r
633 <P>\r
634 <DD><DL>\r
635
636 <DT><B>Returns:</B><DD>the sample rate</DL>\r
637 </DD>\r
638 </DL>\r
639 <HR>\r
640 \r
641 <A NAME="getResidualSizes()"><!-- --></A><H3>\r
642 getResidualSizes</H3>\r
643 <PRE>\r
644 public int[] <B>getResidualSizes</B>()</PRE>\r
645 <DL>\r
646 <DD>Returns the array of residuals sizes.\r
647 <P>\r
648 <DD><DL>\r
649
650 <DT><B>Returns:</B><DD>the array of residuals sizes</DL>\r
651 </DD>\r
652 </DL>\r
653 <HR>\r
654 \r
655 <A NAME="getResiduals()"><!-- --></A><H3>\r
656 getResiduals</H3>\r
657 <PRE>\r
658 public byte[] <B>getResiduals</B>()</PRE>\r
659 <DL>\r
660 <DD>Returns the array of residuals.\r
661 <P>\r
662 <DD><DL>\r
663
664 <DT><B>Returns:</B><DD>the array of residuals</DL>\r
665 </DD>\r
666 </DL>\r
667 <HR>\r
668 \r
669 <A NAME="setFrameSize(int)"><!-- --></A><H3>\r
670 setFrameSize</H3>\r
671 <PRE>\r
672 public void <B>setFrameSize</B>(int&nbsp;frameSize)</PRE>\r
673 <DL>\r
674 <DD>Sets the sizes of frames in this LPC to the given size.\r
675 <P>\r
676 <DD><DL>\r
677 <DT><B>Parameters:</B><DD><CODE>frameSize</CODE> - the new frame size</DL>\r
678 </DD>\r
679 </DL>\r
680 <HR>\r
681 \r
682 <A NAME="setNumberOfFrames(int)"><!-- --></A><H3>\r
683 setNumberOfFrames</H3>\r
684 <PRE>\r
685 public void <B>setNumberOfFrames</B>(int&nbsp;numberFrames)</PRE>\r
686 <DL>\r
687 <DD>Sets the number of frames in this LPC Result.\r
688 <P>\r
689 <DD><DL>\r
690 <DT><B>Parameters:</B><DD><CODE>numberFrames</CODE> - the number of frames in this result</DL>\r
691 </DD>\r
692 </DL>\r
693 <HR>\r
694 \r
695 <A NAME="setFrame(int, short[])"><!-- --></A><H3>\r
696 setFrame</H3>\r
697 <PRE>\r
698 public void <B>setFrame</B>(int&nbsp;index,
699                      short[]&nbsp;newFrames)</PRE>\r
700 <DL>\r
701 <DD>Sets the frame at the given index.\r
702 <P>\r
703 <DD><DL>\r
704 <DT><B>Parameters:</B><DD><CODE>index</CODE> - the position of the frame to set<DD><CODE>newFrames</CODE> - new frame data</DL>\r
705 </DD>\r
706 </DL>\r
707 <HR>\r
708 \r
709 <A NAME="setTimes(int[])"><!-- --></A><H3>\r
710 setTimes</H3>\r
711 <PRE>\r
712 public void <B>setTimes</B>(int[]&nbsp;times)</PRE>\r
713 <DL>\r
714 <DD>Sets the array of times.\r
715 <P>\r
716 <DD><DL>\r
717 <DT><B>Parameters:</B><DD><CODE>times</CODE> - the times data</DL>\r
718 </DD>\r
719 </DL>\r
720 <HR>\r
721 \r
722 <A NAME="setNumberOfChannels(int)"><!-- --></A><H3>\r
723 setNumberOfChannels</H3>\r
724 <PRE>\r
725 public void <B>setNumberOfChannels</B>(int&nbsp;numberOfChannels)</PRE>\r
726 <DL>\r
727 <DD>Sets the number of channels.\r
728 <P>\r
729 <DD><DL>\r
730 <DT><B>Parameters:</B><DD><CODE>numberOfChannels</CODE> - the number of channels</DL>\r
731 </DD>\r
732 </DL>\r
733 <HR>\r
734 \r
735 <A NAME="setLPCMin(float)"><!-- --></A><H3>\r
736 setLPCMin</H3>\r
737 <PRE>\r
738 public void <B>setLPCMin</B>(float&nbsp;min)</PRE>\r
739 <DL>\r
740 <DD>Sets the LPC minimum.\r
741 <P>\r
742 <DD><DL>\r
743 <DT><B>Parameters:</B><DD><CODE>min</CODE> - the LPC minimum</DL>\r
744 </DD>\r
745 </DL>\r
746 <HR>\r
747 \r
748 <A NAME="setLPCRange(float)"><!-- --></A><H3>\r
749 setLPCRange</H3>\r
750 <PRE>\r
751 public void <B>setLPCRange</B>(float&nbsp;range)</PRE>\r
752 <DL>\r
753 <DD>Sets the LPC range.\r
754 <P>\r
755 <DD><DL>\r
756 <DT><B>Parameters:</B><DD><CODE>range</CODE> - the LPC range</DL>\r
757 </DD>\r
758 </DL>\r
759 <HR>\r
760 \r
761 <A NAME="setSampleRate(int)"><!-- --></A><H3>\r
762 setSampleRate</H3>\r
763 <PRE>\r
764 public void <B>setSampleRate</B>(int&nbsp;rate)</PRE>\r
765 <DL>\r
766 <DD>Sets the sample rate.\r
767 <P>\r
768 <DD><DL>\r
769 <DT><B>Parameters:</B><DD><CODE>rate</CODE> - the sample rate</DL>\r
770 </DD>\r
771 </DL>\r
772 <HR>\r
773 \r
774 <A NAME="setResidualSizes(int[])"><!-- --></A><H3>\r
775 setResidualSizes</H3>\r
776 <PRE>\r
777 public void <B>setResidualSizes</B>(int[]&nbsp;sizes)</PRE>\r
778 <DL>\r
779 <DD>Sets the array of residual sizes.\r
780 <P>\r
781 <DD><DL>\r
782 <DT><B>Parameters:</B><DD><CODE>sizes</CODE> - the new residual sizes</DL>\r
783 </DD>\r
784 </DL>\r
785 <HR>\r
786 \r
787 <A NAME="copyResiduals(byte[], int, int)"><!-- --></A><H3>\r
788 copyResiduals</H3>\r
789 <PRE>\r
790 public void <B>copyResiduals</B>(byte[]&nbsp;source,
791                           int&nbsp;targetPosition,
792                           int&nbsp;targetSize)</PRE>\r
793 <DL>\r
794 <DD>Copies the information in the given unit to the array of residuals,
795  starting at the given index, up until targetSize chars.\r
796 <P>\r
797 <DD><DL>\r
798 <DT><B>Parameters:</B><DD><CODE>source</CODE> - the unit that holds the information source<DD><CODE>targetPosition</CODE> - start position in the array of residuals<DD><CODE>targetSize</CODE> - the maximum number of characters to copy</DL>\r
799 </DD>\r
800 </DL>\r
801 <HR>\r
802 \r
803 <A NAME="copyResidualsPulse(byte[], int, int)"><!-- --></A><H3>\r
804 copyResidualsPulse</H3>\r
805 <PRE>\r
806 public void <B>copyResidualsPulse</B>(byte[]&nbsp;source,
807                                int&nbsp;targetPosition,
808                                int&nbsp;targetSize)</PRE>\r
809 <DL>\r
810 <DD>Copies the residual puse in the given unit to the array of residuals,
811  starting at the given index, up until targetSize chars.\r
812 <P>\r
813 <DD><DL>\r
814 <DT><B>Parameters:</B><DD><CODE>source</CODE> - the unit that holds the information source<DD><CODE>targetPosition</CODE> - start position in the array of residuals<DD><CODE>targetSize</CODE> - the maximum number of characters to copy</DL>\r
815 </DD>\r
816 </DL>\r
817 <HR>\r
818 \r
819 <A NAME="playWave(com.sun.speech.freetts.audio.AudioPlayer, com.sun.speech.freetts.Utterance)"><!-- --></A><H3>\r
820 playWave</H3>\r
821 <PRE>\r
822 public boolean <B>playWave</B>(<A HREF="../../../../../com/sun/speech/freetts/audio/AudioPlayer.html" title="interface in com.sun.speech.freetts.audio">AudioPlayer</A>&nbsp;player,
823                         <A HREF="../../../../../com/sun/speech/freetts/Utterance.html" title="class in com.sun.speech.freetts">Utterance</A>&nbsp;utterance)</PRE>\r
824 <DL>\r
825 <DD>Synthesize a Wave  from this LPCResult\r
826 <P>\r
827 <DD><DL>\r
828
829 <DT><B>Returns:</B><DD>the wave</DL>\r
830 </DD>\r
831 </DL>\r
832 <HR>\r
833 \r
834 <A NAME="getWaveSamples()"><!-- --></A><H3>\r
835 getWaveSamples</H3>\r
836 <PRE>\r
837 public byte[] <B>getWaveSamples</B>()</PRE>\r
838 <DL>\r
839 <DD><DL>\r
840 </DL>\r
841 </DD>\r
842 </DL>\r
843 <HR>\r
844 \r
845 <A NAME="dump()"><!-- --></A><H3>\r
846 dump</H3>\r
847 <PRE>\r
848 public void <B>dump</B>()</PRE>\r
849 <DL>\r
850 <DD>Dumps this LPCResult to standard out\r
851 <P>\r
852 <DD><DL>\r
853 </DL>\r
854 </DD>\r
855 </DL>\r
856 <HR>\r
857 \r
858 <A NAME="dump(java.io.Writer)"><!-- --></A><H3>\r
859 dump</H3>\r
860 <PRE>\r
861 public void <B>dump</B>(java.io.Writer&nbsp;writer)</PRE>\r
862 <DL>\r
863 <DD>Dumps this LPCResult to the given stream.\r
864 <P>\r
865 <DD><DL>\r
866 <DT><B>Parameters:</B><DD><CODE>writer</CODE> - the output stream</DL>\r
867 </DD>\r
868 </DL>\r
869 <HR>\r
870 \r
871 <A NAME="dumpASCII()"><!-- --></A><H3>\r
872 dumpASCII</H3>\r
873 <PRE>\r
874 public void <B>dumpASCII</B>()</PRE>\r
875 <DL>\r
876 <DD>Dumps the wave data associated with this result\r
877 <P>\r
878 <DD><DL>\r
879 </DL>\r
880 </DD>\r
881 </DL>\r
882 <HR>\r
883 \r
884 <A NAME="dumpASCII(java.lang.String)"><!-- --></A><H3>\r
885 dumpASCII</H3>\r
886 <PRE>\r
887 public void <B>dumpASCII</B>(java.lang.String&nbsp;path)
888                throws java.io.IOException</PRE>\r
889 <DL>\r
890 <DD>Dumps the wave data associated with this result\r
891 <P>\r
892 <DD><DL>\r
893 <DT><B>Parameters:</B><DD><CODE>path</CODE> - the path where the wave data is appended to
894 <DT><B>Throws:</B>
895 <DD><CODE>java.io.IOException</CODE> - if an IO error occurs</DL>\r
896 </DD>\r
897 </DL>\r
898 <HR>\r
899 \r
900 <A NAME="dumpASCII(java.io.Writer)"><!-- --></A><H3>\r
901 dumpASCII</H3>\r
902 <PRE>\r
903 public void <B>dumpASCII</B>(java.io.Writer&nbsp;writer)</PRE>\r
904 <DL>\r
905 <DD>Dumps the wave out to the given stream\r
906 <P>\r
907 <DD><DL>\r
908 <DT><B>Parameters:</B><DD><CODE>writer</CODE> - the output stream</DL>\r
909 </DD>\r
910 </DL>\r
911 <!-- ========= END OF CLASS DATA ========= -->\r
912 <HR>\r
913 \r
914
915 <!-- ======= START OF BOTTOM NAVBAR ====== -->\r
916 <A NAME="navbar_bottom"><!-- --></A>
917 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
918 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">\r
919 <TR>\r
920 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">\r
921 <A NAME="navbar_bottom_firstrow"><!-- --></A>
922 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">\r
923   <TR ALIGN="center" VALIGN="top">\r
924   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>\r
925   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>\r
926   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>\r
927   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>\r
928   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>\r
929   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>\r
930   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>\r
931   </TR>\r
932 </TABLE>\r
933 </TD>\r
934 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>\r
935 </EM>\r
936 </TD>\r
937 </TR>\r
938 \r
939 <TR>\r
940 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
941 &nbsp;<A HREF="../../../../../com/sun/speech/freetts/relp/AudioOutput.html" title="class in com.sun.speech.freetts.relp"><B>PREV CLASS</B></A>&nbsp;\r
942 &nbsp;<A HREF="../../../../../com/sun/speech/freetts/relp/Sample.html" title="class in com.sun.speech.freetts.relp"><B>NEXT CLASS</B></A></FONT></TD>\r
943 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
944   <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;\r
945 &nbsp;<A HREF="LPCResult.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;\r
946 &nbsp;<SCRIPT type="text/javascript">\r
947   <!--\r
948   if(window==top) {\r
949     document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');\r
950   }\r
951   //-->\r
952 </SCRIPT>\r
953 <NOSCRIPT>\r
954   <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>\r
955 </NOSCRIPT>
956 \r
957 </FONT></TD>\r
958 </TR>\r
959 <TR>\r
960 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
961   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>\r
962 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
963 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>\r
964 </TR>\r
965 </TABLE>\r
966 <A NAME="skip-navbar_bottom"></A>
967 <!-- ======== END OF BOTTOM NAVBAR ======= -->\r
968 \r
969 <HR>\r
970 \r
971 </BODY>\r
972 </HTML>\r