1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
\r
5 <!-- Generated by javadoc (build 1.4.2_16) on Mon Mar 09 18:20:30 CET 2009 -->
\r
7 Diphone (FreeTTS 1.2)
\r
10 <META NAME="keywords" CONTENT="com.sun.speech.freetts.diphone.Diphone class">
\r
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
\r
14 <SCRIPT type="text/javascript">
\r
15 function windowTitle()
\r
17 parent.document.title="Diphone (FreeTTS 1.2)";
\r
23 <BODY BGCOLOR="white" onload="windowTitle();">
\r
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
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> </TD>
\r
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
\r
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
\r
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
\r
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
\r
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
\r
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
\r
45 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
\r
51 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
52 <A HREF="../../../../../com/sun/speech/freetts/diphone/AliasDiphone.html" title="class in com.sun.speech.freetts.diphone"><B>PREV CLASS</B></A>
\r
53 <A HREF="../../../../../com/sun/speech/freetts/diphone/DiphonePitchmarkGenerator.html" title="class in com.sun.speech.freetts.diphone"><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>
\r
56 <A HREF="Diphone.html" target="_top"><B>NO FRAMES</B></A>
\r
57 <SCRIPT type="text/javascript">
\r
60 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
\r
65 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
\r
71 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
72 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
\r
73 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
74 DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
\r
77 <A NAME="skip-navbar_top"></A>
78 <!-- ========= END OF TOP NAVBAR ========= -->
\r
81 <!-- ======== START OF CLASS DATA ======== -->
\r
84 com.sun.speech.freetts.diphone</FONT>
\r
89 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>com.sun.speech.freetts.diphone.Diphone</B>
\r
92 <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../com/sun/speech/freetts/diphone/AliasDiphone.html" title="class in com.sun.speech.freetts.diphone">AliasDiphone</A></DD>
\r
96 <DT>public class <B>Diphone</B><DT>extends java.lang.Object</DL>
\r
99 Represents two adjacent phones. A diphone is defined by its name,
100 the set of audio data, and information used to help stitch diphones
101 together. This class is immutable.
\r
108 <!-- ======== NESTED CLASS SUMMARY ======== -->
\r
111 <!-- =========== FIELD SUMMARY =========== -->
\r
113 <A NAME="field_summary"><!-- --></A>
114 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
115 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
116 <TD COLSPAN=2><FONT SIZE="+2">
\r
117 <B>Field Summary</B></FONT></TD>
\r
119 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
120 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
121 <CODE>protected static int</CODE></FONT></TD>
\r
122 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/diphone/Diphone.html#ALIAS_MAGIC">ALIAS_MAGIC</A></B></CODE>
\r
125 </TD>
\r
127 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
128 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
129 <CODE>protected static int</CODE></FONT></TD>
\r
130 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/diphone/Diphone.html#MAGIC">MAGIC</A></B></CODE>
\r
133 </TD>
\r
135 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
136 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
137 <CODE>protected static int</CODE></FONT></TD>
\r
138 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/diphone/Diphone.html#NAME_LENGTH">NAME_LENGTH</A></B></CODE>
\r
141 </TD>
\r
145 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
\r
147 <A NAME="constructor_summary"><!-- --></A>
148 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
149 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
150 <TD COLSPAN=2><FONT SIZE="+2">
\r
151 <B>Constructor Summary</B></FONT></TD>
\r
153 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
154 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
155 <CODE>protected </CODE></FONT></TD>
\r
156 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/diphone/Diphone.html#Diphone(java.lang.String)">Diphone</A></B>(java.lang.String name)</CODE>
\r
159 Constructor to be used only by subclasses who do not use the
160 variables except for the name</TD>
\r
162 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
163 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
164 <CODE> </CODE></FONT></TD>
\r
165 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/diphone/Diphone.html#Diphone(java.lang.String, com.sun.speech.freetts.relp.Sample[], int)">Diphone</A></B>(java.lang.String name,
166 <A HREF="../../../../../com/sun/speech/freetts/relp/Sample.html" title="class in com.sun.speech.freetts.relp">Sample</A>[] samples,
167 int midPoint)</CODE>
\r
170 Creates a diphone with the given name, samples and midpoint.</TD>
\r
174 <!-- ========== METHOD SUMMARY =========== -->
\r
176 <A NAME="method_summary"><!-- --></A>
177 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
178 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
179 <TD COLSPAN=2><FONT SIZE="+2">
\r
180 <B>Method Summary</B></FONT></TD>
\r
182 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
183 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
184 <CODE> void</CODE></FONT></TD>
\r
185 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/diphone/Diphone.html#dump()">dump</A></B>()</CODE>
\r
188 dumps out this Diphone.</TD>
\r
190 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
191 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
192 <CODE> void</CODE></FONT></TD>
\r
193 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/diphone/Diphone.html#dumpBinary(java.nio.ByteBuffer)">dumpBinary</A></B>(java.nio.ByteBuffer bb)</CODE>
\r
196 Dumps the diphone to the given channel.</TD>
\r
198 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
199 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
200 <CODE> void</CODE></FONT></TD>
\r
201 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/diphone/Diphone.html#dumpBinary(java.io.DataOutputStream)">dumpBinary</A></B>(java.io.DataOutputStream os)</CODE>
\r
204 Dumps the diphone to the given channel.</TD>
\r
206 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
207 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
208 <CODE> int</CODE></FONT></TD>
\r
209 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/diphone/Diphone.html#getMidPoint()">getMidPoint</A></B>()</CODE>
\r
212 Returns the midpoint index. the midpoint index is the sample
213 that divides the diphone into the first and second parts.</TD>
\r
215 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
216 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
217 <CODE> java.lang.String</CODE></FONT></TD>
\r
218 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/diphone/Diphone.html#getName()">getName</A></B>()</CODE>
\r
221 Gets the name of the diphone.</TD>
\r
223 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
224 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
225 <CODE> int</CODE></FONT></TD>
\r
226 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/diphone/Diphone.html#getPbPositionMillis()">getPbPositionMillis</A></B>()</CODE>
\r
229 Returns the midpoint index. the midpoint index is the sample
230 that divides the diphone into the first and second parts.</TD>
\r
232 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
233 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
234 <CODE> <A HREF="../../../../../com/sun/speech/freetts/relp/Sample.html" title="class in com.sun.speech.freetts.relp">Sample</A>[]</CODE></FONT></TD>
\r
235 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/diphone/Diphone.html#getSamples()">getSamples</A></B>()</CODE>
\r
238 Returns the samples associated with this diphone.</TD>
\r
240 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
241 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
242 <CODE> <A HREF="../../../../../com/sun/speech/freetts/relp/Sample.html" title="class in com.sun.speech.freetts.relp">Sample</A></CODE></FONT></TD>
\r
243 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/diphone/Diphone.html#getSamples(int)">getSamples</A></B>(int which)</CODE>
\r
246 Returns a particular sample.</TD>
\r
248 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
249 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
250 <CODE> int</CODE></FONT></TD>
\r
251 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/diphone/Diphone.html#getUnitSize(int)">getUnitSize</A></B>(int unitPart)</CODE>
\r
254 Returns the total number of residuals in the given part for this
257 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
258 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
259 <CODE>static <A HREF="../../../../../com/sun/speech/freetts/diphone/Diphone.html" title="class in com.sun.speech.freetts.diphone">Diphone</A></CODE></FONT></TD>
\r
260 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/diphone/Diphone.html#loadBinary(java.nio.ByteBuffer)">loadBinary</A></B>(java.nio.ByteBuffer bb)</CODE>
\r
263 Loads a new diphone from the given buffer.</TD>
\r
265 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
266 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
267 <CODE>static <A HREF="../../../../../com/sun/speech/freetts/diphone/Diphone.html" title="class in com.sun.speech.freetts.diphone">Diphone</A></CODE></FONT></TD>
\r
268 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/diphone/Diphone.html#loadBinary(java.io.DataInputStream)">loadBinary</A></B>(java.io.DataInputStream dis)</CODE>
\r
271 Loads a new diphone from the given DataInputStream.</TD>
\r
273 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
274 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
275 <CODE> <A HREF="../../../../../com/sun/speech/freetts/relp/Sample.html" title="class in com.sun.speech.freetts.relp">Sample</A></CODE></FONT></TD>
\r
276 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/diphone/Diphone.html#nearestSample(float, int)">nearestSample</A></B>(float uIndex,
277 int unitPart)</CODE>
\r
280 Returns the sample that is closest to uIndex.</TD>
\r
283 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
284 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
285 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
\r
286 <TD><B>Methods inherited from class java.lang.Object</B></TD>
\r
288 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
289 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
\r
295 <!-- ============ FIELD DETAIL =========== -->
\r
297 <A NAME="field_detail"><!-- --></A>
298 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
299 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
300 <TD COLSPAN=1><FONT SIZE="+2">
\r
301 <B>Field Detail</B></FONT></TD>
\r
305 <A NAME="MAGIC"><!-- --></A><H3>
\r
308 protected static final int <B>MAGIC</B></PRE>
\r
311 <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.sun.speech.freetts.diphone.Diphone.MAGIC">Constant Field Values</A></DL>
\r
315 <A NAME="ALIAS_MAGIC"><!-- --></A><H3>
\r
318 protected static final int <B>ALIAS_MAGIC</B></PRE>
\r
321 <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.sun.speech.freetts.diphone.Diphone.ALIAS_MAGIC">Constant Field Values</A></DL>
\r
325 <A NAME="NAME_LENGTH"><!-- --></A><H3>
\r
328 protected static final int <B>NAME_LENGTH</B></PRE>
\r
331 <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.sun.speech.freetts.diphone.Diphone.NAME_LENGTH">Constant Field Values</A></DL>
\r
334 <!-- ========= CONSTRUCTOR DETAIL ======== -->
\r
336 <A NAME="constructor_detail"><!-- --></A>
337 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
338 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
339 <TD COLSPAN=1><FONT SIZE="+2">
\r
340 <B>Constructor Detail</B></FONT></TD>
\r
344 <A NAME="Diphone(java.lang.String, com.sun.speech.freetts.relp.Sample[], int)"><!-- --></A><H3>
\r
347 public <B>Diphone</B>(java.lang.String name,
348 <A HREF="../../../../../com/sun/speech/freetts/relp/Sample.html" title="class in com.sun.speech.freetts.relp">Sample</A>[] samples,
349 int midPoint)</PRE>
\r
351 <DD>Creates a diphone with the given name, samples and midpoint.
\r
353 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the diphone<DD><CODE>samples</CODE> - the set of samples for the diphone<DD><CODE>midPoint</CODE> - the index of the sample midpoint</DL>
\r
356 <A NAME="Diphone(java.lang.String)"><!-- --></A><H3>
\r
359 protected <B>Diphone</B>(java.lang.String name)</PRE>
\r
361 <DD>Constructor to be used only by subclasses who do not use the
362 variables except for the name
\r
364 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the diphone</DL>
\r
366 <!-- ============ METHOD DETAIL ========== -->
\r
368 <A NAME="method_detail"><!-- --></A>
369 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
370 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
371 <TD COLSPAN=1><FONT SIZE="+2">
\r
372 <B>Method Detail</B></FONT></TD>
\r
376 <A NAME="getSamples()"><!-- --></A><H3>
\r
379 public <A HREF="../../../../../com/sun/speech/freetts/relp/Sample.html" title="class in com.sun.speech.freetts.relp">Sample</A>[] <B>getSamples</B>()</PRE>
\r
381 <DD>Returns the samples associated with this diphone.
\r
385 <DT><B>Returns:</B><DD>the samples associated with this diphone</DL>
\r
390 <A NAME="getSamples(int)"><!-- --></A><H3>
\r
393 public <A HREF="../../../../../com/sun/speech/freetts/relp/Sample.html" title="class in com.sun.speech.freetts.relp">Sample</A> <B>getSamples</B>(int which)</PRE>
\r
395 <DD>Returns a particular sample.
\r
398 <DT><B>Parameters:</B><DD><CODE>which</CODE> - which sample to return
399 <DT><B>Returns:</B><DD>the desired sample</DL>
\r
404 <A NAME="getName()"><!-- --></A><H3>
\r
407 public java.lang.String <B>getName</B>()</PRE>
\r
409 <DD>Gets the name of the diphone.
\r
413 <DT><B>Returns:</B><DD>the name of the diphone</DL>
\r
418 <A NAME="getMidPoint()"><!-- --></A><H3>
\r
421 public int <B>getMidPoint</B>()</PRE>
\r
423 <DD>Returns the midpoint index. the midpoint index is the sample
424 that divides the diphone into the first and second parts.
\r
428 <DT><B>Returns:</B><DD>the midpoint index.</DL>
\r
433 <A NAME="getPbPositionMillis()"><!-- --></A><H3>
\r
434 getPbPositionMillis</H3>
\r
436 public int <B>getPbPositionMillis</B>()</PRE>
\r
438 <DD>Returns the midpoint index. the midpoint index is the sample
439 that divides the diphone into the first and second parts.
\r
443 <DT><B>Returns:</B><DD>the midpoint index.</DL>
\r
448 <A NAME="nearestSample(float, int)"><!-- --></A><H3>
\r
451 public <A HREF="../../../../../com/sun/speech/freetts/relp/Sample.html" title="class in com.sun.speech.freetts.relp">Sample</A> <B>nearestSample</B>(float uIndex,
452 int unitPart)</PRE>
\r
454 <DD>Returns the sample that is closest to uIndex.
\r
457 <DT><B>Parameters:</B><DD><CODE>uIndex</CODE> - the desired index<DD><CODE>unitPart</CODE> - do we want the first have (1) or the second
459 <DT><B>Returns:</B><DD>the sample nearest to the given index in the given
465 <A NAME="getUnitSize(int)"><!-- --></A><H3>
\r
468 public int <B>getUnitSize</B>(int unitPart)</PRE>
\r
470 <DD>Returns the total number of residuals in the given part for this
474 <DT><B>Parameters:</B><DD><CODE>unitPart</CODE> - indicates which part is of interest (1 or 2)
475 <DT><B>Returns:</B><DD>the number of residuals in the specified part</DL>
\r
480 <A NAME="dump()"><!-- --></A><H3>
\r
483 public void <B>dump</B>()</PRE>
\r
485 <DD>dumps out this Diphone.
\r
493 <A NAME="dumpBinary(java.nio.ByteBuffer)"><!-- --></A><H3>
\r
496 public void <B>dumpBinary</B>(java.nio.ByteBuffer bb)
497 throws java.io.IOException</PRE>
\r
499 <DD>Dumps the diphone to the given channel.
\r
502 <DT><B>Parameters:</B><DD><CODE>bb</CODE> - the ByteBuffer to write to
504 <DD><CODE>java.io.IOException</CODE> - if IO error occurs</DL>
\r
509 <A NAME="dumpBinary(java.io.DataOutputStream)"><!-- --></A><H3>
\r
512 public void <B>dumpBinary</B>(java.io.DataOutputStream os)
513 throws java.io.IOException</PRE>
\r
515 <DD>Dumps the diphone to the given channel.
\r
518 <DT><B>Parameters:</B><DD><CODE>os</CODE> - the DataOutputStream to write to
520 <DD><CODE>java.io.IOException</CODE> - if IO error occurs</DL>
\r
525 <A NAME="loadBinary(java.nio.ByteBuffer)"><!-- --></A><H3>
\r
528 public static <A HREF="../../../../../com/sun/speech/freetts/diphone/Diphone.html" title="class in com.sun.speech.freetts.diphone">Diphone</A> <B>loadBinary</B>(java.nio.ByteBuffer bb)
529 throws java.io.IOException</PRE>
\r
531 <DD>Loads a new diphone from the given buffer.
\r
534 <DT><B>Parameters:</B><DD><CODE>bb</CODE> - the byte buffer to load the diphone from
535 <DT><B>Returns:</B><DD>the new diphone
537 <DD><CODE>java.io.IOException</CODE> - if IO error occurs</DL>
\r
542 <A NAME="loadBinary(java.io.DataInputStream)"><!-- --></A><H3>
\r
545 public static <A HREF="../../../../../com/sun/speech/freetts/diphone/Diphone.html" title="class in com.sun.speech.freetts.diphone">Diphone</A> <B>loadBinary</B>(java.io.DataInputStream dis)
546 throws java.io.IOException</PRE>
\r
548 <DD>Loads a new diphone from the given DataInputStream.
\r
551 <DT><B>Parameters:</B><DD><CODE>dis</CODE> - the datainput stream to load the diphone from
552 <DT><B>Returns:</B><DD>the new diphone
554 <DD><CODE>java.io.IOException</CODE> - if IO error occurs</DL>
\r
557 <!-- ========= END OF CLASS DATA ========= -->
\r
561 <!-- ======= START OF BOTTOM NAVBAR ====== -->
\r
562 <A NAME="navbar_bottom"><!-- --></A>
563 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
564 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
\r
566 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
\r
567 <A NAME="navbar_bottom_firstrow"><!-- --></A>
568 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
\r
569 <TR ALIGN="center" VALIGN="top">
\r
570 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
\r
571 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
\r
572 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
\r
573 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
\r
574 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
\r
575 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
\r
576 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
\r
580 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
\r
586 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
587 <A HREF="../../../../../com/sun/speech/freetts/diphone/AliasDiphone.html" title="class in com.sun.speech.freetts.diphone"><B>PREV CLASS</B></A>
\r
588 <A HREF="../../../../../com/sun/speech/freetts/diphone/DiphonePitchmarkGenerator.html" title="class in com.sun.speech.freetts.diphone"><B>NEXT CLASS</B></A></FONT></TD>
\r
589 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
590 <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
\r
591 <A HREF="Diphone.html" target="_top"><B>NO FRAMES</B></A>
\r
592 <SCRIPT type="text/javascript">
\r
595 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
\r
600 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
\r
606 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
607 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
\r
608 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
609 DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
\r
612 <A NAME="skip-navbar_bottom"></A>
613 <!-- ======== END OF BOTTOM NAVBAR ======= -->
\r