Package com.sun.speech.freetts
Class PhoneDuration
- java.lang.Object
-
- com.sun.speech.freetts.PhoneDuration
-
public class PhoneDuration extends java.lang.ObjectMaintains the mean duration and standard deviation about a phone. These are meant to be used by the code that calculates segment durations via statistical methods, and are paired with the phone byPhoneDurations.- See Also:
PhoneDurations
-
-
Constructor Summary
Constructors Constructor Description PhoneDuration(float mean, float standardDeviation)Creates a newPhoneDurationwith the given mean and standard deviation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetMean()Gets the mean.floatgetStandardDeviation()Gets the standard deviation from the mean.
-