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:29 CET 2009 -->
\r
7 PhoneDuration (FreeTTS 1.2)
\r
10 <META NAME="keywords" CONTENT="com.sun.speech.freetts.PhoneDuration 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="PhoneDuration (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/PathExtractorImpl.html" title="class in com.sun.speech.freetts"><B>PREV CLASS</B></A>
\r
53 <A HREF="../../../../com/sun/speech/freetts/PhoneDurationsImpl.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>
\r
56 <A HREF="PhoneDuration.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 | FIELD | <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: FIELD | <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</FONT>
\r
86 Class PhoneDuration</H2>
\r
89 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>com.sun.speech.freetts.PhoneDuration</B>
\r
93 <DT>public class <B>PhoneDuration</B><DT>extends java.lang.Object</DL>
\r
96 Maintains the mean duration and standard deviation about a phone.
97 These are meant to be used by the code that calculates segment
98 durations via statistical methods, and are paired with the phone
99 by <code>PhoneDurations</code>.
\r
104 <DT><B>See Also:</B><DD><A HREF="../../../../com/sun/speech/freetts/PhoneDurations.html" title="interface in com.sun.speech.freetts"><CODE>PhoneDurations</CODE></A></DL>
\r
108 <!-- ======== NESTED CLASS SUMMARY ======== -->
\r
111 <!-- =========== FIELD SUMMARY =========== -->
\r
114 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
\r
116 <A NAME="constructor_summary"><!-- --></A>
117 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
118 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
119 <TD COLSPAN=2><FONT SIZE="+2">
\r
120 <B>Constructor Summary</B></FONT></TD>
\r
122 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
123 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/PhoneDuration.html#PhoneDuration(float, float)">PhoneDuration</A></B>(float mean,
124 float standardDeviation)</CODE>
\r
127 Creates a new <code>PhoneDuration</code> with the given mean
128 and standard deviation.</TD>
\r
132 <!-- ========== METHOD SUMMARY =========== -->
\r
134 <A NAME="method_summary"><!-- --></A>
135 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
136 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
137 <TD COLSPAN=2><FONT SIZE="+2">
\r
138 <B>Method Summary</B></FONT></TD>
\r
140 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
141 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
142 <CODE> float</CODE></FONT></TD>
\r
143 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/PhoneDuration.html#getMean()">getMean</A></B>()</CODE>
\r
146 Gets the mean. </TD>
\r
148 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
149 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
150 <CODE> float</CODE></FONT></TD>
\r
151 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/PhoneDuration.html#getStandardDeviation()">getStandardDeviation</A></B>()</CODE>
\r
154 Gets the standard deviation from the mean.</TD>
\r
157 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
158 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
159 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
\r
160 <TD><B>Methods inherited from class java.lang.Object</B></TD>
\r
162 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
163 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
\r
169 <!-- ============ FIELD DETAIL =========== -->
\r
172 <!-- ========= CONSTRUCTOR DETAIL ======== -->
\r
174 <A NAME="constructor_detail"><!-- --></A>
175 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
176 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
177 <TD COLSPAN=1><FONT SIZE="+2">
\r
178 <B>Constructor Detail</B></FONT></TD>
\r
182 <A NAME="PhoneDuration(float, float)"><!-- --></A><H3>
\r
185 public <B>PhoneDuration</B>(float mean,
186 float standardDeviation)</PRE>
\r
188 <DD>Creates a new <code>PhoneDuration</code> with the given mean
189 and standard deviation.
\r
191 <DT><B>Parameters:</B><DD><CODE>mean</CODE> - mean duration, typically in seconds<DD><CODE>standardDeviation</CODE> - standardDeviation from the mean</DL>
\r
193 <!-- ============ METHOD DETAIL ========== -->
\r
195 <A NAME="method_detail"><!-- --></A>
196 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
197 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
198 <TD COLSPAN=1><FONT SIZE="+2">
\r
199 <B>Method Detail</B></FONT></TD>
\r
203 <A NAME="getMean()"><!-- --></A><H3>
\r
206 public float <B>getMean</B>()</PRE>
\r
208 <DD>Gets the mean. The return value is typically in seconds.
\r
212 <DT><B>Returns:</B><DD>the mean</DL>
\r
217 <A NAME="getStandardDeviation()"><!-- --></A><H3>
\r
218 getStandardDeviation</H3>
\r
220 public float <B>getStandardDeviation</B>()</PRE>
\r
222 <DD>Gets the standard deviation from the mean.
\r
226 <DT><B>Returns:</B><DD>the standard deviation from the mean</DL>
\r
229 <!-- ========= END OF CLASS DATA ========= -->
\r
233 <!-- ======= START OF BOTTOM NAVBAR ====== -->
\r
234 <A NAME="navbar_bottom"><!-- --></A>
235 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
236 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
\r
238 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
\r
239 <A NAME="navbar_bottom_firstrow"><!-- --></A>
240 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
\r
241 <TR ALIGN="center" VALIGN="top">
\r
242 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
\r
243 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
\r
244 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
\r
245 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
\r
246 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
\r
247 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
\r
248 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
\r
252 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
\r
258 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
259 <A HREF="../../../../com/sun/speech/freetts/PathExtractorImpl.html" title="class in com.sun.speech.freetts"><B>PREV CLASS</B></A>
\r
260 <A HREF="../../../../com/sun/speech/freetts/PhoneDurationsImpl.html" title="class in com.sun.speech.freetts"><B>NEXT CLASS</B></A></FONT></TD>
\r
261 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
262 <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>
\r
263 <A HREF="PhoneDuration.html" target="_top"><B>NO FRAMES</B></A>
\r
264 <SCRIPT type="text/javascript">
\r
267 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
\r
272 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
\r
278 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
279 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
\r
280 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
281 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
\r
284 <A NAME="skip-navbar_bottom"></A>
285 <!-- ======== END OF BOTTOM NAVBAR ======= -->
\r