Package com.sun.speech.freetts.diphone
Class DiphonePitchmarkGenerator
java.lang.Object
com.sun.speech.freetts.diphone.DiphonePitchmarkGenerator
- All Implemented Interfaces:
UtteranceProcessor
Calculates pitchmarks. This is an utterance processor that expects
the utterance to have a target relation. It will create an
LPCResult and add it to the utterance based upon features of the
target relation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
processUtterance
(Utterance utterance) Generates the LPCResult for this utterance.toString()
Returns a string representation of this object.
-
Constructor Details
-
DiphonePitchmarkGenerator
public DiphonePitchmarkGenerator()
-
-
Method Details
-
processUtterance
Generates the LPCResult for this utterance.- Specified by:
processUtterance
in interfaceUtteranceProcessor
- Parameters:
utterance
- the utterance to process- Throws:
ProcessException
- if an error occurs while processing the utteranceIllegalStateException
- if the given utterance has no relation named Relation.TARGET or a feature named SampleInfo.UTT_NAME
-
toString
Returns a string representation of this object.
-