de.dfki.lt.mary.unitselection
Class UnitSelectionVoice
java.lang.Object
de.dfki.lt.mary.modules.synthesis.Voice
de.dfki.lt.mary.unitselection.UnitSelectionVoice
public class UnitSelectionVoice
- extends Voice
A Unit Selection Voice
| Nested classes/interfaces inherited from class de.dfki.lt.mary.modules.synthesis.Voice |
Voice.Gender |
|
Constructor Summary |
UnitSelectionVoice(UnitDatabase database,
UnitSelector unitSelector,
UnitConcatenator concatenator,
java.lang.String[] nameArray,
java.util.Locale locale,
javax.sound.sampled.AudioFormat dbAudioFormat,
WaveformSynthesizer synthesizer,
Voice.Gender gender,
int topStart,
int topEnd,
int baseStart,
int baseEnd,
java.lang.String domain,
java.lang.String exampleTextFile,
CART durationCart,
CART[] f0Carts,
FeatureDefinition durationCartFeatDef,
FeatureDefinition f0CartsFeatDef)
Build a new UnitSelectionVoice |
| Methods inherited from class de.dfki.lt.mary.modules.synthesis.Voice |
baseEnd, baseStart, convertSampa, dbAudioFormat, gender, getAvailableVoices, getAvailableVoices, getAvailableVoices, getAvailableVoices, getDefaultVoice, getHalfphoneTargetFeatureComputer, getLexicon, getLocale, getName, getPreferredModulesAcceptingType, getSampaPhoneme, getSampaPhonemeSet, getSuitableVoice, getTargetFeatureComputer, getVoice, getVoice, getVoice, hasName, registerVoice, registerVoice, sampa2voice, sampaString2voicePhonemeList, synthesize, synthesizer, topEnd, topStart, toString, useVoicePAInOutput, voice2sampa, voicePhonemeArray2sampaString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
database
protected UnitDatabase database
unitSelector
protected UnitSelector unitSelector
concatenator
protected UnitConcatenator concatenator
domain
protected java.lang.String domain
name
protected java.lang.String name
durationCart
protected CART durationCart
f0Carts
protected CART[] f0Carts
exampleText
protected java.lang.String exampleText
durationCartFeatDef
protected FeatureDefinition durationCartFeatDef
f0CartsFeatDef
protected FeatureDefinition f0CartsFeatDef
UnitSelectionVoice
public UnitSelectionVoice(UnitDatabase database,
UnitSelector unitSelector,
UnitConcatenator concatenator,
java.lang.String[] nameArray,
java.util.Locale locale,
javax.sound.sampled.AudioFormat dbAudioFormat,
WaveformSynthesizer synthesizer,
Voice.Gender gender,
int topStart,
int topEnd,
int baseStart,
int baseEnd,
java.lang.String domain,
java.lang.String exampleTextFile,
CART durationCart,
CART[] f0Carts,
FeatureDefinition durationCartFeatDef,
FeatureDefinition f0CartsFeatDef)
- Build a new UnitSelectionVoice
- Parameters:
database - the database of this voiceunitSelector - the unit selector of this voiceconcatenator - the concatenator of this voicepath - ?nameArray - the name(s) of this voicelocale - the language of this voicedbAudioFormat - the AudioFormat of this voicesynthesizer - the synthesizer of this voicegender - the gender of this voicetopStart - ?topEnd - ?baseStart - ?baseEnd - ?knownVoiceQualities - ?lexicon - the name of the lexicon of this voicedomain - the domain of this voiceexampleTextFile - name of file containing example text for
this voice (null for general domain voice)
getDatabase
public UnitDatabase getDatabase()
- Gets the database of this voice
- Returns:
- the database
getUnitSelector
public UnitSelector getUnitSelector()
- Gets the unit selector of this voice
- Returns:
- the unit selector
getConcatenator
public UnitConcatenator getConcatenator()
- Gets the unit concatenator of this voice
- Returns:
- the unit selector
getDomain
public java.lang.String getDomain()
- Gets the domain of this voice
- Returns:
- the domain
getExampleText
public java.lang.String getExampleText()
readExampleText
public void readExampleText(java.lang.String file)
getDurationTree
public CART getDurationTree()
getF0Trees
public CART[] getF0Trees()
getDurationCartFeatDef
public FeatureDefinition getDurationCartFeatDef()
getF0CartsFeatDef
public FeatureDefinition getF0CartsFeatDef()