Package com.sun.speech.freetts
Interface PhoneDurations
- All Known Implementing Classes:
PhoneDurationsImpl
public interface PhoneDurations
Maintains a set of
PhoneDuration instances indexed by
phone.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetPhoneDuration(String phone) Gets thePhoneDurationfor the given phone.
-
Method Details
-
getPhoneDuration
Gets thePhoneDurationfor the given phone. If no duration is applicable, returnsnull. Note that 'applicable' implementation dependent; some implementations may return a default value.- Parameters:
phone- the phone to get duration information for- Returns:
- the duration information for the phone
-