public class HMMDurationF0Modeller extends InternalModule
| Modifier and Type | Field and Description |
|---|---|
protected TargetFeatureComputer |
featureComputer
Deprecated.
|
logger, stateMODULE_OFFLINE, MODULE_RUNNING| Constructor and Description |
|---|
HMMDurationF0Modeller(Locale locale,
String hmmVoiceName,
FeatureProcessorManager featureProcessorManager)
Deprecated.
|
HMMDurationF0Modeller(String locale,
String hmmVoiceName)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
HmmF0Generation(HTSUttModel um,
HMMData htsData)
Deprecated.
Generate F0 values for voiced frames out of HMMs
|
MaryData |
process(MaryData d)
Deprecated.
Perform this module's processing on abstract "MaryData" input
d. |
void |
setActualDurations(org.w3c.dom.traversal.TreeWalker tw,
String durations)
Deprecated.
Set durations
|
void |
setActualDurationsAndF0s(org.w3c.dom.traversal.TreeWalker tw,
String durF0s)
Deprecated.
Set durations and f0 values The meaning of f0="(X,Y)" is: at X% of the phone duration, the F0 value is Y Hz.
|
void |
startup()
Deprecated.
Allow the module to start up, performing whatever is necessary to become operational.
|
getInputType, getLocale, getOutputType, getState, inputType, name, outputType, powerOnSelfTest, shutdownprotected TargetFeatureComputer featureComputer
public HMMDurationF0Modeller(String locale, String hmmVoiceName) throws Exception
Exceptionpublic HMMDurationF0Modeller(Locale locale, String hmmVoiceName, FeatureProcessorManager featureProcessorManager)
public void startup()
throws Exception
MaryModulestartup in interface MaryModulestartup in class InternalModuleException - Exceptionpublic MaryData process(MaryData d) throws Exception
InternalModuled. Subclasses need to make sure that the
process() method is thread-safe, because in server-mode, it will be called from different threads at the same
time. A sensible way to do this seems to be not to use any global or static variables, or to use them read-only.
process in interface MaryModuleprocess in class InternalModuled - doutputType() encapsulating the processing result.
This method just returns its input. Subclasses should override this.
Exception - Exceptionpublic String HmmF0Generation(HTSUttModel um, HMMData htsData) throws Exception
um - HTSUttModel, linked list of model objectshtsData - HMMDataException - Exceptionpublic void setActualDurations(org.w3c.dom.traversal.TreeWalker tw, String durations) throws SynthesisException
tw - twdurations - durationsSynthesisException - SynthesisExceptionpublic void setActualDurationsAndF0s(org.w3c.dom.traversal.TreeWalker tw, String durF0s) throws SynthesisException
tw - treewalkerdurF0s - String containing in each line one phoneme its duration and its F0 values if it is voiced or 0 if it is unvoicedSynthesisException - SynthesisExceptionCopyright © 2000–2016 DFKI GmbH. All rights reserved.