com.sun.speech.freetts.en.us
Class CMUArcticVoice

java.lang.Object
  extended bycom.sun.speech.freetts.Voice
      extended bycom.sun.speech.freetts.en.us.CMUVoice
          extended bycom.sun.speech.freetts.en.us.CMUClusterUnitVoice
              extended bycom.sun.speech.freetts.en.us.CMUArcticVoice
All Implemented Interfaces:
de.dfki.lt.freetts.ConcatenativeVoice, Dumpable, UtteranceProcessor

public class CMUArcticVoice
extends CMUClusterUnitVoice

Experimental class that selects units for the CMU ARCTIC voices.


Field Summary
 
Fields inherited from class com.sun.speech.freetts.en.us.CMUClusterUnitVoice
database
 
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
CMUArcticVoice(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 for the ARCTIC voices
 
Method Summary
 UtteranceProcessor getUnitSelector()
          Returns the unit selector to be used by this voice.
 
Methods inherited from class com.sun.speech.freetts.en.us.CMUClusterUnitVoice
getDatabase, getPitchmarkGenerator, getUnitConcatenator, setupFeatureSet, toString
 
Methods inherited from class com.sun.speech.freetts.en.us.CMUVoice
getAudioOutput, getPhoneFeature, getPostLexicalAnalyzer, getTokenizer, loader, setupFeatureProcessors, setupUtteranceProcessors
 
Methods inherited from class com.sun.speech.freetts.Voice
addFeatureProcessor, allocate, 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

CMUArcticVoice

public CMUArcticVoice(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 for the ARCTIC voices

Parameters:
name - the name of the voice
gender - the gender of the voice
age - the age of the voice
description - a human-readable string providing a description that can be displayed for the users.
locale - the locale of the voice
domain - the domain of this voice. For example,
organization - the organization which created the voice "general", "time", or "weather".
lexicon - the lexicon to load
database - the url to the database containing unit data for this voice.
Method Detail

getUnitSelector

public UtteranceProcessor getUnitSelector()
                                   throws java.io.IOException
Returns the unit selector to be used by this voice. Derived voices typically override this to customize behaviors. This voice uses a cluster unit selector as the unit selector.

Specified by:
getUnitSelector in interface de.dfki.lt.freetts.ConcatenativeVoice
Overrides:
getUnitSelector in class CMUClusterUnitVoice
Returns:
the post lexical processor
Throws:
java.io.IOException - if an IO error occurs while getting processor