public class CMUClusterUnitVoice extends CMUVoice implements de.dfki.lt.freetts.ConcatenativeVoice
| Modifier and Type | Field and Description |
|---|---|
protected java.net.URL |
database |
DATABASE_NAME, DEFAULT_AUDIO_PLAYER, DEFAULT_AUDIO_PLAYER_DEFAULT, FEATURE_JOIN_TYPE, FEATURE_SILENCE, PROP_PREFIX| Constructor and Description |
|---|
CMUClusterUnitVoice(java.lang.String name,
Gender gender,
Age age,
java.lang.String description,
java.util.Locale locale,
java.lang.String domain,
java.lang.String organization,
CMULexicon lexicon,
java.net.URL database)
Creates a simple cluster unit voice
|
| Modifier and Type | Method and Description |
|---|---|
java.net.URL |
getDatabase()
Gets the url to the database that defines the unit data for this
voice.
|
UtteranceProcessor |
getPitchmarkGenerator()
Returns the pitch mark generator to be used by this voice.
|
UtteranceProcessor |
getUnitConcatenator()
Returns the unit concatenator to be used by this voice.
|
UtteranceProcessor |
getUnitSelector()
Returns the unit selector to be used by this voice.
|
protected void |
setupFeatureSet()
Sets up the FeatureSet for this Voice.
|
java.lang.String |
toString()
Converts this object to a string
|
getAudioOutput, getPhoneFeature, getPostLexicalAnalyzer, getTokenizer, loader, setupFeatureProcessors, setupUtteranceProcessorsaddFeatureProcessor, allocate, createOutputThread, deallocate, dump, dumpProcessors, endBatch, getAge, getAudioPlayer, getDefaultAudioPlayer, getDescription, getDomain, getDurationStretch, getFeatureProcessor, getFeatures, getGender, getLexicon, getLocale, getName, getOrganization, getOutputQueue, getPitch, getPitchRange, getPitchShift, getRate, getResource, getRunTitle, getStyle, getUtteranceProcessors, getVolume, getWaveDumpFile, isDetailedMetrics, isDumpRelations, isDumpUtterance, isLoaded, isMetrics, load, processNode, processUtterance, setAge, setAudioPlayer, setDescription, setDetailedMetrics, setDomain, setDumpRelations, setDumpUtterance, setDurationStretch, setGender, setLexicon, setLoaded, setLocale, setMetrics, setName, setOrganization, setOutputQueue, setPitch, setPitchRange, setPitchShift, setRate, setRunTitle, setStyle, setVolume, setWaveDumpFile, speak, speak, speak, speak, startBatchpublic CMUClusterUnitVoice(java.lang.String name,
Gender gender,
Age age,
java.lang.String description,
java.util.Locale locale,
java.lang.String domain,
java.lang.String organization,
CMULexicon lexicon,
java.net.URL database)
name - the name of the voicegender - the gender of the voiceage - the age of the voicedescription - a human-readable string providing a
description that can be displayed for the users.locale - the locale of the voicedomain - the domain of this voice. For example,organization - the organization which created the voice
"general", "time", or
"weather".lexicon - the lexicon to loaddatabase - the url to the database containing unit data
for this voice.public java.net.URL getDatabase()
getDatabase in interface de.dfki.lt.freetts.ConcatenativeVoiceprotected void setupFeatureSet()
throws java.io.IOException
setupFeatureSet in class CMUVoicejava.io.IOException - if an I/O error occurspublic UtteranceProcessor getUnitSelector() throws java.io.IOException
getUnitSelector in interface de.dfki.lt.freetts.ConcatenativeVoicegetUnitSelector in class CMUVoicejava.io.IOException - if an IO error occurs while getting
processorpublic UtteranceProcessor getPitchmarkGenerator() throws java.io.IOException
getPitchmarkGenerator in interface de.dfki.lt.freetts.ConcatenativeVoicegetPitchmarkGenerator in class CMUVoicejava.io.IOException - if an IO error occurs while getting
processorpublic UtteranceProcessor getUnitConcatenator() throws java.io.IOException
getUnitConcatenator in interface de.dfki.lt.freetts.ConcatenativeVoicegetUnitConcatenator in class CMUVoicejava.io.IOException - if an IO error occurs while getting
processor