|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.speech.freetts.diphone.DiphonePitchmarkGenerator
public class DiphonePitchmarkGenerator
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.
LPCResult
,
Relation
,
SampleInfo
Constructor Summary | |
---|---|
DiphonePitchmarkGenerator()
|
Method Summary | |
---|---|
void |
processUtterance(Utterance utterance)
Generates the LPCResult for this utterance. |
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DiphonePitchmarkGenerator()
Method Detail |
---|
public void processUtterance(Utterance utterance) throws ProcessException
processUtterance
in interface UtteranceProcessor
utterance
- the utterance to process
ProcessException
- if an error occurs while processing
the utterance
java.lang.IllegalStateException
- if the given utterance has no
relation named Relation.TARGET or a feature named
SampleInfo.UTT_NAMEpublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |