Package com.sun.speech.freetts.clunits
Class ClusterUnitPitchmarkGenerator
java.lang.Object
com.sun.speech.freetts.clunits.ClusterUnitPitchmarkGenerator
- All Implemented Interfaces:
UtteranceProcessor
Calculates the pitchmarks. This class is an UtteranceProcessor that
calculates target pitchmarks for the given utterance and adds the
target_lpcres relation to the utterance with the pitchmark
information.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
processUtterance
(Utterance utterance) Calculates the pitchmarks for the utterance and adds them as an LPCResult to the Utterance in a relation named "target_lpcres".toString()
Retrieves the name of this utteranceProcessor.
-
Constructor Details
-
ClusterUnitPitchmarkGenerator
public ClusterUnitPitchmarkGenerator()
-
-
Method Details
-
processUtterance
Calculates the pitchmarks for the utterance and adds them as an LPCResult to the Utterance in a relation named "target_lpcres".- Specified by:
processUtterance
in interfaceUtteranceProcessor
- Parameters:
utterance
- the utterance to process- Throws:
ProcessException
- if an error occurs while processing the utterance- See Also:
-
toString
Retrieves the name of this utteranceProcessor.
-