|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.speech.freetts.Voice
marytts.modules.DummyFreeTTSVoice
marytts.language.en.DummyFreeTTSVoice
public class DummyFreeTTSVoice
Defines a dummy voice allowing to use FreeTTS UtteranceProcessors from "outside". Differing from the FreeTTS philosophy, this "voice" does *not* actually call the UtteranceProcessors. It only serves as a collection of data, such as the lexicon, and some reference values.
| Field Summary |
|---|
| Fields inherited from class marytts.modules.DummyFreeTTSVoice |
|---|
maryVoice, useBinaryIO |
| Fields inherited from class com.sun.speech.freetts.Voice |
|---|
DATABASE_NAME, DEFAULT_AUDIO_PLAYER, DEFAULT_AUDIO_PLAYER_DEFAULT, FEATURE_JOIN_TYPE, FEATURE_SILENCE, PROP_PREFIX |
| Constructor Summary | |
|---|---|
DummyFreeTTSVoice()
Creates a simple voice containing a reference to a marytts.modules.synthesis.Voice. |
|
DummyFreeTTSVoice(Voice maryVoice,
java.lang.String lexiconClassName)
Creates a simple voice containing a reference to a marytts.modules.synthesis.Voice. |
|
| Method Summary | |
|---|---|
void |
initialise(Voice aMaryVoice,
java.lang.String lexiconClassName)
Creates a simple voice containing a reference to a marytts.modules.synthesis.Voice. |
protected void |
setupFeatureProcessors()
Sets up the FeatureProcessors for this Voice. |
java.lang.String |
toString()
Converts this object to a string |
| Methods inherited from class marytts.modules.DummyFreeTTSVoice |
|---|
allocate, getAudioOutput, getMaryVoice, getPhoneFeature, getTokenizer, loader, setupFeatureSet |
| Methods inherited from class com.sun.speech.freetts.Voice |
|---|
addFeatureProcessor, createOutputThread, deallocate, dump, dumpProcessors, endBatch, error, 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, isVerbose, load, log, processNode, processUtterance, setAge, setAudioPlayer, setDescription, setDetailedMetrics, setDomain, setDumpRelations, setDumpUtterance, setDurationStretch, setGender, setLexicon, setLoaded, setLocale, setMetrics, setName, setOrganization, setOutputQueue, setPitch, setPitchRange, setPitchShift, setRate, setRunTitle, setStyle, setVerbose, setVolume, setWaveDumpFile, speak, speak, speak, speak, startBatch, warn |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DummyFreeTTSVoice()
marytts.modules.synthesis.Voice.
This default constructor must be followed by a meaningful
call to initialise().
public DummyFreeTTSVoice(Voice maryVoice,
java.lang.String lexiconClassName)
marytts.modules.synthesis.Voice.
This version sets up US English feature processors.
lexiconClassName - if not null, automatically load up
the specified lexicon; otherwise, don't load any lexicon.
java.lang.RuntimeException - if the class specified by lexiconClassName
cannot be instantiated.| Method Detail |
|---|
public void initialise(Voice aMaryVoice,
java.lang.String lexiconClassName)
marytts.modules.synthesis.Voice.
initialise in class DummyFreeTTSVoicelexiconClassName - if not null, automatically load up
the specified lexicon; otherwise, don't load any lexicon.
java.lang.RuntimeException - if the class specified by lexiconClassName
cannot be instantiated.
protected void setupFeatureProcessors()
throws java.io.IOException
setupFeatureProcessors in class DummyFreeTTSVoicejava.io.IOException - if an I/O error occurspublic java.lang.String toString()
toString in class DummyFreeTTSVoice
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||