From: Bdale Garbee Date: Tue, 18 May 2010 21:08:33 +0000 (-0600) Subject: Merge branch 'dfsg-orig' X-Git-Tag: debian/1.2.2-1~24 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=d46473c9c0a81a7b818c6c768229f5f033755afb;hp=b0cf68d498ca0856f225da9e6c3756bf20a4a845;p=debian%2Ffreetts Merge branch 'dfsg-orig' --- diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..024c34a --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +freetts (1.2.2-1) unstable; urgency=low + + * Initial packaging for Debian, closes: #576346 + + -- Bdale Garbee Tue, 18 May 2010 11:59:58 -0600 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..8e69137 --- /dev/null +++ b/debian/control @@ -0,0 +1,20 @@ +Source: freetts +Priority: optional +Maintainer: Bdale Garbee +Build-Depends: debhelper (>= 7.0.50), default-jdk, ant, ant-optional, junit4 +Standards-Version: 3.8.4 +Section: java +Vcs-Git: git://git.gag.com/debian/freetts +Vcs-Browser: http://git.gag.com/?p=debian/freetts +Homepage: http://freetts.sourceforge.net + +Package: freetts +Section: java +Architecture: all +Depends: default-jre | java2-runtime, ${misc:Depends} +Description: speech synthesis system + FreeTTS is a speech synthesis system written entirely in the Java(TM) + programming language. It is based upon Flite, a small run-time speech + synthesis engine developed at Carnegie Mellon University. Flite in turn + is derived from the Festival Speech Synthesis System from the University + of Edinburgh and the FestVox project from Carnegie Mellon University. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..879cd79 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,78 @@ +This work was packaged for Debian by: + + Bdale Garbee on Sat, 03 Apr 2010 09:57:48 -0600 + +It was downloaded from: + + http://freetts.sourceforge.net + +Upstream Author(s): + + FreeTTS was built by the Speech Integration Group of Sun Microsystems + Laboratories, who may be contacted via the FreeTTS Forums: + + http://sourceforge.net/projects/freetts/forums + + * Willie Walker, Manager and Principal Investigator + * Paul Lamere, Staff Engineer + * Philip Kwok, Member of Technical Staff + + + FreeTTS is based on CMU's Flite, written by: + + * Alan Black + * Kevin Lenzo + + Kevin and Alan generated the data used by FreeTTS. In addition, Kevin + is the voice behind the diphone voices (kevin 8k, kevin 16k), and Alan + is the voice behind the speaking clock. + + Support for MBROLA voice output was contributed by Marc Schröder, + text-to-speech Researcher in the Language Technology Lab at DFKI, + Saarbrücken, Germany. + + Support for importing FestVox voices into FreeTTS, and support for + dynamically discovering and loading voices was developed by David Vos, + a Sun Microsystems Laboratories student intern. + +Copyright: + + Portions Copyright 2001-2004 Sun Microsystems, Inc. + + Portions Copyright 1999-2001 Language Technologies Institute, + Carnegie Mellon University. + +License: + + Permission is hereby granted, free of charge, to use and distribute + this software and its documentation without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of this work, and to + permit persons to whom this work is furnished to do so, subject to + the following conditions: + + 1. The code must retain the above copyright notice, this list of + conditions and the following disclaimer. + 2. Any modifications must be clearly marked as such. + 3. Original authors' names are not deleted. + 4. The authors' names are not used to endorse or promote products + derived from this software without specific prior written + permission. + + SUN MICROSYSTEMS, INC., CARNEGIE MELLON UNIVERSITY AND THE + CONTRIBUTORS TO THIS WORK DISCLAIM ALL WARRANTIES WITH REGARD TO THIS + SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS, IN NO EVENT SHALL SUN MICROSYSTEMS, INC., CARNEGIE MELLON + UNIVERSITY NOR THE CONTRIBUTORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR + CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF + USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + +The Debian packaging is: + + Copyright (C) 2010 Bdale Garbee + +and is licensed under the GPL version 3, +see "/usr/share/common-licenses/GPL-3". + diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..13c9f03 --- /dev/null +++ b/debian/dirs @@ -0,0 +1 @@ +usr/share/java diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..8a5c010 --- /dev/null +++ b/debian/docs @@ -0,0 +1,3 @@ +ANNOUNCE.txt +README.txt +README.txt diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..9f377ad --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,46 @@ +# Configuration file for git-buildpackage and friends + +[DEFAULT] +# the default build command: +#builder = debuild -i\.git/ -I.git +# the default clean command: +#cleaner = debuild clean +# the default branch for upstream sources: +upstream-branch = upstream +# the default branch for the debian patch: +debian-branch = master +# the default tag formats used: +#upstream-tag = upstream/%(version)s +#debian-tag = debian/%(version)s +# use pristine-tar: +pristine-tar = True + +# Options only affecting git-buildpackage +[git-buildpackage] +#upstream-branch = dfsgclean +# uncomment this to automatically GPG sign tags +#sign-tags = True +# keyid to GPG sign tags with +#keyid = 0xdeadbeef +# push to a remote repository after a successful tag: +posttag = git push --mirror +# use this for more svn-buildpackage like behaviour: +export-dir = ../build-area/freetts/ +#tarball-dir = ../tarballs/ + +# Options only affecting git-import-orig +[git-import-orig] +#upstream-branch = newupstream +#debian-branch = dfsgclean +#filter = .svn + +# Options only affecting git-import-dsc +[git-import-dsc] +#upstream-branch = svn-upstream +#filter = [ 'CVS', '.cvsignore' ] + +# Options only affecting git-dch +[git-dch] +#git-log = --no-merges +#snapshot-number = snapshot + 1 + diff --git a/debian/patches/license.terms-missing.diff b/debian/patches/license.terms-missing.diff new file mode 100644 index 0000000..bc48fcc --- /dev/null +++ b/debian/patches/license.terms-missing.diff @@ -0,0 +1,33 @@ +--- /dev/null 2010-05-04 17:08:24.972004837 -0600 ++++ freetts/license.terms 2004-06-15 05:19:16.000000000 -0600 +@@ -0,0 +1,30 @@ ++Portions Copyright 2001-2004 Sun Microsystems, Inc. ++Portions Copyright 1999-2001 Language Technologies Institute, ++Carnegie Mellon University. ++All Rights Reserved. Use is subject to license terms. ++ ++Permission is hereby granted, free of charge, to use and distribute ++this software and its documentation without restriction, including ++without limitation the rights to use, copy, modify, merge, publish, ++distribute, sublicense, and/or sell copies of this work, and to ++permit persons to whom this work is furnished to do so, subject to ++the following conditions: ++ ++ 1. The code must retain the above copyright notice, this list of ++ conditions and the following disclaimer. ++ 2. Any modifications must be clearly marked as such. ++ 3. Original authors' names are not deleted. ++ 4. The authors' names are not used to endorse or promote products ++ derived from this software without specific prior written ++ permission. ++ ++SUN MICROSYSTEMS, INC., CARNEGIE MELLON UNIVERSITY AND THE ++CONTRIBUTORS TO THIS WORK DISCLAIM ALL WARRANTIES WITH REGARD TO THIS ++SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND ++FITNESS, IN NO EVENT SHALL SUN MICROSYSTEMS, INC., CARNEGIE MELLON ++UNIVERSITY NOR THE CONTRIBUTORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR ++CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF ++USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR ++OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR ++PERFORMANCE OF THIS SOFTWARE. ++ diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..719a404 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +license.terms-missing.diff diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..cf97379 --- /dev/null +++ b/debian/rules @@ -0,0 +1,27 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + dh $@ + +override_dh_auto_build: + ln -sf . src + ant deploy_bin + +#override_dh_auto_install: +# cp build/jar/* `pwd`/debian/openrocket/usr/share/java/ +# printf '#!/bin/sh\njava -jar /usr/share/java/%s\n' \ +# "`/bin/ls build/jar`" > \ +# `pwd`/debian/openrocket/usr/bin/openrocket + +#override_dh_installman: +# dh_installman debian/openrocket.1 + diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..64e0a3e --- /dev/null +++ b/debian/watch @@ -0,0 +1,7 @@ +# Example watch control file for uscan +# See uscan(1) for format + +version=3 + +http://sf.net/freetts/freetts-(.*)-src.zip + diff --git a/javadoc/allclasses-frame.html b/javadoc/allclasses-frame.html deleted file mode 100644 index 5c428dd..0000000 --- a/javadoc/allclasses-frame.html +++ /dev/null @@ -1,354 +0,0 @@ - - - - - - -All Classes (FreeTTS 1.2) - - - - - - - - - - -All Classes -
- - - - - -
Age -
-AliasDiphone -
-AudioOutput -
-AudioPlayer -
-BaseAudioManager -
-BaseEngine -
-BaseEngineProperties -
-BaseSynthesizer -
-BaseSynthesizerProperties -
-BaseSynthesizerQueueItem -
-BaseVoice -
-BulkTimer -
-CART -
-CARTImpl -
-CMUArcticVoice -
-CMUClusterUnitVoice -
-CMUDiphoneVoice -
-CMULexicon -
-CMUTimeLexicon -
-CMUTimeVoice -
-CMUVoice -
-ClusterUnitDatabase -
-ClusterUnitPitchmarkGenerator -
-ClusterUnitSelector -
-ContourGenerator -
-Diphone -
-DiphonePitchmarkGenerator -
-DiphoneUnitDatabase -
-DiphoneUnitSelector -
-Dumpable -
-Durator -
-EngineEventPanel -
-EngineMonitor -
-FeatureProcessor -
-FeatureProcessors -
-FeatureProcessors.Accented -
-FeatureProcessors.AccentedSylIn -
-FeatureProcessors.Gpos -
-FeatureProcessors.LastAccent -
-FeatureProcessors.MonthRange -
-FeatureProcessors.NumDigits -
-FeatureProcessors.PH_CPlace -
-FeatureProcessors.PH_CType -
-FeatureProcessors.PH_CVox -
-FeatureProcessors.PH_VC -
-FeatureProcessors.PH_VFront -
-FeatureProcessors.PH_VHeight -
-FeatureProcessors.PH_VLength -
-FeatureProcessors.PH_VRnd -
-FeatureProcessors.PosInSyl -
-FeatureProcessors.PositionType -
-FeatureProcessors.SegCodaFric -
-FeatureProcessors.SegCodaGlide -
-FeatureProcessors.SegCodaNasal -
-FeatureProcessors.SegCodaStop -
-FeatureProcessors.SegOnsetCoda -
-FeatureProcessors.SegOnsetFric -
-FeatureProcessors.SegOnsetGlide -
-FeatureProcessors.SegOnsetNasal -
-FeatureProcessors.SegOnsetStop -
-FeatureProcessors.SegmentDuration -
-FeatureProcessors.StressedSylIn -
-FeatureProcessors.StressedSylOut -
-FeatureProcessors.SubPhrases -
-FeatureProcessors.SylBreak -
-FeatureProcessors.SylCodaSize -
-FeatureProcessors.SylIn -
-FeatureProcessors.SylOnsetSize -
-FeatureProcessors.SylOut -
-FeatureProcessors.TokenPosGuess -
-FeatureProcessors.WordBreak -
-FeatureProcessors.WordNumSyls -
-FeatureProcessors.WordPunc -
-FeatureSet -
-FeatureSetImpl -
-FreeTTS -
-FreeTTSEngineCentral -
-FreeTTSSpeakable -
-FreeTTSSpeakableImpl -
-FreeTTSSynthesizer -
-FreeTTSSynthesizerModeDesc -
-FreeTTSSynthesizerQueueItem -
-FreeTTSTime -
-FreeTTSVoice -
-Gender -
-InputMode -
-Intonator -
-Item -
-ItemContents -
-JSMLParser -
-JavaClipAudioPlayer -
-JavaStreamingAudioPlayer -
-LPCResult -
-LetterToSound -
-LetterToSoundImpl -
-Lexicon -
-LexiconImpl -
-MbrolaAudioOutput -
-MbrolaCaller -
-MbrolaVoice -
-MbrolaVoiceDirectory -
-MbrolaVoiceValidator -
-MultiFile8BitAudioPlayer -
-MultiFileAudioPlayer -
-NullAudioPlayer -
-NumberExpander -
-OutputQueue -
-ParametersToMbrolaConverter -
-PartOfSpeech -
-PartOfSpeechImpl -
-PartOfSpeechTagger -
-PathExtractor -
-PathExtractorImpl -
-PauseGenerator -
-PhoneDuration -
-PhoneDurations -
-PhoneDurationsImpl -
-PhoneSet -
-PhoneSetImpl -
-Phraser -
-PostLexicalAnalyzer -
-PrefixFSM -
-ProcessException -
-PronounceableFSM -
-RawFileAudioPlayer -
-Relation -
-Sample -
-SampleInfo -
-SampleSet -
-SegmentRelationUtils -
-Segmenter -
-SingleFileAudioPlayer -
-SpeechEventDispatcher -
-SpeechEventUtilities -
-SpeechEventUtilities.SpeechAWTEvent -
-SpeechEventUtilities.SpeechAWTEventTarget -
-SpeechEventWrapper -
-SuffixFSM -
-SynthesizerMonitor -
-SynthesizerSelector -
-TextEngineCentral -
-TextSynthesizer -
-TextSynthesizerModeDesc -
-TextSynthesizerQueueItem -
-Timer -
-Token -
-TokenToWords -
-Tokenizer -
-TokenizerImpl -
-USEnglish -
-Unit -
-UnitConcatenator -
-Utilities -
-Utterance -
-UtteranceProcessor -
-ValidationException -
-Validator -
-Voice -
-VoiceDirectory -
-VoiceList -
-VoiceManager -
-WaveUtils -
-WordRelation -
-
- - - diff --git a/javadoc/allclasses-noframe.html b/javadoc/allclasses-noframe.html deleted file mode 100644 index 46d7664..0000000 --- a/javadoc/allclasses-noframe.html +++ /dev/null @@ -1,354 +0,0 @@ - - - - - - -All Classes (FreeTTS 1.2) - - - - - - - - - - -All Classes -
- - - - - -
Age -
-AliasDiphone -
-AudioOutput -
-AudioPlayer -
-BaseAudioManager -
-BaseEngine -
-BaseEngineProperties -
-BaseSynthesizer -
-BaseSynthesizerProperties -
-BaseSynthesizerQueueItem -
-BaseVoice -
-BulkTimer -
-CART -
-CARTImpl -
-CMUArcticVoice -
-CMUClusterUnitVoice -
-CMUDiphoneVoice -
-CMULexicon -
-CMUTimeLexicon -
-CMUTimeVoice -
-CMUVoice -
-ClusterUnitDatabase -
-ClusterUnitPitchmarkGenerator -
-ClusterUnitSelector -
-ContourGenerator -
-Diphone -
-DiphonePitchmarkGenerator -
-DiphoneUnitDatabase -
-DiphoneUnitSelector -
-Dumpable -
-Durator -
-EngineEventPanel -
-EngineMonitor -
-FeatureProcessor -
-FeatureProcessors -
-FeatureProcessors.Accented -
-FeatureProcessors.AccentedSylIn -
-FeatureProcessors.Gpos -
-FeatureProcessors.LastAccent -
-FeatureProcessors.MonthRange -
-FeatureProcessors.NumDigits -
-FeatureProcessors.PH_CPlace -
-FeatureProcessors.PH_CType -
-FeatureProcessors.PH_CVox -
-FeatureProcessors.PH_VC -
-FeatureProcessors.PH_VFront -
-FeatureProcessors.PH_VHeight -
-FeatureProcessors.PH_VLength -
-FeatureProcessors.PH_VRnd -
-FeatureProcessors.PosInSyl -
-FeatureProcessors.PositionType -
-FeatureProcessors.SegCodaFric -
-FeatureProcessors.SegCodaGlide -
-FeatureProcessors.SegCodaNasal -
-FeatureProcessors.SegCodaStop -
-FeatureProcessors.SegOnsetCoda -
-FeatureProcessors.SegOnsetFric -
-FeatureProcessors.SegOnsetGlide -
-FeatureProcessors.SegOnsetNasal -
-FeatureProcessors.SegOnsetStop -
-FeatureProcessors.SegmentDuration -
-FeatureProcessors.StressedSylIn -
-FeatureProcessors.StressedSylOut -
-FeatureProcessors.SubPhrases -
-FeatureProcessors.SylBreak -
-FeatureProcessors.SylCodaSize -
-FeatureProcessors.SylIn -
-FeatureProcessors.SylOnsetSize -
-FeatureProcessors.SylOut -
-FeatureProcessors.TokenPosGuess -
-FeatureProcessors.WordBreak -
-FeatureProcessors.WordNumSyls -
-FeatureProcessors.WordPunc -
-FeatureSet -
-FeatureSetImpl -
-FreeTTS -
-FreeTTSEngineCentral -
-FreeTTSSpeakable -
-FreeTTSSpeakableImpl -
-FreeTTSSynthesizer -
-FreeTTSSynthesizerModeDesc -
-FreeTTSSynthesizerQueueItem -
-FreeTTSTime -
-FreeTTSVoice -
-Gender -
-InputMode -
-Intonator -
-Item -
-ItemContents -
-JSMLParser -
-JavaClipAudioPlayer -
-JavaStreamingAudioPlayer -
-LPCResult -
-LetterToSound -
-LetterToSoundImpl -
-Lexicon -
-LexiconImpl -
-MbrolaAudioOutput -
-MbrolaCaller -
-MbrolaVoice -
-MbrolaVoiceDirectory -
-MbrolaVoiceValidator -
-MultiFile8BitAudioPlayer -
-MultiFileAudioPlayer -
-NullAudioPlayer -
-NumberExpander -
-OutputQueue -
-ParametersToMbrolaConverter -
-PartOfSpeech -
-PartOfSpeechImpl -
-PartOfSpeechTagger -
-PathExtractor -
-PathExtractorImpl -
-PauseGenerator -
-PhoneDuration -
-PhoneDurations -
-PhoneDurationsImpl -
-PhoneSet -
-PhoneSetImpl -
-Phraser -
-PostLexicalAnalyzer -
-PrefixFSM -
-ProcessException -
-PronounceableFSM -
-RawFileAudioPlayer -
-Relation -
-Sample -
-SampleInfo -
-SampleSet -
-SegmentRelationUtils -
-Segmenter -
-SingleFileAudioPlayer -
-SpeechEventDispatcher -
-SpeechEventUtilities -
-SpeechEventUtilities.SpeechAWTEvent -
-SpeechEventUtilities.SpeechAWTEventTarget -
-SpeechEventWrapper -
-SuffixFSM -
-SynthesizerMonitor -
-SynthesizerSelector -
-TextEngineCentral -
-TextSynthesizer -
-TextSynthesizerModeDesc -
-TextSynthesizerQueueItem -
-Timer -
-Token -
-TokenToWords -
-Tokenizer -
-TokenizerImpl -
-USEnglish -
-Unit -
-UnitConcatenator -
-Utilities -
-Utterance -
-UtteranceProcessor -
-ValidationException -
-Validator -
-Voice -
-VoiceDirectory -
-VoiceList -
-VoiceManager -
-WaveUtils -
-WordRelation -
-
- - - diff --git a/javadoc/com/sun/speech/engine/BaseAudioManager.html b/javadoc/com/sun/speech/engine/BaseAudioManager.html deleted file mode 100644 index 00b6534..0000000 --- a/javadoc/com/sun/speech/engine/BaseAudioManager.html +++ /dev/null @@ -1,329 +0,0 @@ - - - - - - -BaseAudioManager (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.engine -
-Class BaseAudioManager

-
-java.lang.Object
-  extended bycom.sun.speech.engine.BaseAudioManager
-
-
-
All Implemented Interfaces:
javax.speech.AudioManager
-
-
-
-
public class BaseAudioManager
extends java.lang.Object
implements javax.speech.AudioManager
- -

-Supports the JSAPI 1.0 AudioManager - interface. Actual JSAPI implementations might want to extend - or modify this implementation. -

- -

-


- -

- - - - - - - - - - - - - - -
-Field Summary
-protected  java.util.Collectionlisteners - -
-          List of AudioListeners registered for - AudioEvents on this object.
-  - - - - - - - - - - -
-Constructor Summary
BaseAudioManager() - -
-          Class constructor.
-  - - - - - - - - - - - - - - - -
-Method Summary
- voidaddAudioListener(javax.speech.AudioListener listener) - -
-          Requests notification of AudioEvents from the - AudioManager.
- voidremoveAudioListener(javax.speech.AudioListener listener) - -
-          Removes an AudioListener from the list of - AudioListeners.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-listeners

-
-protected java.util.Collection listeners
-
-
List of AudioListeners registered for - AudioEvents on this object. -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-BaseAudioManager

-
-public BaseAudioManager()
-
-
Class constructor. -

-

- - - - - - - - -
-Method Detail
- -

-addAudioListener

-
-public void addAudioListener(javax.speech.AudioListener listener)
-
-
Requests notification of AudioEvents from the - AudioManager. -

-

-
Specified by:
addAudioListener in interface javax.speech.AudioManager
-
-
-
Parameters:
listener - the listener to add
-
-
-
- -

-removeAudioListener

-
-public void removeAudioListener(javax.speech.AudioListener listener)
-
-
Removes an AudioListener from the list of - AudioListeners. -

-

-
Specified by:
removeAudioListener in interface javax.speech.AudioManager
-
-
-
Parameters:
listener - the listener to remove
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/BaseEngine.html b/javadoc/com/sun/speech/engine/BaseEngine.html deleted file mode 100644 index c0f7096..0000000 --- a/javadoc/com/sun/speech/engine/BaseEngine.html +++ /dev/null @@ -1,1568 +0,0 @@ - - - - - - -BaseEngine (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.engine -
-Class BaseEngine

-
-java.lang.Object
-  extended bycom.sun.speech.engine.BaseEngine
-
-
-
All Implemented Interfaces:
javax.speech.Engine, SpeechEventDispatcher
-
-
-
Direct Known Subclasses:
BaseSynthesizer
-
-
-
-
public abstract class BaseEngine
extends java.lang.Object
implements javax.speech.Engine, SpeechEventDispatcher
- -

-Supports the JSAPI 1.0 Engine interface. - Actual JSAPI implementations might want to extend or modify this - implementation. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-protected  javax.speech.AudioManageraudioManager - -
-          The AudioManager for this Engine.
-protected static longCLEAR_ALL_STATE - -
-          Utility state for clearing the engineState.
-protected  java.util.CollectionengineListeners - -
-          List of EngineListeners registered for - EngineEvents on this Engine.
-protected  javax.speech.EngineModeDescengineModeDesc - -
-          The EngineModeDesc for this Engine.
-protected  javax.speech.EnginePropertiesengineProperties - -
-          The EngineProperties for this Engine.
-protected  longengineState - -
-          A bitmask holding the current state of this Engine.
-protected  java.lang.ObjectengineStateLock - -
-          An Object used for synchronizing access to - engineState.
- - - - - - - -
Fields inherited from interface javax.speech.Engine
ALLOCATED, ALLOCATING_RESOURCES, DEALLOCATED, DEALLOCATING_RESOURCES, PAUSED, RESUMED
-  - - - - - - - - - - - - - -
-Constructor Summary
BaseEngine() - -
-          Creates a new Engine in the - DEALLOCATED state.
BaseEngine(javax.speech.EngineModeDesc desc) - -
-          Creates a new Engine in the - DEALLOCATED state.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddEngineListener(javax.speech.EngineListener listener) - -
-          Requests notification of EngineEvents from this - Engine.
- voidallocate() - -
-          Allocates the resources required for this Engine and - puts it into the ALLOCATED state.
-protected  voidcheckEngineState(long state) - -
-          Convenience method that throws an EngineStateError - if any of the bits in the passed state are set in the - state.
-protected abstract  BaseEnginePropertiescreateEngineProperties() - -
-          Factory constructor for EngineProperties object.
- voiddeallocate() - -
-          Frees the resources of this Engine that were - acquired during allocation and during operation and return this - Engine to the DEALLOCATED.
- voiddispatchSpeechEvent(javax.speech.SpeechEvent event) - -
-          Dispatches a SpeechEvent. -
- voidfireEngineAllocated(javax.speech.EngineEvent event) - -
-          Utility function that sends an ENGINE_ALLOCATED - event to all EngineListeners registered with this - Engine.
- voidfireEngineAllocatingResources(javax.speech.EngineEvent event) - -
-          Utility function that sends an - ENGINE_ALLOCATING_RESOURCES event to all - EngineListeners registered with this - Engine.
- voidfireEngineDeallocated(javax.speech.EngineEvent event) - -
-          Utility function that sends an - ENGINE_DEALLOCATED event to all - EngineListeners registered with this - Engine.
- voidfireEngineDeallocatingResources(javax.speech.EngineEvent event) - -
-          Utility function that sends a - ENGINE_DEALLOCATING_RESOURCES event to all - EngineListeners registered with this - Engine.
- voidfireEnginePaused(javax.speech.EngineEvent event) - -
-          Utility function that sends an ENGINE_PAUSED event - to all - EngineListeners registered with this - Engine.
- voidfireEngineResumed(javax.speech.EngineEvent event) - -
-          Utility function that sends an ENGINE_RESUMED event - to all - EngineListeners registered with this - Engine.
- javax.speech.AudioManagergetAudioManager() - -
-          Returns an object that provides management of the audio input - or output of this Engine.
- javax.speech.EngineModeDescgetEngineModeDesc() - -
-          Gets the current operating properties and mode of - this Engine.
- javax.speech.EnginePropertiesgetEngineProperties() - -
-          Gets the EngineProperties of this Engine. -
- longgetEngineState() - -
-          Returns a or'ed set of flags indicating the current state of - this Engine. - -
- javax.speech.VocabManagergetVocabManager() - -
-          Returns an object that provides management of the vocabulary for - this Engine.
-protected abstract  voidhandleAllocate() - -
-          Called from the allocate method.
-protected abstract  voidhandleDeallocate() - -
-          Called from the deallocate method.
-protected abstract  voidhandlePause() - -
-          Called from the pause method.
-protected abstract  voidhandleResume() - -
-          Called from the resume method.
- voidpause() - -
-          Pauses the audio stream for this Engine and put - this Engine into the PAUSED state.
-protected  voidpostEngineAllocated(long oldState, - long newState) - -
-          Utility function that generates an - ENGINE_ALLOCATED event and posts it - to the event queue.
-protected  voidpostEngineAllocatingResources(long oldState, - long newState) - -
-          Utility function that generates an - ENGINE_ALLOCATING_RESOURCES event and - posts it to the event queue.
-protected  voidpostEngineDeallocated(long oldState, - long newState) - -
-          Utility function that generates an - ENGINE_DEALLOCATED event and posts it - to the event queue.
-protected  voidpostEngineDeallocatingResources(long oldState, - long newState) - -
-          Utility function that generates - ENGINE_DEALLOCATING_RESOURCES event and - posts it to the event queue.
-protected  voidpostEnginePaused(long oldState, - long newState) - -
-          Utility function that generates an - ENGINE_PAUSED event and posts it - to the event queue.
-protected  voidpostEngineResumed(long oldState, - long newState) - -
-          Utility function that generates an ENGINE_RESUMED - event and posts it to the event queue.
- voidremoveEngineListener(javax.speech.EngineListener listener) - -
-          Removes an EngineListener from the list of - EngineListeners.
- voidresume() - -
-          Resumes the audio stream for this Engine and put - this Engine into the RESUMED state.
-protected  voidsetEngineModeDesc(javax.speech.EngineModeDesc desc) - -
-          Sets the current operating properties and mode of - this Engine.
-protected  long[]setEngineState(long clear, - long set) - -
-          Updates this Engine state by clearing defined bits, - then setting other specified bits.
-protected  java.lang.StringstateToString(long state) - -
-          Returns a String of the names of all the - Engine states in the given Engine - state.
- booleantestEngineState(long state) - -
-          Returns true if this state of this - Engine matches the specified state. - -
- java.lang.StringtoString() - -
-          Returns the engine name and mode for debug purposes.
- voidwaitEngineState(long state) - -
-          Blocks the calling thread until this Engine - is in a specified state. - -
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-engineState

-
-protected long engineState
-
-
A bitmask holding the current state of this Engine. -

-

-
-
-
- -

-engineStateLock

-
-protected java.lang.Object engineStateLock
-
-
An Object used for synchronizing access to - engineState. -

-

-
See Also:
engineState
-
-
- -

-engineListeners

-
-protected java.util.Collection engineListeners
-
-
List of EngineListeners registered for - EngineEvents on this Engine. -

-

-
-
-
- -

-audioManager

-
-protected javax.speech.AudioManager audioManager
-
-
The AudioManager for this Engine. -

-

-
-
-
- -

-engineModeDesc

-
-protected javax.speech.EngineModeDesc engineModeDesc
-
-
The EngineModeDesc for this Engine. -

-

-
-
-
- -

-engineProperties

-
-protected javax.speech.EngineProperties engineProperties
-
-
The EngineProperties for this Engine. -

-

-
-
-
- -

-CLEAR_ALL_STATE

-
-protected static final long CLEAR_ALL_STATE
-
-
Utility state for clearing the engineState. -

-

-
See Also:
Constant Field Values
-
- - - - - - - - -
-Constructor Detail
- -

-BaseEngine

-
-public BaseEngine()
-
-
Creates a new Engine in the - DEALLOCATED state. -

-

-
- -

-BaseEngine

-
-public BaseEngine(javax.speech.EngineModeDesc desc)
-
-
Creates a new Engine in the - DEALLOCATED state. -

-

Parameters:
desc - the operating mode of this Engine
- - - - - - - - -
-Method Detail
- -

-getEngineState

-
-public long getEngineState()
-
-
Returns a or'ed set of flags indicating the current state of - this Engine. - -

An EngineEvent is issued each time this - Engine changes state. - -

The getEngineState method can be called successfully - in any Engine state. -

-

-
Specified by:
getEngineState in interface javax.speech.Engine
-
-
- -
Returns:
the current state of this Engine
See Also:
getEngineState(), -waitEngineState(long)
-
-
-
- -

-waitEngineState

-
-public void waitEngineState(long state)
-                     throws java.lang.InterruptedException,
-                            java.lang.IllegalArgumentException
-
-
Blocks the calling thread until this Engine - is in a specified state. - -

All state bits specified in the state parameter - must be set in order for the method to return, as defined - for the testEngineState method. If the state - parameter defines an unreachable state - (e.g. PAUSED | RESUMED) an exception is thrown. - -

The waitEngineState method can be called successfully - in any Engine state. -

-

-
Specified by:
waitEngineState in interface javax.speech.Engine
-
-
-
Parameters:
state - a bitmask of the state to wait for -
Throws: -
java.lang.InterruptedException - if another thread has interrupted this thread. -
java.lang.IllegalArgumentException - if the specified state is unreachable
See Also:
testEngineState(long), -getEngineState()
-
-
-
- -

-testEngineState

-
-public boolean testEngineState(long state)
-                        throws java.lang.IllegalArgumentException
-
-
Returns true if this state of this - Engine matches the specified state. - -

The test performed is not an exact match to the current - state. Only the specified states are tested. For - example the following returns true only if the - Synthesizer queue is empty, irrespective - of the pause/resume and allocation states. - -

-    if (synth.testEngineState(Synthesizer.QUEUE_EMPTY)) ...
- 
- -

The testEngineState method is equivalent to: - -

-      if ((engine.getEngineState() & state) == state)
- 
- -

The testEngineState method can be called - successfully in any Engine state. -

-

-
Specified by:
testEngineState in interface javax.speech.Engine
-
-
-
Parameters:
state - a bitmask of the states to test for -
Returns:
true if this Engine matches - state; otherwise false -
Throws: -
java.lang.IllegalArgumentException - if the specified state is unreachable
-
-
-
- -

-setEngineState

-
-protected long[] setEngineState(long clear,
-                                long set)
-
-
Updates this Engine state by clearing defined bits, - then setting other specified bits. -

-

-
-
-
- -
Returns:
a length-2 array with old and new state values.
-
-
-
- -

-allocate

-
-public void allocate()
-              throws javax.speech.EngineException,
-                     javax.speech.EngineStateError
-
-
Allocates the resources required for this Engine and - puts it into the ALLOCATED state. When this method - returns successfully the ALLOCATED bit of this - Engine state is set, and the - testEngineState(Engine.ALLOCATED) method returns - true. - -

During the processing of the method, this Engine is - temporarily in the ALLOCATING_RESOURCES state. -

-

-
Specified by:
allocate in interface javax.speech.Engine
-
-
- -
Throws: -
javax.speech.EngineException - if this Engine cannot be allocated -
javax.speech.EngineStateError - if this Engine is in the - DEALLOCATING_RESOURCES state
See Also:
deallocate()
-
-
-
- -

-handleAllocate

-
-protected abstract void handleAllocate()
-                                throws javax.speech.EngineException
-
-
Called from the allocate method. Override this in - subclasses. -

-

-
-
-
- -
Throws: -
javax.speech.EngineException - if problems are encountered
See Also:
allocate()
-
-
-
- -

-deallocate

-
-public void deallocate()
-                throws javax.speech.EngineException,
-                       javax.speech.EngineStateError
-
-
Frees the resources of this Engine that were - acquired during allocation and during operation and return this - Engine to the DEALLOCATED. When this - method returns the DEALLOCATED bit of this - Engine state is set so the - testEngineState(Engine.DEALLOCATED) method returns - true. - -

During the processing of the method, this - Engine is temporarily in the - DEALLOCATING_RESOURCES state. - -

A deallocated engine can be re-started with a subsequent - call to allocate. -

-

-
Specified by:
deallocate in interface javax.speech.Engine
-
-
- -
Throws: -
javax.speech.EngineException - if this Engine cannot be - deallocated -
javax.speech.EngineStateError - if this Engine is in the - ALLOCATING_RESOURCES state
See Also:
allocate()
-
-
-
- -

-handleDeallocate

-
-protected abstract void handleDeallocate()
-                                  throws javax.speech.EngineException
-
-
Called from the deallocate method. Override this in - subclasses. -

-

-
-
-
- -
Throws: -
javax.speech.EngineException - if this Engine cannot be - deallocated.
-
-
-
- -

-pause

-
-public void pause()
-           throws javax.speech.EngineStateError
-
-
Pauses the audio stream for this Engine and put - this Engine into the PAUSED state. -

-

-
Specified by:
pause in interface javax.speech.Engine
-
-
- -
Throws: -
javax.speech.EngineStateError - if this Engine is in the - DEALLOCATING_RESOURCES or - DEALLOCATED state.
-
-
-
- -

-handlePause

-
-protected abstract void handlePause()
-
-
Called from the pause method. Override this in subclasses. -

-

-
-
-
-
-
-
-
- -

-resume

-
-public void resume()
-            throws javax.speech.AudioException,
-                   javax.speech.EngineStateError
-
-
Resumes the audio stream for this Engine and put - this Engine into the RESUMED state. -

-

-
Specified by:
resume in interface javax.speech.Engine
-
-
- -
Throws: -
javax.speech.AudioException - if unable to gain access to the audio channel -
javax.speech.EngineStateError - if this Engine is in the - DEALLOCATING_RESOURCES or - DEALLOCATED state
-
-
-
- -

-handleResume

-
-protected abstract void handleResume()
-
-
Called from the resume method. Override in subclasses. -

-

-
-
-
-
-
-
-
- -

-getAudioManager

-
-public javax.speech.AudioManager getAudioManager()
-
-
Returns an object that provides management of the audio input - or output of this Engine. -

-

-
Specified by:
getAudioManager in interface javax.speech.Engine
-
-
- -
Returns:
the audio manader for this Engine
-
-
-
- -

-getVocabManager

-
-public javax.speech.VocabManager getVocabManager()
-                                          throws javax.speech.EngineStateError
-
-
Returns an object that provides management of the vocabulary for - this Engine. Returns null if this - Engine does not support vocabulary management. -

-

-
Specified by:
getVocabManager in interface javax.speech.Engine
-
-
- -
Returns:
the vocabulary manager of this Engine -
Throws: -
javax.speech.EngineStateError - if this Engine in the - DEALLOCATING_RESOURCES or - DEALLOCATED state
-
-
-
- -

-getEngineProperties

-
-public javax.speech.EngineProperties getEngineProperties()
-
-
Gets the EngineProperties of this Engine. - Must be set in subclasses. -

-

-
Specified by:
getEngineProperties in interface javax.speech.Engine
-
-
- -
Returns:
the EngineProperties of this Engine.
-
-
-
- -

-getEngineModeDesc

-
-public javax.speech.EngineModeDesc getEngineModeDesc()
-                                              throws java.lang.SecurityException
-
-
Gets the current operating properties and mode of - this Engine. -

-

-
Specified by:
getEngineModeDesc in interface javax.speech.Engine
-
-
- -
Returns:
the operating mode of this Engine -
Throws: -
java.lang.SecurityException
-
-
-
- -

-setEngineModeDesc

-
-protected void setEngineModeDesc(javax.speech.EngineModeDesc desc)
-
-
Sets the current operating properties and mode of - this Engine. -

-

-
-
-
-
Parameters:
desc - the new operating mode of this Engine
-
-
-
- -

-addEngineListener

-
-public void addEngineListener(javax.speech.EngineListener listener)
-
-
Requests notification of EngineEvents from this - Engine. -

-

-
Specified by:
addEngineListener in interface javax.speech.Engine
-
-
-
Parameters:
listener - the listener to add.
-
-
-
- -

-removeEngineListener

-
-public void removeEngineListener(javax.speech.EngineListener listener)
-
-
Removes an EngineListener from the list of - EngineListeners. -

-

-
Specified by:
removeEngineListener in interface javax.speech.Engine
-
-
-
Parameters:
listener - the listener to remove.
-
-
-
- -

-postEngineAllocated

-
-protected void postEngineAllocated(long oldState,
-                                   long newState)
-
-
Utility function that generates an - ENGINE_ALLOCATED event and posts it - to the event queue. Eventually - fireEngineAllocated will be called - by the dispatchSpeechEvent as a result of this - action. -

-

-
-
-
-
Parameters:
oldState - the old state of this Engine
newState - the new state of this Engine
See Also:
fireEngineAllocated(javax.speech.EngineEvent), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-fireEngineAllocated

-
-public void fireEngineAllocated(javax.speech.EngineEvent event)
-
-
Utility function that sends an ENGINE_ALLOCATED - event to all EngineListeners registered with this - Engine. Called by dispatchSpeechEvent. -

-

-
-
-
-
Parameters:
event - the ENGINE_ALLOCATED event
See Also:
postEngineAllocated(long, long), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-postEngineAllocatingResources

-
-protected void postEngineAllocatingResources(long oldState,
-                                             long newState)
-
-
Utility function that generates an - ENGINE_ALLOCATING_RESOURCES event and - posts it to the event queue. Eventually - fireEngineAllocatingResources - will be called by dispatchSpeechEvent as a - result of this action. -

-

-
-
-
-
Parameters:
oldState - the old state of this Engine
newState - the new state of this Engine
See Also:
fireEngineAllocatingResources(javax.speech.EngineEvent), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-fireEngineAllocatingResources

-
-public void fireEngineAllocatingResources(javax.speech.EngineEvent event)
-
-
Utility function that sends an - ENGINE_ALLOCATING_RESOURCES event to all - EngineListeners registered with this - Engine. Called by dispatchSpeechEvent. -

-

-
-
-
-
Parameters:
event - the ENGINE_ALLOCATING_RESOURCES event
See Also:
postEngineAllocatingResources(long, long), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-postEngineDeallocated

-
-protected void postEngineDeallocated(long oldState,
-                                     long newState)
-
-
Utility function that generates an - ENGINE_DEALLOCATED event and posts it - to the event queue. Eventually - fireEngineDeallocated will be called - by dispatchSpeechEvent as a result of this action. -

-

-
-
-
-
Parameters:
oldState - the old state of this Engine
newState - the new state of this Engine
See Also:
fireEngineDeallocated(javax.speech.EngineEvent), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-fireEngineDeallocated

-
-public void fireEngineDeallocated(javax.speech.EngineEvent event)
-
-
Utility function that sends an - ENGINE_DEALLOCATED event to all - EngineListeners registered with this - Engine. Called by dispatchSpeechEvent. -

-

-
-
-
-
Parameters:
event - the ENGINE_DEALLOCATED event
See Also:
postEngineDeallocated(long, long), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-postEngineDeallocatingResources

-
-protected void postEngineDeallocatingResources(long oldState,
-                                               long newState)
-
-
Utility function that generates - ENGINE_DEALLOCATING_RESOURCES event and - posts it to the event queue. Eventually - fireEngineAllocatingResources will be called - by dispatchSpeechEvent as a result of this action. -

-

-
-
-
-
Parameters:
oldState - the old state of this Engine
newState - the new state of this Engine
See Also:
fireEngineDeallocatingResources(javax.speech.EngineEvent), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-fireEngineDeallocatingResources

-
-public void fireEngineDeallocatingResources(javax.speech.EngineEvent event)
-
-
Utility function that sends a - ENGINE_DEALLOCATING_RESOURCES event to all - EngineListeners registered with this - Engine. Called by dispatchSpeechEvent. -

-

-
-
-
-
Parameters:
event - the ENGINE_DEALLOCATING_RESOURCES event
See Also:
postEngineDeallocatingResources(long, long), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-postEnginePaused

-
-protected void postEnginePaused(long oldState,
-                                long newState)
-
-
Utility function that generates an - ENGINE_PAUSED event and posts it - to the event queue. Eventually - fireEnginePaused will be called - by dispatchSpeechEvent as a result of this action. -

-

-
-
-
-
Parameters:
oldState - the old state of this Engine
newState - the new state of this Engine
See Also:
fireEnginePaused(javax.speech.EngineEvent), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-fireEnginePaused

-
-public void fireEnginePaused(javax.speech.EngineEvent event)
-
-
Utility function that sends an ENGINE_PAUSED event - to all - EngineListeners registered with this - Engine. Called by dispatchSpeechEvent. -

-

-
-
-
-
Parameters:
event - the ENGINE_PAUSED event
See Also:
postEnginePaused(long, long), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-postEngineResumed

-
-protected void postEngineResumed(long oldState,
-                                 long newState)
-
-
Utility function that generates an ENGINE_RESUMED - event and posts it to the event queue. Eventually - fireEngineResumed will be called - by dispatchSpeechEvent as a result of this action. -

-

-
-
-
-
Parameters:
oldState - the old state of this Engine
newState - the new state of this Engine
See Also:
fireEngineResumed(javax.speech.EngineEvent), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-fireEngineResumed

-
-public void fireEngineResumed(javax.speech.EngineEvent event)
-
-
Utility function that sends an ENGINE_RESUMED event - to all - EngineListeners registered with this - Engine. Called by dispatchSpeechEvent. -

-

-
-
-
-
Parameters:
event - the ENGINE_RESUMED event
See Also:
postEngineResumed(long, long), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-createEngineProperties

-
-protected abstract BaseEngineProperties createEngineProperties()
-
-
Factory constructor for EngineProperties object. -

-

-
-
-
- -
Returns:
a BaseEngineProperties object specific to - a subclass.
-
-
-
- -

-checkEngineState

-
-protected void checkEngineState(long state)
-                         throws javax.speech.EngineStateError
-
-
Convenience method that throws an EngineStateError - if any of the bits in the passed state are set in the - state. -

-

-
-
-
-
Parameters:
state - the Engine state to check -
Throws: -
javax.speech.EngineStateError - if any of the bits in the passed state - are set in the state
-
-
-
- -

-stateToString

-
-protected java.lang.String stateToString(long state)
-
-
Returns a String of the names of all the - Engine states in the given Engine - state. -

-

-
-
-
-
Parameters:
state - the bitmask of states -
Returns:
a String containing the names of all the - states set in state
-
-
-
- -

-dispatchSpeechEvent

-
-public void dispatchSpeechEvent(javax.speech.SpeechEvent event)
-
-
Dispatches a SpeechEvent. - The dispatcher should notify all EngineListeners - from this method. The SpeechEvent was added - via the various post methods of this class. -

-

-
Specified by:
dispatchSpeechEvent in interface SpeechEventDispatcher
-
-
-
Parameters:
event - the SpeechEvent to dispatch
See Also:
postEngineAllocatingResources(long, long), -postEngineAllocated(long, long), -postEngineDeallocatingResources(long, long), -postEngineDeallocated(long, long), -postEnginePaused(long, long), -postEngineResumed(long, long)
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Returns the engine name and mode for debug purposes. -

-

-
-
-
- -
Returns:
the engine name and mode.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/BaseEngineProperties.html b/javadoc/com/sun/speech/engine/BaseEngineProperties.html deleted file mode 100644 index 9ec1f46..0000000 --- a/javadoc/com/sun/speech/engine/BaseEngineProperties.html +++ /dev/null @@ -1,588 +0,0 @@ - - - - - - -BaseEngineProperties (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.engine -
-Class BaseEngineProperties

-
-java.lang.Object
-  extended bycom.sun.speech.engine.BaseEngineProperties
-
-
-
All Implemented Interfaces:
javax.speech.EngineProperties, SpeechEventDispatcher
-
-
-
Direct Known Subclasses:
BaseSynthesizerProperties
-
-
-
-
public abstract class BaseEngineProperties
extends java.lang.Object
implements javax.speech.EngineProperties, SpeechEventDispatcher
- -

-Supports the JSAPI 1.0 EngineProperties - interface. -

- -

-


- -

- - - - - - - - - - - - - - -
-Field Summary
-protected  java.util.CollectionpropertyChangeListeners - -
-          List of PropertyChangeListeners registered for - PropertyChangeEvents on this object.
-  - - - - - - - - - - - -
-Constructor Summary
-protected BaseEngineProperties() - -
-          Class constructor.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddPropertyChangeListener(java.beans.PropertyChangeListener listener) - -
-          Adds a PropertyChangeListener to the listener list.
- voiddispatchSpeechEvent(javax.speech.SpeechEvent event) - -
-          Dispatches a PropertyChangeEvent. -
- voidfirePropertyChangeEvent(java.beans.PropertyChangeEvent event) - -
-          Sends a PropertyChangeEvent - to all PropertyChangeListeners registered with - this object.
- java.awt.ComponentgetControlComponent() - -
-          Obtains the AWT Component that provides the - default user interface - for setting the properties of the Engine - associated with this object.
-protected  voidpostPropertyChangeEvent(java.lang.String propName, - boolean oldValue, - boolean newValue) - -
-          Generates a - PropertyChangeEvent for a boolean value - and posts it to the event queue.
-protected  voidpostPropertyChangeEvent(java.lang.String propName, - float oldValue, - float newValue) - -
-          Generates a - PropertyChangeEvent for a float value - and posts it to the event queue.
-protected  voidpostPropertyChangeEvent(java.lang.String propName, - int oldValue, - int newValue) - -
-          Generates a - PropertyChangeEvent for a int value - and posts it to the event queue.
-protected  voidpostPropertyChangeEvent(java.lang.String propName, - java.lang.Object oldValue, - java.lang.Object newValue) - -
-          Generates a - PropertyChangeEvent for an Object value - and posts it to the event queue.
- voidremovePropertyChangeListener(java.beans.PropertyChangeListener listener) - -
-          Removes a PropertyChangeListener from the listener - list.
-abstract  voidreset() - -
-          Returns all properties to reasonable defaults - for the Engine.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-propertyChangeListeners

-
-protected java.util.Collection propertyChangeListeners
-
-
List of PropertyChangeListeners registered for - PropertyChangeEvents on this object. -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-BaseEngineProperties

-
-protected BaseEngineProperties()
-
-
Class constructor. -

-

- - - - - - - - -
-Method Detail
- -

-getControlComponent

-
-public java.awt.Component getControlComponent()
-
-
Obtains the AWT Component that provides the - default user interface - for setting the properties of the Engine - associated with this object. -

-

-
Specified by:
getControlComponent in interface javax.speech.EngineProperties
-
-
- -
Returns:
an AWT Component to manipulate this object
-
-
-
- -

-reset

-
-public abstract void reset()
-
-
Returns all properties to reasonable defaults - for the Engine. A - PropertyChangeEvent is issued - for each property that changes as the reset takes effect. -

-

-
Specified by:
reset in interface javax.speech.EngineProperties
-
-
-
-
-
-
- -

-addPropertyChangeListener

-
-public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
-
-
Adds a PropertyChangeListener to the listener list. -

-

-
Specified by:
addPropertyChangeListener in interface javax.speech.EngineProperties
-
-
-
Parameters:
listener - the PropertyChangeListener to add
-
-
-
- -

-removePropertyChangeListener

-
-public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
-
-
Removes a PropertyChangeListener from the listener - list. -

-

-
Specified by:
removePropertyChangeListener in interface javax.speech.EngineProperties
-
-
-
Parameters:
listener - the PropertyChangeListener to remove
-
-
-
- -

-postPropertyChangeEvent

-
-protected void postPropertyChangeEvent(java.lang.String propName,
-                                       java.lang.Object oldValue,
-                                       java.lang.Object newValue)
-
-
Generates a - PropertyChangeEvent for an Object value - and posts it to the event queue. Eventually - firePropertyChangeEvent will be called by - dispatchSpeechEvent as a result of this action. -

-

-
-
-
-
Parameters:
propName - the name of the property
oldValue - the old value
newValue - the new value
See Also:
firePropertyChangeEvent(java.beans.PropertyChangeEvent), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-postPropertyChangeEvent

-
-protected void postPropertyChangeEvent(java.lang.String propName,
-                                       float oldValue,
-                                       float newValue)
-
-
Generates a - PropertyChangeEvent for a float value - and posts it to the event queue. Eventually - firePropertyChangeEvent will be called by - dispatchSpeechEvent as a result of this action. -

-

-
-
-
-
Parameters:
propName - the name of the property
oldValue - the old value
newValue - the new value
See Also:
firePropertyChangeEvent(java.beans.PropertyChangeEvent), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-postPropertyChangeEvent

-
-protected void postPropertyChangeEvent(java.lang.String propName,
-                                       int oldValue,
-                                       int newValue)
-
-
Generates a - PropertyChangeEvent for a int value - and posts it to the event queue. Eventually - firePropertyChangeEvent will be called by - dispatchSpeechEvent as a result of this action. -

-

-
-
-
-
Parameters:
propName - the name of the property
oldValue - the old value
newValue - the new value
See Also:
firePropertyChangeEvent(java.beans.PropertyChangeEvent), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-postPropertyChangeEvent

-
-protected void postPropertyChangeEvent(java.lang.String propName,
-                                       boolean oldValue,
-                                       boolean newValue)
-
-
Generates a - PropertyChangeEvent for a boolean value - and posts it to the event queue. Eventually - firePropertyChangeEvent will be called by - dispatchSpeechEvent as a result of this action. -

-

-
-
-
-
Parameters:
propName - the name of the property
oldValue - the old value
newValue - the new value
See Also:
firePropertyChangeEvent(java.beans.PropertyChangeEvent), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-firePropertyChangeEvent

-
-public void firePropertyChangeEvent(java.beans.PropertyChangeEvent event)
-
-
Sends a PropertyChangeEvent - to all PropertyChangeListeners registered with - this object. Called by dispatchSpeechEvent. -

-

-
-
-
-
Parameters:
event - the PropertyChangeEvent to send
See Also:
firePropertyChangeEvent(java.beans.PropertyChangeEvent), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-dispatchSpeechEvent

-
-public void dispatchSpeechEvent(javax.speech.SpeechEvent event)
-
-
Dispatches a PropertyChangeEvent. - The dispatcher should notify all PropertyChangeListeners - from this method. The SpeechEvent was added - via the various post methods of this class. -

-

-
Specified by:
dispatchSpeechEvent in interface SpeechEventDispatcher
-
-
-
Parameters:
event - the SpeechEvent containing a - PropertyChangeEvent
See Also:
postPropertyChangeEvent(java.lang.String, java.lang.Object, java.lang.Object)
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/EngineEventPanel.html b/javadoc/com/sun/speech/engine/EngineEventPanel.html deleted file mode 100644 index 8f884a8..0000000 --- a/javadoc/com/sun/speech/engine/EngineEventPanel.html +++ /dev/null @@ -1,491 +0,0 @@ - - - - - - -EngineEventPanel (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.engine -
-Class EngineEventPanel

-
-java.lang.Object
-  extended byjava.awt.Component
-      extended byjava.awt.Container
-          extended byjavax.swing.JComponent
-              extended byjavax.swing.JPanel
-                  extended bycom.sun.speech.engine.EngineEventPanel
-
-
-
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
-
-
-
-
public class EngineEventPanel
extends javax.swing.JPanel
- -

-Simple GUI for monitoring events of an Engine. Used - for debugging and testing purposes. -

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
- - - - - - - -
Nested classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
- - - - - - - -
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
- - - - - - - -
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
-  - - - - - - - - - - - - - - - - - - - -
-Field Summary
-protected  javax.swing.JButtonclearButton - -
-          The button for clearing the textArea.
-protected  javax.swing.JScrollPanescroller - -
-          The scroll pane containing the textArea.
-protected  javax.swing.JTextAreatextArea - -
-          The area where engine events are posted.
- - - - - - - -
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
- - - - - - - -
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
- - - - - - - -
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
-  - - - - - - - - - - -
-Constructor Summary
EngineEventPanel() - -
-          Class constructor.
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddText(java.lang.String s) - -
-          Appends text to the text area and scrolls the text area so the - new text is visible.
- voidclearText() - -
-          Clears the text in the text area.
- voidsetText(java.lang.String s) - -
-          Sets the text in the text area.
- - - - - - - -
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
- - - - - - - -
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
- - - - - - - -
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
- - - - - - - -
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-textArea

-
-protected javax.swing.JTextArea textArea
-
-
The area where engine events are posted. -

-

-
-
-
- -

-scroller

-
-protected javax.swing.JScrollPane scroller
-
-
The scroll pane containing the textArea. -

-

-
See Also:
textArea
-
-
- -

-clearButton

-
-protected javax.swing.JButton clearButton
-
-
The button for clearing the textArea. -

-

-
See Also:
textArea
-
- - - - - - - - -
-Constructor Detail
- -

-EngineEventPanel

-
-public EngineEventPanel()
-
-
Class constructor. -

-

- - - - - - - - -
-Method Detail
- -

-clearText

-
-public void clearText()
-
-
Clears the text in the text area. -

-

-
-
-
-
- -

-setText

-
-public void setText(java.lang.String s)
-
-
Sets the text in the text area. -

-

-
Parameters:
s - the new text
-
-
-
- -

-addText

-
-public void addText(java.lang.String s)
-
-
Appends text to the text area and scrolls the text area so the - new text is visible. -

-

-
Parameters:
s - the text to append
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/EngineMonitor.EngineMonitorEngineListener.html b/javadoc/com/sun/speech/engine/EngineMonitor.EngineMonitorEngineListener.html deleted file mode 100644 index 7e241d4..0000000 --- a/javadoc/com/sun/speech/engine/EngineMonitor.EngineMonitorEngineListener.html +++ /dev/null @@ -1,395 +0,0 @@ - - - - - - -EngineMonitor.EngineMonitorEngineListener (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.engine -
-Class EngineMonitor.EngineMonitorEngineListener

-
-java.lang.Object
-  extended bycom.sun.speech.engine.EngineMonitor.EngineMonitorEngineListener
-
-
-
All Implemented Interfaces:
javax.speech.EngineListener, java.util.EventListener
-
-
-
Enclosing class:
EngineMonitor
-
-
-
-
protected class EngineMonitor.EngineMonitorEngineListener
extends java.lang.Object
implements javax.speech.EngineListener
- -

-Handles engine events from the engine. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
EngineMonitor.EngineMonitorEngineListener() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidengineAllocated(javax.speech.EngineEvent e) - -
-           
- voidengineAllocatingResources(javax.speech.EngineEvent e) - -
-           
- voidengineDeallocated(javax.speech.EngineEvent e) - -
-           
- voidengineDeallocatingResources(javax.speech.EngineEvent e) - -
-           
- voidengineError(javax.speech.EngineErrorEvent e) - -
-           
- voidenginePaused(javax.speech.EngineEvent e) - -
-           
- voidengineResumed(javax.speech.EngineEvent e) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-EngineMonitor.EngineMonitorEngineListener

-
-public EngineMonitor.EngineMonitorEngineListener()
-
-
- - - - - - - - -
-Method Detail
- -

-enginePaused

-
-public void enginePaused(javax.speech.EngineEvent e)
-
-
-
Specified by:
enginePaused in interface javax.speech.EngineListener
-
-
-
-
-
-
- -

-engineResumed

-
-public void engineResumed(javax.speech.EngineEvent e)
-
-
-
Specified by:
engineResumed in interface javax.speech.EngineListener
-
-
-
-
-
-
- -

-engineAllocated

-
-public void engineAllocated(javax.speech.EngineEvent e)
-
-
-
Specified by:
engineAllocated in interface javax.speech.EngineListener
-
-
-
-
-
-
- -

-engineDeallocated

-
-public void engineDeallocated(javax.speech.EngineEvent e)
-
-
-
Specified by:
engineDeallocated in interface javax.speech.EngineListener
-
-
-
-
-
-
- -

-engineAllocatingResources

-
-public void engineAllocatingResources(javax.speech.EngineEvent e)
-
-
-
Specified by:
engineAllocatingResources in interface javax.speech.EngineListener
-
-
-
-
-
-
- -

-engineDeallocatingResources

-
-public void engineDeallocatingResources(javax.speech.EngineEvent e)
-
-
-
Specified by:
engineDeallocatingResources in interface javax.speech.EngineListener
-
-
-
-
-
-
- -

-engineError

-
-public void engineError(javax.speech.EngineErrorEvent e)
-
-
-
Specified by:
engineError in interface javax.speech.EngineListener
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/EngineMonitor.html b/javadoc/com/sun/speech/engine/EngineMonitor.html deleted file mode 100644 index 55679a1..0000000 --- a/javadoc/com/sun/speech/engine/EngineMonitor.html +++ /dev/null @@ -1,657 +0,0 @@ - - - - - - -EngineMonitor (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.engine -
-Class EngineMonitor

-
-java.lang.Object
-  extended bycom.sun.speech.engine.EngineMonitor
-
-
-
Direct Known Subclasses:
SynthesizerMonitor
-
-
-
-
public class EngineMonitor
extends java.lang.Object
- -

-Simple GUI for monitoring events and state changes of an - Engine. Used for debugging and testing purposes. -

- -

-


- -

- - - - - - - - - - - -
-Nested Class Summary
-protected  classEngineMonitor.EngineMonitorEngineListener - -
-          Handles engine events from the engine.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-protected  javax.swing.JLabelallocatedLabel - -
-          The label containing the string "allocated".
-protected  javax.swing.JLabelallocatingResourcesLabel - -
-          The label containing the string "allocating resources".
-protected  javax.swing.JLabeldeallocatedLabel - -
-          The label containing the string "deallocated".
-protected  javax.swing.JLabeldeallocatingResourcesLabel - -
-          The label containing the string "deallocating resources".
-protected  javax.speech.Engineengine - -
-          The Engine to monitor.
-protected  javax.speech.EngineListenerengineListener - -
-          The EngineListener registered with the engine.
-protected  EngineEventPaneleventPanel - -
-          The panel used to post engine events.
-protected  javax.swing.JLabelpausedLabel - -
-          The label containing the string "paused".
-protected  javax.swing.JLabelresumedLabel - -
-          The label containing the string "resumed".
-protected  javax.swing.JPanelstatePanel - -
-          The panel containing the current engine states.
-  - - - - - - - - - - -
-Constructor Summary
EngineMonitor(javax.speech.Engine eng) - -
-          Class constructor.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  voidappendBuffer(java.lang.StringBuffer b, - java.lang.String s) - -
-          Adds a String to a buffer, with each - String being separated by a ":".
-protected  java.lang.StringengineStateString(long state) - -
-          Returns a String representing the - state.
-protected  javax.speech.EngineListenergetEngineListener() - -
-          Creates the engine listener if necessary, and then returns it. -
- java.awt.ComponentgetEventPanel() - -
-          Gets the panel containing the area to post engine events in.
- java.awt.ComponentgetStatePanel() - -
-          Gets the panel containing the labels for representing the - current engine state.
-protected  voidhandleEvent(javax.speech.EngineEvent e) - -
-          Handles an event from the engine.
-protected  voidupdateEngineStateComponents() - -
-          Checks the current state of the engine and makes sure the GUI - components reflect this state accurately.
-protected  voidupdateGUIComponents() - -
-          Checks the current state of the engine and makes sure the GUI - components reflect this state accurately.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-engine

-
-protected javax.speech.Engine engine
-
-
The Engine to monitor. -

-

-
-
-
- -

-engineListener

-
-protected javax.speech.EngineListener engineListener
-
-
The EngineListener registered with the engine. -

-

-
-
-
- -

-eventPanel

-
-protected EngineEventPanel eventPanel
-
-
The panel used to post engine events. -

-

-
-
-
- -

-statePanel

-
-protected javax.swing.JPanel statePanel
-
-
The panel containing the current engine states. -

-

-
-
-
- -

-deallocatedLabel

-
-protected javax.swing.JLabel deallocatedLabel
-
-
The label containing the string "deallocated". -

-

-
-
-
- -

-allocatingResourcesLabel

-
-protected javax.swing.JLabel allocatingResourcesLabel
-
-
The label containing the string "allocating resources". -

-

-
-
-
- -

-allocatedLabel

-
-protected javax.swing.JLabel allocatedLabel
-
-
The label containing the string "allocated". -

-

-
-
-
- -

-deallocatingResourcesLabel

-
-protected javax.swing.JLabel deallocatingResourcesLabel
-
-
The label containing the string "deallocating resources". -

-

-
-
-
- -

-pausedLabel

-
-protected javax.swing.JLabel pausedLabel
-
-
The label containing the string "paused". -

-

-
-
-
- -

-resumedLabel

-
-protected javax.swing.JLabel resumedLabel
-
-
The label containing the string "resumed". -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-EngineMonitor

-
-public EngineMonitor(javax.speech.Engine eng)
-
-
Class constructor. -

-

Parameters:
eng - the Engine to watch
- - - - - - - - -
-Method Detail
- -

-getEngineListener

-
-protected javax.speech.EngineListener getEngineListener()
-
-
Creates the engine listener if necessary, and then returns it. - There should be only one. -

-

- -
Returns:
the engine listener
-
-
-
- -

-getEventPanel

-
-public java.awt.Component getEventPanel()
-
-
Gets the panel containing the area to post engine events in. -

-

- -
Returns:
the panel containing the area to post engine events in
-
-
-
- -

-getStatePanel

-
-public java.awt.Component getStatePanel()
-
-
Gets the panel containing the labels for representing the - current engine state. -

-

- -
Returns:
the panel containing the labels for representing the - current engine state.
-
-
-
- -

-handleEvent

-
-protected void handleEvent(javax.speech.EngineEvent e)
-
-
Handles an event from the engine. -

-

-
Parameters:
e - the event from the engine
-
-
-
- -

-updateGUIComponents

-
-protected void updateGUIComponents()
-
-
Checks the current state of the engine and makes sure the GUI - components reflect this state accurately. -

-

-
-
-
-
- -

-updateEngineStateComponents

-
-protected void updateEngineStateComponents()
-
-
Checks the current state of the engine and makes sure the GUI - components reflect this state accurately. -

-

-
-
-
-
- -

-engineStateString

-
-protected java.lang.String engineStateString(long state)
-
-
Returns a String representing the - state. -

-

-
Parameters:
state - the state to turn into a String -
Returns:
a String representing the - state
-
-
-
- -

-appendBuffer

-
-protected void appendBuffer(java.lang.StringBuffer b,
-                            java.lang.String s)
-
-
Adds a String to a buffer, with each - String being separated by a ":". -

-

-
Parameters:
b - the buffer to which to append ss - the String to append to b
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/SpeechEventDispatcher.html b/javadoc/com/sun/speech/engine/SpeechEventDispatcher.html deleted file mode 100644 index f24074e..0000000 --- a/javadoc/com/sun/speech/engine/SpeechEventDispatcher.html +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - -SpeechEventDispatcher (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.engine -
-Interface SpeechEventDispatcher

-
-
All Known Implementing Classes:
BaseEngine, BaseEngineProperties, BaseSynthesizer, BaseSynthesizerQueueItem
-
-
-
-
public interface SpeechEventDispatcher
- -

-Interface to be implemented by objects that dispatch - SpeechEvents. -

- -

-

-
See Also:
SpeechEventUtilities
-
- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voiddispatchSpeechEvent(javax.speech.SpeechEvent event) - -
-          Dispatches a SpeechEvent to all appropriate - SpeechEventListeners - on the object that implements this interface.
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-dispatchSpeechEvent

-
-public void dispatchSpeechEvent(javax.speech.SpeechEvent event)
-
-
Dispatches a SpeechEvent to all appropriate - SpeechEventListeners - on the object that implements this interface. -

-

-
Parameters:
event - the event to dispactch
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/SpeechEventUtilities.SpeechAWTEvent.html b/javadoc/com/sun/speech/engine/SpeechEventUtilities.SpeechAWTEvent.html deleted file mode 100644 index ecf8274..0000000 --- a/javadoc/com/sun/speech/engine/SpeechEventUtilities.SpeechAWTEvent.html +++ /dev/null @@ -1,250 +0,0 @@ - - - - - - -SpeechEventUtilities.SpeechAWTEvent (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.engine -
-Class SpeechEventUtilities.SpeechAWTEvent

-
-java.lang.Object
-  extended byjava.util.EventObject
-      extended byjava.awt.AWTEvent
-          extended bycom.sun.speech.engine.SpeechEventUtilities.SpeechAWTEvent
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
SpeechEventUtilities
-
-
-
-
protected static class SpeechEventUtilities.SpeechAWTEvent
extends java.awt.AWTEvent
- -

-Inner class that defines SpeechAWTEvents. These are created and - posted to the AWT EventQueue by the postSpeechEvent method. -

- -

-

-
See Also:
SpeechEventUtilities.postSpeechEvent(com.sun.speech.engine.SpeechEventDispatcher, javax.speech.SpeechEvent), -Serialized Form
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class java.awt.AWTEvent
ACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, consumed, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK, HIERARCHY_BOUNDS_EVENT_MASK, HIERARCHY_EVENT_MASK, id, INPUT_METHOD_EVENT_MASK, INVOCATION_EVENT_MASK, ITEM_EVENT_MASK, KEY_EVENT_MASK, MOUSE_EVENT_MASK, MOUSE_MOTION_EVENT_MASK, MOUSE_WHEEL_EVENT_MASK, PAINT_EVENT_MASK, RESERVED_ID_MAX, TEXT_EVENT_MASK, WINDOW_EVENT_MASK, WINDOW_FOCUS_EVENT_MASK, WINDOW_STATE_EVENT_MASK
- - - - - - - -
Fields inherited from class java.util.EventObject
source
-  - - - - - - - - - - - - - -
Methods inherited from class java.awt.AWTEvent
consume, getID, isConsumed, paramString, setSource, toString
- - - - - - - -
Methods inherited from class java.util.EventObject
getSource
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/SpeechEventUtilities.SpeechAWTEventTarget.html b/javadoc/com/sun/speech/engine/SpeechEventUtilities.SpeechAWTEventTarget.html deleted file mode 100644 index d681c21..0000000 --- a/javadoc/com/sun/speech/engine/SpeechEventUtilities.SpeechAWTEventTarget.html +++ /dev/null @@ -1,288 +0,0 @@ - - - - - - -SpeechEventUtilities.SpeechAWTEventTarget (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.engine -
-Class SpeechEventUtilities.SpeechAWTEventTarget

-
-java.lang.Object
-  extended byjava.awt.Component
-      extended bycom.sun.speech.engine.SpeechEventUtilities.SpeechAWTEventTarget
-
-
-
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
-
-
-
Enclosing class:
SpeechEventUtilities
-
-
-
-
protected static class SpeechEventUtilities.SpeechAWTEventTarget
extends java.awt.Component
- -

-Inner class used to handle events as they are dispatched from the - AWT event queue. -

- -

-

-
See Also:
SpeechEventUtilities.postSpeechEvent(com.sun.speech.engine.SpeechEventDispatcher, javax.speech.SpeechEvent), -Serialized Form
-
- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
-  - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
- - - - - - - -
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
-  - - - - - - - - - - - - - - -
-Method Summary
-protected  voidprocessEvent(java.awt.AWTEvent event) - -
-           
- - - - - - - -
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paint, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, update, validate
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-processEvent

-
-protected void processEvent(java.awt.AWTEvent event)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/SpeechEventUtilities.html b/javadoc/com/sun/speech/engine/SpeechEventUtilities.html deleted file mode 100644 index 0668ffb..0000000 --- a/javadoc/com/sun/speech/engine/SpeechEventUtilities.html +++ /dev/null @@ -1,463 +0,0 @@ - - - - - - -SpeechEventUtilities (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.engine -
-Class SpeechEventUtilities

-
-java.lang.Object
-  extended bycom.sun.speech.engine.SpeechEventUtilities
-
-
-
-
public class SpeechEventUtilities
extends java.lang.Object
- -

-Utilities to help with dispatch JSAPI 1.0 events on the event - dispatching thread of AWT/Swing. This is needed to help - applications conform with the Swing Event Thread model. If these - utilities were not used, then a GUI application would have to - implement Runnables to handle JSAPI events that result in updates - to the GUI. -

- -

-


- -

- - - - - - - - - - - - - - - -
-Nested Class Summary
-protected static classSpeechEventUtilities.SpeechAWTEvent - -
-          Inner class that defines SpeechAWTEvents.
-protected static classSpeechEventUtilities.SpeechAWTEventTarget - -
-          Inner class used to handle events as they are dispatched from the - AWT event queue.
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-protected static booleanawtRunning - -
-          If true, the AWT EventQueue has been set up in the VM.
-protected static SpeechEventUtilities.SpeechAWTEventTargetspeechAWTEventTarget - -
-          A target used to process speechAWTEvent objects.
-protected static java.awt.EventQueuesystemEventQueue - -
-          The AWT EventQueue.
-static booleanwaitUntilDispatched - -
-          If true, wait until an event has been dispatched before returning - from the post method.
-  - - - - - - - - - - -
-Constructor Summary
SpeechEventUtilities() - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected static booleanisAWTRunning() - -
-          Determine if the AWT event queue is running.
-static voidpostSpeechEvent(SpeechEventDispatcher dispatcher, - javax.speech.SpeechEvent event) - -
-          Post a JSAPI SpeechEvent.
-static voidpostSpeechEvent(SpeechEventDispatcher dispatcher, - javax.speech.SpeechEvent event, - boolean waitUntilDispatched) - -
-          Post a JSAPI SpeechEvent.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-awtRunning

-
-protected static boolean awtRunning
-
-
If true, the AWT EventQueue has been set up in the VM. This flag - is used to determine whether we should use the AWT EventQueue for - synchronizing SpeechEvents with the AWT EventQueue or not. -

-

-
-
-
- -

-systemEventQueue

-
-protected static java.awt.EventQueue systemEventQueue
-
-
The AWT EventQueue. This is lazily created in postSpeechEvent to - delay the need to initialize the Toolkit until it is necessary. -

-

-
See Also:
postSpeechEvent(com.sun.speech.engine.SpeechEventDispatcher, javax.speech.SpeechEvent)
-
-
- -

-speechAWTEventTarget

-
-protected static SpeechEventUtilities.SpeechAWTEventTarget speechAWTEventTarget
-
-
A target used to process speechAWTEvent objects. This target - is a component that expresses interest in SpeechAWTEvents. It - is lazily created along with systemEventQueue in postSpeechEvent. -

-

-
See Also:
postSpeechEvent(com.sun.speech.engine.SpeechEventDispatcher, javax.speech.SpeechEvent)
-
-
- -

-waitUntilDispatched

-
-public static boolean waitUntilDispatched
-
-
If true, wait until an event has been dispatched before returning - from the post method. This is meant to be a global debugging flag. - If a class calling postSpeechEvent wants to wait until the - SpeechEvent has been dispatched, it should call the postSpeechEvent - method that has the waitUntilDispatched parameter. -

-

-
See Also:
postSpeechEvent(com.sun.speech.engine.SpeechEventDispatcher, javax.speech.SpeechEvent)
-
- - - - - - - - -
-Constructor Detail
- -

-SpeechEventUtilities

-
-public SpeechEventUtilities()
-
-
- - - - - - - - -
-Method Detail
- -

-isAWTRunning

-
-protected static boolean isAWTRunning()
-
-
Determine if the AWT event queue is running. This method is one big - hack, and we will be entering a bug against AWT to provide us with - a real method for determining if AWT is active or not. The problem - with asking AWT if it is active right now is that it will activate - it if it isn't already active. -

-

-
-
-
-
- -

-postSpeechEvent

-
-public static void postSpeechEvent(SpeechEventDispatcher dispatcher,
-                                   javax.speech.SpeechEvent event)
-
-
Post a JSAPI SpeechEvent. This is to be used by multiple processes - to synchronize SpeechEvents. It currently uses the AWT EventQueue - as a means for doing this, which has the added benefit of causing - all SpeechEvent notification to be done from the event dispatch - thread. This is important because the Swing Thread Model requires - all interaction with Swing components to be done from the event - dispatch thread. - - This method will immediately return once the event has been - posted if the global waitUntilDispatched flag is set to false. - Otherwise, it will wait until the event has been dispatched - before returning. -

-

-
Parameters:
dispatcher - the dispatcher that will dispatch the event
event - the SpeechEvent to post
-
-
-
- -

-postSpeechEvent

-
-public static void postSpeechEvent(SpeechEventDispatcher dispatcher,
-                                   javax.speech.SpeechEvent event,
-                                   boolean waitUntilDispatched)
-
-
Post a JSAPI SpeechEvent. This is to be used by multiple processes - to synchronize SpeechEvents. It currently uses the AWT EventQueue - as a means for doing this, which has the added benefit of causing - all SpeechEvent notification to be done from the event dispatch - thread. This is important because the Swing Thread Model requires - all interaction with Swing components to be done from the event - dispatch thread. - - This method will immediately return once the event has been - posted if the waitUntilDispatched parameter is set to false. - Otherwise, it will wait until the event has been dispatched - before returning. -

-

-
Parameters:
dispatcher - the dispatcher that will dispatch the event
event - the SpeechEvent to post
waitUntilDispatched - if true, do not return until the - event have been dispatched
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/SpeechEventWrapper.html b/javadoc/com/sun/speech/engine/SpeechEventWrapper.html deleted file mode 100644 index d48b411..0000000 --- a/javadoc/com/sun/speech/engine/SpeechEventWrapper.html +++ /dev/null @@ -1,361 +0,0 @@ - - - - - - -SpeechEventWrapper (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.engine -
-Class SpeechEventWrapper

-
-java.lang.Object
-  extended byjava.util.EventObject
-      extended byjavax.speech.SpeechEvent
-          extended bycom.sun.speech.engine.SpeechEventWrapper
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class SpeechEventWrapper
extends javax.speech.SpeechEvent
- -

-Wraps an arbitrary event object (from EventObject) - in a SpeechEvent so that it can be dispatched through - the speech event dispatch mechanism. - One use of this is in the BaseEngineProperties class - that needs to wrap and issue PropertyChangeEvents. -

- -

-

-
See Also:
SpeechEventUtilities, -EventObject, -Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - -
-Field Summary
-protected  java.util.EventObjecteventObject - -
-          The wrapped event.
-protected static intWRAPPER_ID - -
-          Use an id that won't be confused with JSAPI event ids.
- - - - - - - -
Fields inherited from class javax.speech.SpeechEvent
id
- - - - - - - -
Fields inherited from class java.util.EventObject
source
-  - - - - - - - - - - -
-Constructor Summary
SpeechEventWrapper(java.util.EventObject e) - -
-          Class constructor.
-  - - - - - - - - - - - -
-Method Summary
- java.util.EventObjectgetEventObject() - -
-          Gets the wrapped event.
- - - - - - - -
Methods inherited from class javax.speech.SpeechEvent
getId, paramString, toString
- - - - - - - -
Methods inherited from class java.util.EventObject
getSource
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-WRAPPER_ID

-
-protected static int WRAPPER_ID
-
-
Use an id that won't be confused with JSAPI event ids. -

-

-
-
-
- -

-eventObject

-
-protected java.util.EventObject eventObject
-
-
The wrapped event. -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-SpeechEventWrapper

-
-public SpeechEventWrapper(java.util.EventObject e)
-
-
Class constructor. -

-

Parameters:
e - the EventObject to wrap.
- - - - - - - - -
-Method Detail
- -

-getEventObject

-
-public java.util.EventObject getEventObject()
-
-
Gets the wrapped event. -

-

- -
Returns:
the event that was passed to the constructor
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/package-frame.html b/javadoc/com/sun/speech/engine/package-frame.html deleted file mode 100644 index 5f2cf59..0000000 --- a/javadoc/com/sun/speech/engine/package-frame.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - -com.sun.speech.engine (FreeTTS 1.2) - - - - - - - - - - - -com.sun.speech.engine - - - - -
-Interfaces  - -
-SpeechEventDispatcher
- - - - - - -
-Classes  - -
-BaseAudioManager -
-BaseEngine -
-BaseEngineProperties -
-EngineEventPanel -
-EngineMonitor -
-SpeechEventUtilities -
-SpeechEventUtilities.SpeechAWTEvent -
-SpeechEventUtilities.SpeechAWTEventTarget -
-SpeechEventWrapper
- - - - diff --git a/javadoc/com/sun/speech/engine/package-summary.html b/javadoc/com/sun/speech/engine/package-summary.html deleted file mode 100644 index f0b5700..0000000 --- a/javadoc/com/sun/speech/engine/package-summary.html +++ /dev/null @@ -1,219 +0,0 @@ - - - - - - -com.sun.speech.engine (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.sun.speech.engine -

-Provides a partial and unsupported support for the -javax.speech package for JSAPI 1.0. -

-See: -
-          Description -

- - - - - - - - - -
-Interface Summary
SpeechEventDispatcherInterface to be implemented by objects that dispatch - SpeechEvents.
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
BaseAudioManagerSupports the JSAPI 1.0 AudioManager - interface.
BaseEngineSupports the JSAPI 1.0 Engine interface. -
BaseEnginePropertiesSupports the JSAPI 1.0 EngineProperties - interface.
EngineEventPanelSimple GUI for monitoring events of an Engine.
EngineMonitorSimple GUI for monitoring events and state changes of an - Engine.
SpeechEventUtilitiesUtilities to help with dispatch JSAPI 1.0 events on the event - dispatching thread of AWT/Swing.
SpeechEventUtilities.SpeechAWTEventInner class that defines SpeechAWTEvents.
SpeechEventUtilities.SpeechAWTEventTargetInner class used to handle events as they are dispatched from the - AWT event queue.
SpeechEventWrapperWraps an arbitrary event object (from EventObject) - in a SpeechEvent so that it can be dispatched through - the speech event dispatch mechanism. -
-  - -

-

-Package com.sun.speech.engine Description -

- -

-

Provides a partial and unsupported support for the -javax.speech package for JSAPI 1.0.

-

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/package-tree.html b/javadoc/com/sun/speech/engine/package-tree.html deleted file mode 100644 index dae2690..0000000 --- a/javadoc/com/sun/speech/engine/package-tree.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - -com.sun.speech.engine Class Hierarchy (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.sun.speech.engine -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/synthesis/BaseSynthesizer.html b/javadoc/com/sun/speech/engine/synthesis/BaseSynthesizer.html deleted file mode 100644 index 5e02430..0000000 --- a/javadoc/com/sun/speech/engine/synthesis/BaseSynthesizer.html +++ /dev/null @@ -1,996 +0,0 @@ - - - - - - -BaseSynthesizer (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.engine.synthesis -
-Class BaseSynthesizer

-
-java.lang.Object
-  extended bycom.sun.speech.engine.BaseEngine
-      extended bycom.sun.speech.engine.synthesis.BaseSynthesizer
-
-
-
All Implemented Interfaces:
javax.speech.Engine, SpeechEventDispatcher, javax.speech.synthesis.Synthesizer
-
-
-
Direct Known Subclasses:
FreeTTSSynthesizer, TextSynthesizer
-
-
-
-
public abstract class BaseSynthesizer
extends BaseEngine
implements javax.speech.synthesis.Synthesizer, SpeechEventDispatcher
- -

-Supports the JSAPI 1.0 Synthesizer interface that - performs the core non-engine-specific functions. - -

An actual JSAPI synthesizer implementation needs to extend or - modify this implementation. -

- -

-


- -

- - - - - - - - - - - - - - - - - - -
-Field Summary
-protected  java.util.CollectionspeakableListeners - -
-          Set of speakable listeners belonging to the Synthesizer. -
-protected  VoiceListvoiceList - -
-          The set of voices available in this Synthesizer. -
- - - - - - - -
Fields inherited from class com.sun.speech.engine.BaseEngine
audioManager, CLEAR_ALL_STATE, engineListeners, engineModeDesc, engineProperties, engineState, engineStateLock
- - - - - - - -
Fields inherited from interface javax.speech.synthesis.Synthesizer
QUEUE_EMPTY, QUEUE_NOT_EMPTY
- - - - - - - -
Fields inherited from interface javax.speech.Engine
ALLOCATED, ALLOCATING_RESOURCES, DEALLOCATED, DEALLOCATING_RESOURCES, PAUSED, RESUMED
-  - - - - - - - - - - -
-Constructor Summary
BaseSynthesizer(javax.speech.synthesis.SynthesizerModeDesc mode) - -
-          Creates a new Synthesizer in the DEALLOCATED state.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddSpeakableListener(javax.speech.synthesis.SpeakableListener listener) - -
-          Adds a SpeakableListener to this Synthesizer.
-protected abstract  voidappendQueue(BaseSynthesizerQueueItem item) - -
-          Puts an item on the speaking queue and sends a queue updated - event.
-abstract  voidcancel() - -
-          Cancels the item at the top of the queue.
-abstract  voidcancel(java.lang.Object source) - -
-          Cancels a specific object on the queue.
-abstract  voidcancelAll() - -
-          Cancels all items on the output queue.
-protected  BaseEnginePropertiescreateEngineProperties() - -
-          Factory constructor for EngineProperties object. -
-protected  BaseSynthesizerQueueItemcreateQueueItem() - -
-          Factory method that creates a BaseSynthesizerQueueItem. -
- voiddispatchSpeechEvent(javax.speech.SpeechEvent event) - -
-          Dispatches a SpeechEvent. -
-abstract  java.util.EnumerationenumerateQueue() - -
-          Returns an enumeration of the queue.
- voidfireQueueEmptied(javax.speech.synthesis.SynthesizerEvent event) - -
-          Utility function that sends a QUEUE_EMPTIED - event to all SynthesizerListeners.
- voidfireQueueUpdated(javax.speech.synthesis.SynthesizerEvent event) - -
-          Utility function that sends a QUEUE_UPDATED - event to all SynthesizerListeners.
- javax.speech.synthesis.SynthesizerPropertiesgetSynthesizerProperties() - -
-          Returns the SynthesizerProperties object (a JavaBean). -
-protected  VoiceListgetVoiceList() - -
-          Returns the list of voices for this Synthesizer.
- java.lang.Stringphoneme(java.lang.String text) - -
-          Optional method that converts a text string to a phoneme string.
- voidpostQueueEmptied(long oldState, - long newState) - -
-          Utility function that generates QUEUE_EMPTIED - event and posts it to the event queue.
- voidpostQueueUpdated(boolean topOfQueueChanged, - long oldState, - long newState) - -
-          Utility function that generates QUEUE_UPDATED - event and posts it to the event queue.
- voidremoveSpeakableListener(javax.speech.synthesis.SpeakableListener listener) - -
-          Removes a SpeakableListener from this - Synthesizer.
- voidspeak(javax.speech.synthesis.Speakable jsmlText, - javax.speech.synthesis.SpeakableListener listener) - -
-          Speaks JSML text provided as a Speakable object.
- voidspeak(java.lang.String jsmlText, - javax.speech.synthesis.SpeakableListener listener) - -
-          Speaks JSML text provided as a String.
- voidspeak(java.net.URL jsmlURL, - javax.speech.synthesis.SpeakableListener listener) - -
-          Speaks JSML text provided as a URL.
- voidspeakPlainText(java.lang.String text, - javax.speech.synthesis.SpeakableListener listener) - -
-          Speaks a plain text String.
-protected  java.lang.StringstateToString(long state) - -
-          Returns a String of the names of all the states implied - in the given bit pattern.
- - - - - - - -
Methods inherited from class com.sun.speech.engine.BaseEngine
addEngineListener, allocate, checkEngineState, deallocate, fireEngineAllocated, fireEngineAllocatingResources, fireEngineDeallocated, fireEngineDeallocatingResources, fireEnginePaused, fireEngineResumed, getAudioManager, getEngineModeDesc, getEngineProperties, getEngineState, getVocabManager, handleAllocate, handleDeallocate, handlePause, handleResume, pause, postEngineAllocated, postEngineAllocatingResources, postEngineDeallocated, postEngineDeallocatingResources, postEnginePaused, postEngineResumed, removeEngineListener, resume, setEngineModeDesc, setEngineState, testEngineState, toString, waitEngineState
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface javax.speech.Engine
addEngineListener, allocate, deallocate, getAudioManager, getEngineModeDesc, getEngineProperties, getEngineState, getVocabManager, pause, removeEngineListener, resume, testEngineState, waitEngineState
-  -

- - - - - - - - -
-Field Detail
- -

-speakableListeners

-
-protected java.util.Collection speakableListeners
-
-
Set of speakable listeners belonging to the Synthesizer. - Each item on queue may have an individual listener too. -

-

-
See Also:
SpeakableListener
-
-
- -

-voiceList

-
-protected VoiceList voiceList
-
-
The set of voices available in this Synthesizer. - The list can be created in the constructor methods. -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-BaseSynthesizer

-
-public BaseSynthesizer(javax.speech.synthesis.SynthesizerModeDesc mode)
-
-
Creates a new Synthesizer in the DEALLOCATED state. -

-

Parameters:
mode - the operating mode of this Synthesizer
- - - - - - - - -
-Method Detail
- -

-speak

-
-public void speak(javax.speech.synthesis.Speakable jsmlText,
-                  javax.speech.synthesis.SpeakableListener listener)
-           throws javax.speech.synthesis.JSMLException,
-                  javax.speech.EngineStateError
-
-
Speaks JSML text provided as a Speakable object. -

-

-
Specified by:
speak in interface javax.speech.synthesis.Synthesizer
-
-
-
Parameters:
jsmlText - the JSML text to speak
listener - the listener to be notified as the - jsmlText is processed -
Throws: -
javax.speech.synthesis.JSMLException - if the JSML text contains errors -
javax.speech.EngineStateError - if this Synthesizer in the DEALLOCATED or - DEALLOCATING_RESOURCES states
-
-
-
- -

-speak

-
-public void speak(java.net.URL jsmlURL,
-                  javax.speech.synthesis.SpeakableListener listener)
-           throws javax.speech.synthesis.JSMLException,
-                  java.net.MalformedURLException,
-                  java.io.IOException,
-                  javax.speech.EngineStateError
-
-
Speaks JSML text provided as a URL. -

-

-
Specified by:
speak in interface javax.speech.synthesis.Synthesizer
-
-
-
Parameters:
jsmlURL - the URL containing JSML text
listener - the listener to be notified as the - JSML text is processed -
Throws: -
javax.speech.EngineStateError - if this Synthesizer in the DEALLOCATED or - DEALLOCATING_RESOURCES states -
java.io.IOException - if errors are encountered with the JSMLurl -
javax.speech.synthesis.JSMLException - if the JSML text contains errors -
java.net.MalformedURLException - if errors are encountered with the JSMLurl
-
-
-
- -

-speak

-
-public void speak(java.lang.String jsmlText,
-                  javax.speech.synthesis.SpeakableListener listener)
-           throws javax.speech.synthesis.JSMLException,
-                  javax.speech.EngineStateError
-
-
Speaks JSML text provided as a String. -

-

-
Specified by:
speak in interface javax.speech.synthesis.Synthesizer
-
-
-
Parameters:
jsmlText - a String containing JSML.
listener - the listener to be notified as the - JSML text is processed -
Throws: -
javax.speech.EngineStateError - if this Synthesizer in the DEALLOCATED or - DEALLOCATING_RESOURCES states -
javax.speech.synthesis.JSMLException - if the JSML text contains errors
-
-
-
- -

-speakPlainText

-
-public void speakPlainText(java.lang.String text,
-                           javax.speech.synthesis.SpeakableListener listener)
-                    throws javax.speech.EngineStateError
-
-
Speaks a plain text String. No JSML parsing is - performed. -

-

-
Specified by:
speakPlainText in interface javax.speech.synthesis.Synthesizer
-
-
-
Parameters:
text - a String containing plain text.
listener - the listener to be notified as the - text is processed -
Throws: -
javax.speech.EngineStateError - if this Synthesizer in the DEALLOCATED or - DEALLOCATING_RESOURCES states
-
-
-
- -

-stateToString

-
-protected java.lang.String stateToString(long state)
-
-
Returns a String of the names of all the states implied - in the given bit pattern. -

-

-
Overrides:
stateToString in class BaseEngine
-
-
-
Parameters:
state - the bit pattern of states -
Returns:
a String of the names of all the states implied - in the given bit pattern.
-
-
-
- -

-appendQueue

-
-protected abstract void appendQueue(BaseSynthesizerQueueItem item)
-
-
Puts an item on the speaking queue and sends a queue updated - event. -

-

-
-
-
-
Parameters:
item - the item to add to the queue
-
-
-
- -

-phoneme

-
-public java.lang.String phoneme(java.lang.String text)
-                         throws javax.speech.EngineStateError
-
-
Optional method that converts a text string to a phoneme string. -

-

-
Specified by:
phoneme in interface javax.speech.synthesis.Synthesizer
-
-
-
Parameters:
text - plain text to be converted to phonemes -
Returns:
IPA phonemic representation of text or null -
Throws: -
javax.speech.EngineStateError - if this Synthesizer in the DEALLOCATED or - DEALLOCATING_RESOURCES states
-
-
-
- -

-enumerateQueue

-
-public abstract java.util.Enumeration enumerateQueue()
-                                              throws javax.speech.EngineStateError
-
-
Returns an enumeration of the queue. -

-

-
Specified by:
enumerateQueue in interface javax.speech.synthesis.Synthesizer
-
-
- -
Returns:
an Enumeration of the speech output queue or - null. -
Throws: -
javax.speech.EngineStateError - if this Synthesizer in the DEALLOCATED or - DEALLOCATING_RESOURCES states
-
-
-
- -

-cancel

-
-public abstract void cancel()
-                     throws javax.speech.EngineStateError
-
-
Cancels the item at the top of the queue. -

-

-
Specified by:
cancel in interface javax.speech.synthesis.Synthesizer
-
-
- -
Throws: -
javax.speech.EngineStateError - if this Synthesizer in the DEALLOCATED or - DEALLOCATING_RESOURCES states
-
-
-
- -

-cancel

-
-public abstract void cancel(java.lang.Object source)
-                     throws java.lang.IllegalArgumentException,
-                            javax.speech.EngineStateError
-
-
Cancels a specific object on the queue. -

-

-
Specified by:
cancel in interface javax.speech.synthesis.Synthesizer
-
-
-
Parameters:
source - object to be removed from the speech output queue -
Throws: -
java.lang.IllegalArgumentException - if the source object is not found in the speech output queue. -
javax.speech.EngineStateError - if this Synthesizer in the DEALLOCATED or - DEALLOCATING_RESOURCES states
-
-
-
- -

-cancelAll

-
-public abstract void cancelAll()
-                        throws javax.speech.EngineStateError
-
-
Cancels all items on the output queue. -

-

-
Specified by:
cancelAll in interface javax.speech.synthesis.Synthesizer
-
-
- -
Throws: -
javax.speech.EngineStateError - if this Synthesizer in the DEALLOCATED or - DEALLOCATING_RESOURCES states
-
-
-
- -

-getSynthesizerProperties

-
-public javax.speech.synthesis.SynthesizerProperties getSynthesizerProperties()
-
-
Returns the SynthesizerProperties object (a JavaBean). - The method returns exactly the same object as the - getEngineProperties method in the Engine - interface. However, with the getSynthesizerProperties - method, an application does not need to cast the return value. -

-

-
Specified by:
getSynthesizerProperties in interface javax.speech.synthesis.Synthesizer
-
-
- -
Returns:
the SynthesizerProperties object for this - Synthesizer
-
-
-
- -

-addSpeakableListener

-
-public void addSpeakableListener(javax.speech.synthesis.SpeakableListener listener)
-
-
Adds a SpeakableListener to this Synthesizer. -

-

-
Specified by:
addSpeakableListener in interface javax.speech.synthesis.Synthesizer
-
-
-
Parameters:
listener - the listener to add
See Also:
removeSpeakableListener(javax.speech.synthesis.SpeakableListener)
-
-
-
- -

-removeSpeakableListener

-
-public void removeSpeakableListener(javax.speech.synthesis.SpeakableListener listener)
-
-
Removes a SpeakableListener from this - Synthesizer. -

-

-
Specified by:
removeSpeakableListener in interface javax.speech.synthesis.Synthesizer
-
-
-
Parameters:
listener - the listener to remove
See Also:
addSpeakableListener(javax.speech.synthesis.SpeakableListener)
-
-
-
- -

-createEngineProperties

-
-protected BaseEngineProperties createEngineProperties()
-
-
Factory constructor for EngineProperties object. - Gets the default speaking voice from the - SynthesizerModeDesc. - Takes the default prosody values (pitch, range, volume, rate) - from the default voice. Override to set engine-specific defaults. -

-

-
Specified by:
createEngineProperties in class BaseEngine
-
-
- -
Returns:
a BaseEngineProperties object specific to - a subclass.
-
-
-
- -

-createQueueItem

-
-protected BaseSynthesizerQueueItem createQueueItem()
-
-
Factory method that creates a BaseSynthesizerQueueItem. - Override if the synthesizer specializes the - BaseSynthesizerQueueItem class. -

-

-
-
-
-
-
-
-
- -

-getVoiceList

-
-protected VoiceList getVoiceList()
-
-
Returns the list of voices for this Synthesizer. -

-

-
-
-
- -
Returns:
the list of voices for this Synthesizer.
-
-
-
- -

-postQueueUpdated

-
-public void postQueueUpdated(boolean topOfQueueChanged,
-                             long oldState,
-                             long newState)
-
-
Utility function that generates QUEUE_UPDATED - event and posts it to the event queue. Eventually - fireQueueUpdated will be called - by dispatchSpeechEvent as a result of this action. -

-

-
-
-
-
Parameters:
topOfQueueChanged - true if the top of the - queue has changed
oldState - the old state of this Synthesizer
newState - the new state of this Synthesizer
See Also:
fireQueueUpdated(javax.speech.synthesis.SynthesizerEvent), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-fireQueueUpdated

-
-public void fireQueueUpdated(javax.speech.synthesis.SynthesizerEvent event)
-
-
Utility function that sends a QUEUE_UPDATED - event to all SynthesizerListeners. -

-

-
-
-
-
Parameters:
event - the QUEUE_UPDATED event
See Also:
postQueueUpdated(boolean, long, long), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-postQueueEmptied

-
-public void postQueueEmptied(long oldState,
-                             long newState)
-
-
Utility function that generates QUEUE_EMPTIED - event and posts it to the event queue. Eventually - fireQueueEmptied will be called - by dispatchSpeechEvent as a result of this action. -

-

-
-
-
-
Parameters:
oldState - the old state of this Synthesizer
newState - the new state of this Synthesizer
See Also:
fireQueueEmptied(javax.speech.synthesis.SynthesizerEvent), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-fireQueueEmptied

-
-public void fireQueueEmptied(javax.speech.synthesis.SynthesizerEvent event)
-
-
Utility function that sends a QUEUE_EMPTIED - event to all SynthesizerListeners. -

-

-
-
-
-
Parameters:
event - the QUEUE_EMPTIED event
See Also:
postQueueEmptied(long, long), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-dispatchSpeechEvent

-
-public void dispatchSpeechEvent(javax.speech.SpeechEvent event)
-
-
Dispatches a SpeechEvent. - The dispatcher should notify all SynthesizerListeners - from this method. The SpeechEvent was added - via the various post methods of this class. -

-

-
Specified by:
dispatchSpeechEvent in interface SpeechEventDispatcher
Overrides:
dispatchSpeechEvent in class BaseEngine
-
-
-
Parameters:
event - the SpeechEvent to dispatch
See Also:
postQueueUpdated(boolean, long, long), -postQueueEmptied(long, long)
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/synthesis/BaseSynthesizerProperties.html b/javadoc/com/sun/speech/engine/synthesis/BaseSynthesizerProperties.html deleted file mode 100644 index c72e547..0000000 --- a/javadoc/com/sun/speech/engine/synthesis/BaseSynthesizerProperties.html +++ /dev/null @@ -1,807 +0,0 @@ - - - - - - -BaseSynthesizerProperties (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.engine.synthesis -
-Class BaseSynthesizerProperties

-
-java.lang.Object
-  extended bycom.sun.speech.engine.BaseEngineProperties
-      extended bycom.sun.speech.engine.synthesis.BaseSynthesizerProperties
-
-
-
All Implemented Interfaces:
javax.speech.EngineProperties, SpeechEventDispatcher, javax.speech.synthesis.SynthesizerProperties
-
-
-
-
public class BaseSynthesizerProperties
extends BaseEngineProperties
implements javax.speech.synthesis.SynthesizerProperties
- -

-Supports the JSAPI 1.0 SynthesizerProperties - interface. The properties of a Synthesizer are: - -

    -
  • Speaking voice, -
  • Baseline pitch, -
  • Pitch range, -
  • Speaking rate, -
  • Volume. -
-

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-protected  floatcurrentPitch - -
-          The current pitch.
-protected  floatcurrentPitchRange - -
-          The current pitch range.
-protected  floatcurrentSpeakingRate - -
-          The current speaking rate.
-protected  javax.speech.synthesis.VoicecurrentVoice - -
-          The current voice.
-protected  floatcurrentVolume - -
-          The current volume.
-protected  floatdefaultPitch - -
-          The default pitch.
-protected  floatdefaultPitchRange - -
-          The default pitch range.
-protected  floatdefaultSpeakingRate - -
-          The default specking rate.
-protected  javax.speech.synthesis.VoicedefaultVoice - -
-          The default voice.
-protected  floatdefaultVolume - -
-          The default volume.
- - - - - - - -
Fields inherited from class com.sun.speech.engine.BaseEngineProperties
propertyChangeListeners
-  - - - - - - - - - - - - - -
-Constructor Summary
BaseSynthesizerProperties() - -
-          Class constructor.
BaseSynthesizerProperties(javax.speech.synthesis.Voice defaultVoice, - float defaultPitch, - float defaultPitchRange, - float defaultSpeakingRate, - float defaultVolume) - -
-          Creates a new BaseSynthesizerProperties with the - given default values.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- floatgetPitch() - -
-          Gets the baseline pitch for synthesis.
- floatgetPitchRange() - -
-          Gets the pitch range for synthesis.
- floatgetSpeakingRate() - -
-          Gets the current target speaking rate in words per minute.
- javax.speech.synthesis.VoicegetVoice() - -
-          Gets the current synthesizer voice.
- floatgetVolume() - -
-          Gets the current volume.
- voidreset() - -
-          Resets all properties to their default values.
- voidsetPitch(float hertz) - -
-          Sets the baseline pitch for the current synthesis voice.
- voidsetPitchRange(float hertz) - -
-          Sets the pitch range for the current synthesis voice.
- voidsetSpeakingRate(float wpm) - -
-          Sets the target speaking rate in words per minute.
- voidsetVoice(javax.speech.synthesis.Voice voice) - -
-          Sets the current synthesizer voice.
- voidsetVolume(float volume) - -
-          Sets the volume.
- - - - - - - -
Methods inherited from class com.sun.speech.engine.BaseEngineProperties
addPropertyChangeListener, dispatchSpeechEvent, firePropertyChangeEvent, getControlComponent, postPropertyChangeEvent, postPropertyChangeEvent, postPropertyChangeEvent, postPropertyChangeEvent, removePropertyChangeListener
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- - - - - - - -
Methods inherited from interface javax.speech.EngineProperties
addPropertyChangeListener, getControlComponent, removePropertyChangeListener
-  -

- - - - - - - - -
-Field Detail
- -

-defaultVoice

-
-protected javax.speech.synthesis.Voice defaultVoice
-
-
The default voice. -

-

-
-
-
- -

-defaultPitch

-
-protected float defaultPitch
-
-
The default pitch. -

-

-
-
-
- -

-defaultPitchRange

-
-protected float defaultPitchRange
-
-
The default pitch range. -

-

-
-
-
- -

-defaultSpeakingRate

-
-protected float defaultSpeakingRate
-
-
The default specking rate. -

-

-
-
-
- -

-defaultVolume

-
-protected float defaultVolume
-
-
The default volume. -

-

-
-
-
- -

-currentVoice

-
-protected javax.speech.synthesis.Voice currentVoice
-
-
The current voice. -

-

-
-
-
- -

-currentPitch

-
-protected float currentPitch
-
-
The current pitch. -

-

-
-
-
- -

-currentPitchRange

-
-protected float currentPitchRange
-
-
The current pitch range. -

-

-
-
-
- -

-currentSpeakingRate

-
-protected float currentSpeakingRate
-
-
The current speaking rate. -

-

-
-
-
- -

-currentVolume

-
-protected float currentVolume
-
-
The current volume. -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-BaseSynthesizerProperties

-
-public BaseSynthesizerProperties()
-
-
Class constructor. -

-

-
- -

-BaseSynthesizerProperties

-
-public BaseSynthesizerProperties(javax.speech.synthesis.Voice defaultVoice,
-                                 float defaultPitch,
-                                 float defaultPitchRange,
-                                 float defaultSpeakingRate,
-                                 float defaultVolume)
-
-
Creates a new BaseSynthesizerProperties with the - given default values. -

-

Parameters:
defaultVoice - the default voice
defaultPitch - the default pitch
defaultPitchRange - the default pitch range
defaultSpeakingRate - the default speaking rate
defaultVolume - the default volume
- - - - - - - - -
-Method Detail
- -

-reset

-
-public void reset()
-
-
Resets all properties to their default values. -

-

-
Specified by:
reset in interface javax.speech.EngineProperties
Specified by:
reset in class BaseEngineProperties
-
-
-
-
-
-
- -

-getVoice

-
-public javax.speech.synthesis.Voice getVoice()
-
-
Gets the current synthesizer voice. -

-

-
Specified by:
getVoice in interface javax.speech.synthesis.SynthesizerProperties
-
-
- -
Returns:
the current synthesizer voice.
See Also:
setVoice(javax.speech.synthesis.Voice)
-
-
-
- -

-setVoice

-
-public void setVoice(javax.speech.synthesis.Voice voice)
-              throws java.beans.PropertyVetoException
-
-
Sets the current synthesizer voice. -

-

-
Specified by:
setVoice in interface javax.speech.synthesis.SynthesizerProperties
-
-
-
Parameters:
voice - the new voice -
Throws: -
java.beans.PropertyVetoException - if the voice cannot be set to - the given value
See Also:
getVoice()
-
-
-
- -

-getPitch

-
-public float getPitch()
-
-
Gets the baseline pitch for synthesis. -

-

-
Specified by:
getPitch in interface javax.speech.synthesis.SynthesizerProperties
-
-
- -
Returns:
the baseline pitch in Hertz
See Also:
setPitch(float)
-
-
-
- -

-setPitch

-
-public void setPitch(float hertz)
-              throws java.beans.PropertyVetoException
-
-
Sets the baseline pitch for the current synthesis voice. -

-

-
Specified by:
setPitch in interface javax.speech.synthesis.SynthesizerProperties
-
-
-
Parameters:
hertz - the new baseline pitch in Hertz -
Throws: -
java.beans.PropertyVetoException - if the baseline pitch cannot be - set to the given value
See Also:
getPitch()
-
-
-
- -

-getPitchRange

-
-public float getPitchRange()
-
-
Gets the pitch range for synthesis. -

-

-
Specified by:
getPitchRange in interface javax.speech.synthesis.SynthesizerProperties
-
-
- -
Returns:
the current pitch range in Hertz
See Also:
setPitchRange(float)
-
-
-
- -

-setPitchRange

-
-public void setPitchRange(float hertz)
-                   throws java.beans.PropertyVetoException
-
-
Sets the pitch range for the current synthesis voice. -

-

-
Specified by:
setPitchRange in interface javax.speech.synthesis.SynthesizerProperties
-
-
-
Parameters:
hertz - the new range in Hertz -
Throws: -
java.beans.PropertyVetoException - if the pitch range cannot be set - to the given value
See Also:
getPitchRange()
-
-
-
- -

-getSpeakingRate

-
-public float getSpeakingRate()
-
-
Gets the current target speaking rate in words per minute. -

-

-
Specified by:
getSpeakingRate in interface javax.speech.synthesis.SynthesizerProperties
-
-
- -
Returns:
the current target speaking rate in words per minute.
See Also:
getSpeakingRate()
-
-
-
- -

-setSpeakingRate

-
-public void setSpeakingRate(float wpm)
-                     throws java.beans.PropertyVetoException
-
-
Sets the target speaking rate in words per minute. -

-

-
Specified by:
setSpeakingRate in interface javax.speech.synthesis.SynthesizerProperties
-
-
-
Parameters:
wpm - the new speaking rate in words per minute -
Throws: -
java.beans.PropertyVetoException - if the speaking rate cannot be - set to the given value
See Also:
getSpeakingRate()
-
-
-
- -

-getVolume

-
-public float getVolume()
-
-
Gets the current volume. -

-

-
Specified by:
getVolume in interface javax.speech.synthesis.SynthesizerProperties
-
-
- -
Returns:
the current volume expressed as a float - 0.0 and 1.0, inclusive
See Also:
setVolume(float)
-
-
-
- -

-setVolume

-
-public void setVolume(float volume)
-               throws java.beans.PropertyVetoException
-
-
Sets the volume. -

-

-
Specified by:
setVolume in interface javax.speech.synthesis.SynthesizerProperties
-
-
-
Parameters:
volume - the new volume expressed as a float - 0.0 and 1.0, inclusive -
Throws: -
java.beans.PropertyVetoException - if the volume cannot be - set to the given value
See Also:
getVolume()
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html b/javadoc/com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html deleted file mode 100644 index bb2cf60..0000000 --- a/javadoc/com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html +++ /dev/null @@ -1,1147 +0,0 @@ - - - - - - -BaseSynthesizerQueueItem (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.engine.synthesis -
-Class BaseSynthesizerQueueItem

-
-java.lang.Object
-  extended byjavax.speech.synthesis.SynthesizerQueueItem
-      extended bycom.sun.speech.engine.synthesis.BaseSynthesizerQueueItem
-
-
-
All Implemented Interfaces:
SpeechEventDispatcher
-
-
-
Direct Known Subclasses:
FreeTTSSynthesizerQueueItem, TextSynthesizerQueueItem
-
-
-
-
public class BaseSynthesizerQueueItem
extends javax.speech.synthesis.SynthesizerQueueItem
implements SpeechEventDispatcher
- -

-Extends the JSAPI 1.0 SynthesizerQueueItem with handling - for JSML, generation of engine-specific text, and other features. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-protected static intitemNumber - -
-          Global count of queue items used for debug.
-protected  BaseSynthesizersynth - -
-          Synthesizer that has queued this item.
-protected  intthisItemNumber - -
-          Count for this item used for debug.
- - - - - - - -
Fields inherited from class javax.speech.synthesis.SynthesizerQueueItem
listener, plainText, source, text
-  - - - - - - - - - - -
-Constructor Summary
BaseSynthesizerQueueItem() - -
-          Class constructor.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidcancelled() - -
-          indicate that this item has been canceled
- voidcompleted() - -
-          indicate that this item has been completed
- voiddispatchSpeechEvent(javax.speech.SpeechEvent event) - -
-          Dispatches a SpeechEvent. -
- voidfireMarkerReached(javax.speech.synthesis.SpeakableEvent event) - -
-          Utility function that sends a MARKER_REACHED event - to all speakable listeners.
- voidfireSpeakableCancelled(javax.speech.synthesis.SpeakableEvent event) - -
-          Utility function that sends a SPEAKABLE_CANCELLED event - to all speakable listeners.
- voidfireSpeakableEnded(javax.speech.synthesis.SpeakableEvent event) - -
-          Utility function that sends a SPEAKABLE_ENDED event - to all speakable listeners.
- voidfireSpeakablePaused(javax.speech.synthesis.SpeakableEvent event) - -
-          Utility function that sends a SPEAKABLE_PAUSED event - to all speakable listeners.
- voidfireSpeakableResumed(javax.speech.synthesis.SpeakableEvent event) - -
-          Utility function that sends a SPEAKABLE_RESUMED event - to all speakable listeners.
- voidfireSpeakableStarted(javax.speech.synthesis.SpeakableEvent event) - -
-          Utility function that sends a SPEAKABLE_STARTED event - to all speakable listeners.
- voidfireTopOfQueue(javax.speech.synthesis.SpeakableEvent event) - -
-          Utility function that sends a TOP_OF_QUEUE event - to all speakable listeners.
- voidfireWordStarted(javax.speech.synthesis.SpeakableEvent event) - -
-          Utility function that sends a WORD_STARTED event - to all speakable listeners.
-protected  org.w3c.dom.DocumentgetDocument() - -
-          Gets the DOM document for this object.
- intgetItemNumber() - -
-          Gets the item number for debug purposes only.
-protected  booleanisCancelled() - -
-          determines if this queue item has been canceled
- booleanisCompleted() - -
-          returns true if this queue item has been - processed.
- voidpostMarkerReached(java.lang.String text, - int markerType) - -
-          Utility function that generates a - MARKER_REACHED event and posts it - to the event queue.
- voidpostSpeakableCancelled() - -
-          Utility function that generates a - SPEAKABLE_CANCELLED event and posts it - to the event queue.
- voidpostSpeakableEnded() - -
-          Utility function that generates a - SPEAKABLE_ENDED event and posts it - to the event queue.
- voidpostSpeakablePaused() - -
-          Utility function that generates a - SPEAKABLE_PAUSED event and posts it - to the event queue.
- voidpostSpeakableResumed() - -
-          Utility function that generates a - SPEAKABLE_RESUMED event and posts it - to the event queue.
- voidpostSpeakableStarted() - -
-          Utility function that generates a - SPEAKABLE_STARTED event and posts it - to the event queue.
- voidpostTopOfQueue() - -
-          Utility function that generates a - TOP_OF_QUEUE event and posts it - to the event queue.
- voidpostWordStarted(java.lang.String text, - int wordStart, - int wordEnd) - -
-          Utility function that generates a - WORD_STARTED event and posts it - to the event queue.
-protected  voidsetData(BaseSynthesizer synth, - javax.speech.synthesis.Speakable source, - javax.speech.synthesis.SpeakableListener listener) - -
-          Sets queue item data with a Speakable source.
-protected  voidsetData(BaseSynthesizer synth, - java.lang.String source, - boolean plainText, - javax.speech.synthesis.SpeakableListener listener) - -
-          Sets queue item data with a String source that is - either plain text or JSML.
-protected  voidsetData(BaseSynthesizer synth, - java.net.URL source, - javax.speech.synthesis.SpeakableListener listener) - -
-          Sets queue item data with a URL source.
- voidstarted() - -
-          indicate that this item has been started
- booleanwaitCompleted() - -
-          wait for this queue item to be completed
- - - - - - - -
Methods inherited from class javax.speech.synthesis.SynthesizerQueueItem
getSource, getSpeakableListener, getText, isPlainText
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-itemNumber

-
-protected static int itemNumber
-
-
Global count of queue items used for debug. -

-

-
-
-
- -

-thisItemNumber

-
-protected int thisItemNumber
-
-
Count for this item used for debug. -

-

-
-
-
- -

-synth

-
-protected BaseSynthesizer synth
-
-
Synthesizer that has queued this item. -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-BaseSynthesizerQueueItem

-
-public BaseSynthesizerQueueItem()
-
-
Class constructor. -

-

- - - - - - - - -
-Method Detail
- -

-setData

-
-protected void setData(BaseSynthesizer synth,
-                       javax.speech.synthesis.Speakable source,
-                       javax.speech.synthesis.SpeakableListener listener)
-                throws javax.speech.synthesis.JSMLException
-
-
Sets queue item data with a Speakable source. -

-

-
-
-
-
Parameters:
synth - the synthesizer
source - the Speakable
listener - the SpeakableListener to be - notified as this object is processed -
Throws: -
javax.speech.synthesis.JSMLException - if the source contains JSML errors
-
-
-
- -

-setData

-
-protected void setData(BaseSynthesizer synth,
-                       java.lang.String source,
-                       boolean plainText,
-                       javax.speech.synthesis.SpeakableListener listener)
-                throws javax.speech.synthesis.JSMLException
-
-
Sets queue item data with a String source that is - either plain text or JSML. -

-

-
-
-
-
Parameters:
synth - the synthesizer
source - the text
plainText - true only if the - source is plain text
listener - the SpeakableListener to be - notified as this object is processed -
Throws: -
javax.speech.synthesis.JSMLException - if the source contains JSML errors
-
-
-
- -

-setData

-
-protected void setData(BaseSynthesizer synth,
-                       java.net.URL source,
-                       javax.speech.synthesis.SpeakableListener listener)
-                throws javax.speech.synthesis.JSMLException,
-                       java.io.IOException
-
-
Sets queue item data with a URL source. -

-

-
-
-
-
Parameters:
synth - the synthesizer
source - the URL containing JSML text
listener - the SpeakableListener to be - notified as this object is processed -
Throws: -
javax.speech.synthesis.JSMLException - if the source contains JSML errors -
java.io.IOException - if there are problems working with the URL.
-
-
-
- -

-getDocument

-
-protected org.w3c.dom.Document getDocument()
-
-
Gets the DOM document for this object. -

-

-
-
-
- -
Returns:
the DOM document for this object.
-
-
-
- -

-isCancelled

-
-protected boolean isCancelled()
-
-
determines if this queue item has been canceled -

-

-
-
-
- -
Returns:
true if this item has been canceled; - otherwise false
-
-
-
- -

-isCompleted

-
-public boolean isCompleted()
-
-
returns true if this queue item has been - processed. -

-

-
-
-
- -
Returns:
true if it has been processed
-
-
-
- -

-waitCompleted

-
-public boolean waitCompleted()
-
-
wait for this queue item to be completed -

-

-
-
-
- -
Returns:
true if the item was completed successfully, false if - the item was canceled or an error occurred.
-
-
-
- -

-cancelled

-
-public void cancelled()
-
-
indicate that this item has been canceled -

-

-
-
-
-
-
-
-
- -

-completed

-
-public void completed()
-
-
indicate that this item has been completed -

-

-
-
-
-
-
-
-
- -

-started

-
-public void started()
-
-
indicate that this item has been started -

-

-
-
-
-
-
-
-
- -

-getItemNumber

-
-public int getItemNumber()
-
-
Gets the item number for debug purposes only. Each queue item - is given a unique ID. -

-

-
-
-
- -
Returns:
the unique ID for this queue item
-
-
-
- -

-postMarkerReached

-
-public void postMarkerReached(java.lang.String text,
-                              int markerType)
-
-
Utility function that generates a - MARKER_REACHED event and posts it - to the event queue. Eventually - fireMarkerReached will be called - by dispatchSpeechEvent as a result - of this action. -

-

-
-
-
-
Parameters:
text - the text of the marker
markerType - the type of marker
See Also:
SpeakableEvent.getMarkerType(), -fireMarkerReached(javax.speech.synthesis.SpeakableEvent), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-fireMarkerReached

-
-public void fireMarkerReached(javax.speech.synthesis.SpeakableEvent event)
-
-
Utility function that sends a MARKER_REACHED event - to all speakable listeners. -

-

-
-
-
-
Parameters:
event - the MARKER_REACHED event
See Also:
postMarkerReached(java.lang.String, int)
-
-
-
- -

-postSpeakableCancelled

-
-public void postSpeakableCancelled()
-
-
Utility function that generates a - SPEAKABLE_CANCELLED event and posts it - to the event queue. Eventually - fireSpeakableCancelled will be called - by dispatchSpeechEvent as a result - of this action. -

-

-
-
-
-
See Also:
fireSpeakableCancelled(javax.speech.synthesis.SpeakableEvent), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-fireSpeakableCancelled

-
-public void fireSpeakableCancelled(javax.speech.synthesis.SpeakableEvent event)
-
-
Utility function that sends a SPEAKABLE_CANCELLED event - to all speakable listeners. -

-

-
-
-
-
Parameters:
event - the SPEAKABLE_CANCELLED event
See Also:
postSpeakableCancelled()
-
-
-
- -

-postSpeakableEnded

-
-public void postSpeakableEnded()
-
-
Utility function that generates a - SPEAKABLE_ENDED event and posts it - to the event queue. Eventually - fireSpeakableEnded will be called - by dispatchSpeechEvent as a result - of this action. -

-

-
-
-
-
See Also:
fireSpeakableEnded(javax.speech.synthesis.SpeakableEvent), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-fireSpeakableEnded

-
-public void fireSpeakableEnded(javax.speech.synthesis.SpeakableEvent event)
-
-
Utility function that sends a SPEAKABLE_ENDED event - to all speakable listeners. -

-

-
-
-
-
Parameters:
event - the SPEAKABLE_ENDED event
See Also:
postSpeakableEnded()
-
-
-
- -

-postSpeakablePaused

-
-public void postSpeakablePaused()
-
-
Utility function that generates a - SPEAKABLE_PAUSED event and posts it - to the event queue. Eventually - fireSpeakablePaused will be called - by dispatchSpeechEvent as a result - of this action. -

-

-
-
-
-
See Also:
fireSpeakablePaused(javax.speech.synthesis.SpeakableEvent), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-fireSpeakablePaused

-
-public void fireSpeakablePaused(javax.speech.synthesis.SpeakableEvent event)
-
-
Utility function that sends a SPEAKABLE_PAUSED event - to all speakable listeners. -

-

-
-
-
-
Parameters:
event - the SPEAKABLE_PAUSED event
See Also:
postSpeakablePaused()
-
-
-
- -

-postSpeakableResumed

-
-public void postSpeakableResumed()
-
-
Utility function that generates a - SPEAKABLE_RESUMED event and posts it - to the event queue. Eventually - fireSpeakableResumed will be called - by dispatchSpeechEvent as a result - of this action. -

-

-
-
-
-
See Also:
fireSpeakableResumed(javax.speech.synthesis.SpeakableEvent), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-fireSpeakableResumed

-
-public void fireSpeakableResumed(javax.speech.synthesis.SpeakableEvent event)
-
-
Utility function that sends a SPEAKABLE_RESUMED event - to all speakable listeners. -

-

-
-
-
-
Parameters:
event - the SPEAKABLE_RESUMED event
See Also:
postSpeakableResumed()
-
-
-
- -

-postSpeakableStarted

-
-public void postSpeakableStarted()
-
-
Utility function that generates a - SPEAKABLE_STARTED event and posts it - to the event queue. Eventually - fireSpeakableStarted will be called - by dispatchSpeechEvent as a result - of this action. -

-

-
-
-
-
See Also:
fireSpeakableStarted(javax.speech.synthesis.SpeakableEvent), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-fireSpeakableStarted

-
-public void fireSpeakableStarted(javax.speech.synthesis.SpeakableEvent event)
-
-
Utility function that sends a SPEAKABLE_STARTED event - to all speakable listeners. -

-

-
-
-
-
Parameters:
event - the SPEAKABLE_STARTED event
See Also:
postSpeakableStarted()
-
-
-
- -

-postTopOfQueue

-
-public void postTopOfQueue()
-
-
Utility function that generates a - TOP_OF_QUEUE event and posts it - to the event queue. Eventually - fireTopOfQueue will be called - by dispatchSpeechEvent as a result - of this action. -

-

-
-
-
-
See Also:
fireTopOfQueue(javax.speech.synthesis.SpeakableEvent), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-fireTopOfQueue

-
-public void fireTopOfQueue(javax.speech.synthesis.SpeakableEvent event)
-
-
Utility function that sends a TOP_OF_QUEUE event - to all speakable listeners. -

-

-
-
-
-
Parameters:
event - the TOP_OF_QUEUE event
See Also:
postTopOfQueue()
-
-
-
- -

-postWordStarted

-
-public void postWordStarted(java.lang.String text,
-                            int wordStart,
-                            int wordEnd)
-
-
Utility function that generates a - WORD_STARTED event and posts it - to the event queue. Eventually - fireWordStarted will be called - by dispatchSpeechEvent as a result - of this action. -

-

-
-
-
-
See Also:
fireWordStarted(javax.speech.synthesis.SpeakableEvent), -dispatchSpeechEvent(javax.speech.SpeechEvent)
-
-
-
- -

-fireWordStarted

-
-public void fireWordStarted(javax.speech.synthesis.SpeakableEvent event)
-
-
Utility function that sends a WORD_STARTED event - to all speakable listeners. -

-

-
-
-
-
Parameters:
event - the WORD_STARTED event
See Also:
postWordStarted(java.lang.String, int, int)
-
-
-
- -

-dispatchSpeechEvent

-
-public void dispatchSpeechEvent(javax.speech.SpeechEvent event)
-
-
Dispatches a SpeechEvent. - The dispatcher should notify all EngineListeners - from this method. The SpeechEvent was added - via the various post methods of this class. -

-

-
Specified by:
dispatchSpeechEvent in interface SpeechEventDispatcher
-
-
-
Parameters:
event - the SpeechEvent to dispatch
See Also:
postMarkerReached(java.lang.String, int), -postSpeakableCancelled(), -postSpeakableEnded(), -postSpeakablePaused(), -postSpeakableResumed(), -postSpeakableStarted(), -postTopOfQueue(), -postWordStarted(java.lang.String, int, int)
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/synthesis/BaseVoice.html b/javadoc/com/sun/speech/engine/synthesis/BaseVoice.html deleted file mode 100644 index 450fb8b..0000000 --- a/javadoc/com/sun/speech/engine/synthesis/BaseVoice.html +++ /dev/null @@ -1,569 +0,0 @@ - - - - - - -BaseVoice (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.engine.synthesis -
-Class BaseVoice

-
-java.lang.Object
-  extended byjavax.speech.synthesis.Voice
-      extended bycom.sun.speech.engine.synthesis.BaseVoice
-
-
-
All Implemented Interfaces:
java.lang.Cloneable
-
-
-
Direct Known Subclasses:
FreeTTSVoice
-
-
-
-
public class BaseVoice
extends javax.speech.synthesis.Voice
- -

-Extends the JSAPI 1.0 Voice class to encapsulate - engine-specific data. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-protected  floatdefaultPitch - -
-          The default pitch
-protected  floatdefaultPitchRange - -
-          The default pitch range
-protected  floatdefaultSpeakingRate - -
-          The default speaking rate
-protected  floatdefaultVolume - -
-          The default volume
-protected  java.lang.StringvoiceId - -
-          The id of the voice
- - - - - - - -
Fields inherited from class javax.speech.synthesis.Voice
AGE_CHILD, AGE_DONT_CARE, AGE_MIDDLE_ADULT, AGE_NEUTRAL, AGE_OLDER_ADULT, AGE_TEENAGER, AGE_YOUNGER_ADULT, GENDER_DONT_CARE, GENDER_FEMALE, GENDER_MALE, GENDER_NEUTRAL
-  - - - - - - - - - - -
-Constructor Summary
BaseVoice(java.lang.String id, - java.lang.String name, - int gender, - int age, - java.lang.String style, - float pitch, - float pitchRange, - float speakingRate, - float volume) - -
-          Class constructor.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.Objectclone() - -
-          Creates a copy of this voice.
- java.lang.StringgetId() - -
-          Gets the id for this voice.
- floatgetPitch() - -
-          Gets the pitch for this voice
- floatgetPitchRange() - -
-          Gets the pitch range for this voice
- floatgetSpeakingRate() - -
-          Gets the speaking rate for this voice
- floatgetVolume() - -
-          Gets the volume for this voice
- voidsetId(java.lang.String id) - -
-          Sets the id for this voice.
- java.lang.StringtoString() - -
-          Converts a Voice to a printable string.
- - - - - - - -
Methods inherited from class javax.speech.synthesis.Voice
equals, getAge, getGender, getName, getStyle, match, setAge, setGender, setName, setStyle
- - - - - - - -
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-voiceId

-
-protected java.lang.String voiceId
-
-
The id of the voice -

-

-
-
-
- -

-defaultPitch

-
-protected float defaultPitch
-
-
The default pitch -

-

-
-
-
- -

-defaultPitchRange

-
-protected float defaultPitchRange
-
-
The default pitch range -

-

-
-
-
- -

-defaultSpeakingRate

-
-protected float defaultSpeakingRate
-
-
The default speaking rate -

-

-
-
-
- -

-defaultVolume

-
-protected float defaultVolume
-
-
The default volume -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-BaseVoice

-
-public BaseVoice(java.lang.String id,
-                 java.lang.String name,
-                 int gender,
-                 int age,
-                 java.lang.String style,
-                 float pitch,
-                 float pitchRange,
-                 float speakingRate,
-                 float volume)
-
-
Class constructor. The age and gender parameters are defined in - Voice. -

-

Parameters:
id - the id
name - the name
gender - the gender
age - the age
style - the style
pitch - the baseline pitch in Hertz
pitchRange - the pitch range in Hertz
speakingRate - the speaking rate in words per minute
volume - the volume expressed between 0.0 and 1.0, - inclusive
- - - - - - - - -
-Method Detail
- -

-getId

-
-public java.lang.String getId()
-
-
Gets the id for this voice. Should be unique for a - synthesizer. -

-

- -
Returns:
the id for this voice
See Also:
setId(java.lang.String)
-
-
-
- -

-setId

-
-public void setId(java.lang.String id)
-
-
Sets the id for this voice. -

-

-
Parameters:
id - the new id
See Also:
getId()
-
-
-
- -

-getPitch

-
-public float getPitch()
-
-
Gets the pitch for this voice -

-

- -
Returns:
the pitch
-
-
-
- -

-getPitchRange

-
-public float getPitchRange()
-
-
Gets the pitch range for this voice -

-

- -
Returns:
the pitch range
-
-
-
- -

-getSpeakingRate

-
-public float getSpeakingRate()
-
-
Gets the speaking rate for this voice -

-

- -
Returns:
the speaking rate
-
-
-
- -

-getVolume

-
-public float getVolume()
-
-
Gets the volume for this voice -

-

- -
Returns:
the volume
-
-
-
- -

-clone

-
-public java.lang.Object clone()
-
-
Creates a copy of this voice. -

-

- -
Returns:
a clone of this voice
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Converts a Voice to a printable string. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/synthesis/JSMLParser.html b/javadoc/com/sun/speech/engine/synthesis/JSMLParser.html deleted file mode 100644 index bf0cca1..0000000 --- a/javadoc/com/sun/speech/engine/synthesis/JSMLParser.html +++ /dev/null @@ -1,327 +0,0 @@ - - - - - - -JSMLParser (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.engine.synthesis -
-Class JSMLParser

-
-java.lang.Object
-  extended bycom.sun.speech.engine.synthesis.JSMLParser
-
-
-
-
public class JSMLParser
extends java.lang.Object
- -

-Parses a JSML 0.6 document and returns a DOM. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
JSMLParser(java.lang.String jsmlText, - boolean validate) - -
-          Creates a new JSMLParser for the given JSML - text.
JSMLParser(java.net.URL jsmlSource, - boolean validate) - -
-          Creates a new JSMLParser for the given URL. -
-  - - - - - - - - - - - - - - - -
-Method Summary
- org.w3c.dom.DocumentgetDocument() - -
-          Gets the document for this parser.
-protected  org.w3c.dom.Documentparse(org.xml.sax.InputSource source, - boolean validate) - -
-          Parses the source and optionally validates it.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-JSMLParser

-
-public JSMLParser(java.lang.String jsmlText,
-                  boolean validate)
-           throws javax.speech.synthesis.JSMLException
-
-
Creates a new JSMLParser for the given JSML - text. Parses the text immediately and return any errors. - The resulting DOM Document can be retrieved via - getDocument. - The optional validate will do validation of the JSML text. - This is typically not used since JSML doesn't require validation. -

-

Parameters:
jsmlText - the JSML text
validate - if true, validate the JSML text -
Throws: -
javax.speech.synthesis.JSMLException - if the JSML text contains errors
See Also:
getDocument()
-
- -

-JSMLParser

-
-public JSMLParser(java.net.URL jsmlSource,
-                  boolean validate)
-           throws javax.speech.synthesis.JSMLException,
-                  java.io.IOException
-
-
Creates a new JSMLParser for the given URL. - Parses the text immediately and returns any errors. - The resulting DOM Document can be retrieved via - getDocument. - The optional validate will do validation of the JSML text. - This is typically not used since JSML doesn't require validation. -

-

Parameters:
jsmlSource - the URL containing JSML text
validate - if true, validate the JSML text -
Throws: -
javax.speech.synthesis.JSMLException - if the JSML text contains errors -
java.io.IOException - if problems encountered with URL
See Also:
getDocument()
- - - - - - - - -
-Method Detail
- -

-getDocument

-
-public org.w3c.dom.Document getDocument()
-
-
Gets the document for this parser. -

-

- -
Returns:
a DOM
-
-
-
- -

-parse

-
-protected org.w3c.dom.Document parse(org.xml.sax.InputSource source,
-                                     boolean validate)
-                              throws javax.speech.synthesis.JSMLException,
-                                     java.io.IOException
-
-
Parses the source and optionally validates it. -

-

-
Parameters:
source - the JSML text
validate - if true, validate the JSML text -
Throws: -
javax.speech.synthesis.JSMLException - if the JSML text contains errors -
java.io.IOException - if problems encountered with source
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/synthesis/SynthesizerMonitor.html b/javadoc/com/sun/speech/engine/synthesis/SynthesizerMonitor.html deleted file mode 100644 index 1586e20..0000000 --- a/javadoc/com/sun/speech/engine/synthesis/SynthesizerMonitor.html +++ /dev/null @@ -1,484 +0,0 @@ - - - - - - -SynthesizerMonitor (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.engine.synthesis -
-Class SynthesizerMonitor

-
-java.lang.Object
-  extended bycom.sun.speech.engine.EngineMonitor
-      extended bycom.sun.speech.engine.synthesis.SynthesizerMonitor
-
-
-
-
public class SynthesizerMonitor
extends EngineMonitor
- -

-Simple GUI that monitors events and state changes of an - Synthesizer. Used for debugging and testing purposes. -

- -

-


- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes inherited from class com.sun.speech.engine.EngineMonitor
EngineMonitor.EngineMonitorEngineListener
-  - - - - - - - - - - - - - - - - - - - -
-Field Summary
-protected  javax.swing.JLabelqueueEmptyLabel - -
-          Label containing "queue empty"
-protected  javax.swing.JLabelqueueNotEmptyLabel - -
-          Label containing "queue not empty"
-protected  javax.swing.JLabelqueueSizeLabel - -
-          Label containing "queue size"
- - - - - - - -
Fields inherited from class com.sun.speech.engine.EngineMonitor
allocatedLabel, allocatingResourcesLabel, deallocatedLabel, deallocatingResourcesLabel, engine, engineListener, eventPanel, pausedLabel, resumedLabel, statePanel
-  - - - - - - - - - - -
-Constructor Summary
SynthesizerMonitor(javax.speech.synthesis.Synthesizer synth) - -
-          Class constructor.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  java.lang.StringengineStateString(long state) - -
-          Returns a String representing the - state.
-protected  javax.speech.EngineListenergetEngineListener() - -
-          Creates the engine listener if necessary, and then returns it. -
- java.awt.ComponentgetStatePanel() - -
-          Gets the panel containing the labels for representing the - current engine state.
-protected  voidhandleEvent(javax.speech.EngineEvent e) - -
-          Handles an event from the engine.
-protected  voidupdateGUIComponents() - -
-          Checks the current state of the engine and makes sure the GUI - components reflect this state accurately.
- - - - - - - -
Methods inherited from class com.sun.speech.engine.EngineMonitor
appendBuffer, getEventPanel, updateEngineStateComponents
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-queueEmptyLabel

-
-protected javax.swing.JLabel queueEmptyLabel
-
-
Label containing "queue empty" -

-

-
-
-
- -

-queueNotEmptyLabel

-
-protected javax.swing.JLabel queueNotEmptyLabel
-
-
Label containing "queue not empty" -

-

-
-
-
- -

-queueSizeLabel

-
-protected javax.swing.JLabel queueSizeLabel
-
-
Label containing "queue size" -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-SynthesizerMonitor

-
-public SynthesizerMonitor(javax.speech.synthesis.Synthesizer synth)
-
-
Class constructor. -

-

Parameters:
synth - the Synthesizer to monitor
- - - - - - - - -
-Method Detail
- -

-getEngineListener

-
-protected javax.speech.EngineListener getEngineListener()
-
-
Description copied from class: EngineMonitor
-
Creates the engine listener if necessary, and then returns it. - There should be only one. -

-

-
Overrides:
getEngineListener in class EngineMonitor
-
-
- -
Returns:
the engine listener
-
-
-
- -

-getStatePanel

-
-public java.awt.Component getStatePanel()
-
-
Gets the panel containing the labels for representing the - current engine state. This augments the super class's panel - by adding synthesizer queue state. -

-

-
Overrides:
getStatePanel in class EngineMonitor
-
-
- -
Returns:
the panel containing the labels for representing the - current engine state.
-
-
-
- -

-updateGUIComponents

-
-protected void updateGUIComponents()
-
-
Description copied from class: EngineMonitor
-
Checks the current state of the engine and makes sure the GUI - components reflect this state accurately. -

-

-
Overrides:
updateGUIComponents in class EngineMonitor
-
-
-
-
-
-
- -

-engineStateString

-
-protected java.lang.String engineStateString(long state)
-
-
Description copied from class: EngineMonitor
-
Returns a String representing the - state. -

-

-
Overrides:
engineStateString in class EngineMonitor
-
-
-
Parameters:
state - the state to turn into a String -
Returns:
a String representing the - state
-
-
-
- -

-handleEvent

-
-protected void handleEvent(javax.speech.EngineEvent e)
-
-
Description copied from class: EngineMonitor
-
Handles an event from the engine. -

-

-
Overrides:
handleEvent in class EngineMonitor
-
-
-
Parameters:
e - the event from the engine
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/synthesis/SynthesizerSelector.html b/javadoc/com/sun/speech/engine/synthesis/SynthesizerSelector.html deleted file mode 100644 index 6bc20ce..0000000 --- a/javadoc/com/sun/speech/engine/synthesis/SynthesizerSelector.html +++ /dev/null @@ -1,266 +0,0 @@ - - - - - - -SynthesizerSelector (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.engine.synthesis -
-Class SynthesizerSelector

-
-java.lang.Object
-  extended bycom.sun.speech.engine.synthesis.SynthesizerSelector
-
-
-
-
public class SynthesizerSelector
extends java.lang.Object
- -

-GUI that displays a list of Synthesizer names in a - dialog box. When the user makes a selection, the selected - SynthesizerModeDesc is returned to the caller. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
SynthesizerSelector() - -
-           
-  - - - - - - - - - - - -
-Method Summary
-static javax.speech.synthesis.SynthesizerModeDescgetSynthesizerModeDesc(java.awt.Component component, - java.lang.String appName) - -
-          Asks Central for a list of available synthesizers. -
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-SynthesizerSelector

-
-public SynthesizerSelector()
-
-
- - - - - - - - -
-Method Detail
- -

-getSynthesizerModeDesc

-
-public static javax.speech.synthesis.SynthesizerModeDesc getSynthesizerModeDesc(java.awt.Component component,
-                                                                                java.lang.String appName)
-
-
Asks Central for a list of available synthesizers. - If there are none, returns null. If there is only - one, returns it. Otherwise, pops up an input dialog that gives - the user a choice. -

-

-
Parameters:
component - the component for JOptionPane.showInputDialog
appName - the title for the input dialog -
Returns:
a SynthesizerModeDesc representing the - synthesizer to use.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/synthesis/VoiceList.html b/javadoc/com/sun/speech/engine/synthesis/VoiceList.html deleted file mode 100644 index 883733c..0000000 --- a/javadoc/com/sun/speech/engine/synthesis/VoiceList.html +++ /dev/null @@ -1,409 +0,0 @@ - - - - - - -VoiceList (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.engine.synthesis -
-Class VoiceList

-
-java.lang.Object
-  extended bycom.sun.speech.engine.synthesis.VoiceList
-
-
-
-
public class VoiceList
extends java.lang.Object
- -

-Maintains a list of JSAPI 1.0 Voices. -

- -

-


- -

- - - - - - - - - - - - - - -
-Field Summary
-protected  java.util.ListvoiceList - -
-          The list of Voices.
-  - - - - - - - - - - - - - -
-Constructor Summary
VoiceList() - -
-          Class constructor.
VoiceList(javax.speech.synthesis.SynthesizerModeDesc desc) - -
-          Constructs from the voice list in desc. -
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddVoice(BaseVoice voice) - -
-          Adds a voice to the list.
- BaseVoicegetVoiceById(java.lang.String id) - -
-          Gets a voice by its identifier.
- java.lang.StringgetVoiceId(java.lang.String name, - int gender, - int age, - int variant) - -
-          Gets id for voice based on parameters provided in JSML. -
- java.lang.StringgetVoiceId(javax.speech.synthesis.Voice voice, - int variant) - -
-          Gets the id of a voice.
- voidremoveVoice(BaseVoice voice) - -
-          Removes a voice from the list.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-voiceList

-
-protected final java.util.List voiceList
-
-
The list of Voices. -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-VoiceList

-
-public VoiceList()
-
-
Class constructor. -

-

-
- -

-VoiceList

-
-public VoiceList(javax.speech.synthesis.SynthesizerModeDesc desc)
-
-
Constructs from the voice list in desc. - Requires that all voices in mode desc be instances of - BaseVoice. -

-

Parameters:
desc - the SynthesizerModeDesc to get voices from
- - - - - - - - -
-Method Detail
- -

-addVoice

-
-public void addVoice(BaseVoice voice)
-
-
Adds a voice to the list. -

-

-
Parameters:
voice - the voice to add
See Also:
removeVoice(com.sun.speech.engine.synthesis.BaseVoice)
-
-
-
- -

-removeVoice

-
-public void removeVoice(BaseVoice voice)
-
-
Removes a voice from the list. -

-

-
Parameters:
voice - the voice to remove
See Also:
addVoice(com.sun.speech.engine.synthesis.BaseVoice)
-
-
-
- -

-getVoiceById

-
-public BaseVoice getVoiceById(java.lang.String id)
-
-
Gets a voice by its identifier. -

-

-
Parameters:
id - the voice id -
Returns:
the voice if it exists; otherwise null
See Also:
BaseVoice.getId()
-
-
-
- -

-getVoiceId

-
-public java.lang.String getVoiceId(javax.speech.synthesis.Voice voice,
-                                   int variant)
-
-
Gets the id of a voice. -

-

-
Parameters:
voice - the voice
variant - the voice variant -
Returns:
the id of the voice
-
-
-
- -

-getVoiceId

-
-public java.lang.String getVoiceId(java.lang.String name,
-                                   int gender,
-                                   int age,
-                                   int variant)
-
-
Gets id for voice based on parameters provided in JSML. - Priority to voice name. Then try to match age and gender plus - variant. -

-

-
Parameters:
name - the voice name
gender - the gender
age - the age
variant - the variant -
Returns:
the voice id
See Also:
BaseVoice, -Voice
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/synthesis/package-frame.html b/javadoc/com/sun/speech/engine/synthesis/package-frame.html deleted file mode 100644 index c57a837..0000000 --- a/javadoc/com/sun/speech/engine/synthesis/package-frame.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - -com.sun.speech.engine.synthesis (FreeTTS 1.2) - - - - - - - - - - - -com.sun.speech.engine.synthesis - - - - -
-Classes  - -
-BaseSynthesizer -
-BaseSynthesizerProperties -
-BaseSynthesizerQueueItem -
-BaseVoice -
-JSMLParser -
-SynthesizerMonitor -
-SynthesizerSelector -
-VoiceList
- - - - diff --git a/javadoc/com/sun/speech/engine/synthesis/package-summary.html b/javadoc/com/sun/speech/engine/synthesis/package-summary.html deleted file mode 100644 index 181892e..0000000 --- a/javadoc/com/sun/speech/engine/synthesis/package-summary.html +++ /dev/null @@ -1,204 +0,0 @@ - - - - - - -com.sun.speech.engine.synthesis (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.sun.speech.engine.synthesis -

-Provides a JSML 0.6 parser as well as a partial and unsupported -support -of interfaces in the javax.speech.synthesis package for JSAPI 1.0. -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
BaseSynthesizerSupports the JSAPI 1.0 Synthesizer interface that - performs the core non-engine-specific functions. - -
BaseSynthesizerPropertiesSupports the JSAPI 1.0 SynthesizerProperties - interface.
BaseSynthesizerQueueItemExtends the JSAPI 1.0 SynthesizerQueueItem with handling - for JSML, generation of engine-specific text, and other features.
BaseVoiceExtends the JSAPI 1.0 Voice class to encapsulate - engine-specific data.
JSMLParserParses a JSML 0.6 document and returns a DOM.
SynthesizerMonitorSimple GUI that monitors events and state changes of an - Synthesizer.
SynthesizerSelectorGUI that displays a list of Synthesizer names in a - dialog box.
VoiceListMaintains a list of JSAPI 1.0 Voices.
-  - -

-

-Package com.sun.speech.engine.synthesis Description -

- -

-

Provides a JSML 0.6 parser as well as a partial and unsupported -support -of interfaces in the javax.speech.synthesis package for JSAPI 1.0. Note this is -not a complete implementation of a speech engine. It merely provides -skeletal support for speech engines and it meant to be an example for -speech engine developers wishing to support JSAPI 1.0.

-

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/synthesis/package-tree.html b/javadoc/com/sun/speech/engine/synthesis/package-tree.html deleted file mode 100644 index 29efd76..0000000 --- a/javadoc/com/sun/speech/engine/synthesis/package-tree.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - -com.sun.speech.engine.synthesis Class Hierarchy (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.sun.speech.engine.synthesis -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/synthesis/text/TextEngineCentral.html b/javadoc/com/sun/speech/engine/synthesis/text/TextEngineCentral.html deleted file mode 100644 index bacbbe6..0000000 --- a/javadoc/com/sun/speech/engine/synthesis/text/TextEngineCentral.html +++ /dev/null @@ -1,276 +0,0 @@ - - - - - - -TextEngineCentral (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.engine.synthesis.text -
-Class TextEngineCentral

-
-java.lang.Object
-  extended bycom.sun.speech.engine.synthesis.text.TextEngineCentral
-
-
-
All Implemented Interfaces:
javax.speech.EngineCentral
-
-
-
-
public class TextEngineCentral
extends java.lang.Object
implements javax.speech.EngineCentral
- -

-Supports the JSAPI 1.0 EngineCentral interface for a - synthesizer that sends text to standard out. Place the following - line into the speech.properties file so that a - TextSynthesizer can be created. - -

- TextSynthEngineCentral=com.sun.speech.engine.synthesis.text.TextEngineCentral
- 
-

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
TextEngineCentral() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- javax.speech.EngineListcreateEngineList(javax.speech.EngineModeDesc require) - -
-          Returns a list containing a single reference to a - TextSynthesizerModeDesc - if the required features match those of the - TextSynthesizer.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-TextEngineCentral

-
-public TextEngineCentral()
-
-
- - - - - - - - -
-Method Detail
- -

-createEngineList

-
-public javax.speech.EngineList createEngineList(javax.speech.EngineModeDesc require)
-
-
Returns a list containing a single reference to a - TextSynthesizerModeDesc - if the required features match those of the - TextSynthesizer. -

-

-
Specified by:
createEngineList in interface javax.speech.EngineCentral
-
-
-
Parameters:
require - the required characteristics; null - always matches
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/synthesis/text/TextSynthesizer.OutputHandler.html b/javadoc/com/sun/speech/engine/synthesis/text/TextSynthesizer.OutputHandler.html deleted file mode 100644 index 0bebe97..0000000 --- a/javadoc/com/sun/speech/engine/synthesis/text/TextSynthesizer.OutputHandler.html +++ /dev/null @@ -1,878 +0,0 @@ - - - - - - -TextSynthesizer.OutputHandler (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.engine.synthesis.text -
-Class TextSynthesizer.OutputHandler

-
-java.lang.Object
-  extended byjava.lang.Thread
-      extended bycom.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler
-
-
-
All Implemented Interfaces:
java.lang.Runnable
-
-
-
Enclosing class:
TextSynthesizer
-
-
-
-
public class TextSynthesizer.OutputHandler
extends java.lang.Thread
- -

-The output device for a TextSynthesizer. Sends - all text to standard out. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-protected static intCANCEL - -
-           
-protected static intCANCEL_ALL - -
-           
-protected static intCANCEL_COMPLETE - -
-           
-protected  intcommand - -
-          For the item at the top of the queue, the output command reflects - whether item should be PAUSE, RESUME, CANCEL.
-protected  java.lang.ObjectcommandLock - -
-          Object on which accesses to the command must synchronize.
-protected  java.lang.ObjectcurrentItemLock - -
-          Object to lock on for setting the current item.
-protected  booleandone - -
-           
-protected static intPAUSE - -
-           
-protected  java.util.Vectorqueue - -
-          Internal speech output queue that will contain a set of - TextSynthesizerQueueItems.
-protected static intRESUME - -
-           
- - - - - - - -
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-  - - - - - - - - - - -
-Constructor Summary
TextSynthesizer.OutputHandler() - -
-          Class constructor.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidappendQueue(TextSynthesizerQueueItem item) - -
-          Adds an item to be spoken to the output queue.
-protected  voidcancelAllItems() - -
-          Cancels all items.
-protected  voidcancelItem() - -
-          Cancels the current item.
-protected  voidcancelItem(int cancelType) - -
-          Cancels all or just the current item.
-protected  voidcancelItem(java.lang.Object source) - -
-          Cancels the given item.
- java.util.EnumerationenumerateQueue() - -
-          Returns the current queue.
-protected  TextSynthesizerQueueItemgetQueueItem() - -
-          Returns, but does not remove, the first item on the queue.
-protected  booleanisCommand(java.lang.String engineText, - int index) - -
-          Determines if the next thing in line is a command.
- booleanisQueueEmpty() - -
-          Determines if the queue is empty.
-protected  booleanisWhitespace(java.lang.String engineText, - int index) - -
-          Determines if there is whitespace at the current index.
-protected  intoutputItem(TextSynthesizerQueueItem item) - -
-          Starts outputting the item.
-protected  voidpauseItem() - -
-          Pauses the output.
-protected  intprocessCommand(TextSynthesizerQueueItem item, - java.lang.String engineText, - int index) - -
-          Attempts to process a command starting at the next character - in the synthesizer text.
-protected  intprocessNormalText(TextSynthesizerQueueItem item, - java.lang.String engineText, - int index) - -
-          Processes next set of characters in output up to whitespace - or next '/' that could indicate the start of a command.
-protected  intprocessWhitespace(java.lang.String engineText, - int index) - -
-          Processes whitespace at the current index in the synthesizer text. -
-protected  voidresumeItem() - -
-          Resumes the output.
- voidrun() - -
-          Controls output of text until terminate is called.
- voidterminate() - -
-          Stops execution of the Thread.
- - - - - - - -
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-done

-
-protected boolean done
-
-
-
-
-
- -

-queue

-
-protected java.util.Vector queue
-
-
Internal speech output queue that will contain a set of - TextSynthesizerQueueItems. -

-

-
See Also:
BaseSynthesizerQueueItem
-
-
- -

-currentItemLock

-
-protected java.lang.Object currentItemLock
-
-
Object to lock on for setting the current item. -

-

-
-
-
- -

-command

-
-protected int command
-
-
For the item at the top of the queue, the output command reflects - whether item should be PAUSE, RESUME, CANCEL. -

-

-
-
-
- -

-PAUSE

-
-protected static final int PAUSE
-
-
-
See Also:
Constant Field Values
-
-
- -

-RESUME

-
-protected static final int RESUME
-
-
-
See Also:
Constant Field Values
-
-
- -

-CANCEL

-
-protected static final int CANCEL
-
-
-
See Also:
Constant Field Values
-
-
- -

-CANCEL_ALL

-
-protected static final int CANCEL_ALL
-
-
-
See Also:
Constant Field Values
-
-
- -

-CANCEL_COMPLETE

-
-protected static final int CANCEL_COMPLETE
-
-
-
See Also:
Constant Field Values
-
-
- -

-commandLock

-
-protected java.lang.Object commandLock
-
-
Object on which accesses to the command must synchronize. -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-TextSynthesizer.OutputHandler

-
-public TextSynthesizer.OutputHandler()
-
-
Class constructor. -

-

- - - - - - - - -
-Method Detail
- -

-terminate

-
-public void terminate()
-
-
Stops execution of the Thread. -

-

-
-
-
-
- -

-enumerateQueue

-
-public java.util.Enumeration enumerateQueue()
-
-
Returns the current queue. -

-

- -
Returns:
the current queue
-
-
-
- -

-isQueueEmpty

-
-public boolean isQueueEmpty()
-
-
Determines if the queue is empty. -

-

- -
Returns:
true if the queue is empty
-
-
-
- -

-appendQueue

-
-public void appendQueue(TextSynthesizerQueueItem item)
-
-
Adds an item to be spoken to the output queue. -

-

-
Parameters:
item - the item to be added
-
-
-
- -

-cancelItem

-
-protected void cancelItem()
-
-
Cancels the current item. -

-

-
-
-
-
- -

-cancelAllItems

-
-protected void cancelAllItems()
-
-
Cancels all items. -

-

-
-
-
-
- -

-cancelItem

-
-protected void cancelItem(int cancelType)
-
-
Cancels all or just the current item. -

-

-
Parameters:
cancelType - CANCEL or CANCEL_ALL
-
-
-
- -

-cancelItem

-
-protected void cancelItem(java.lang.Object source)
-
-
Cancels the given item. -

-

-
Parameters:
source - the item to cancel
-
-
-
- -

-pauseItem

-
-protected void pauseItem()
-
-
Pauses the output. -

-

-
-
-
-
- -

-resumeItem

-
-protected void resumeItem()
-
-
Resumes the output. -

-

-
-
-
-
- -

-run

-
-public void run()
-
-
Controls output of text until terminate is called. -

-

-
See Also:
terminate()
-
-
-
- -

-getQueueItem

-
-protected TextSynthesizerQueueItem getQueueItem()
-
-
Returns, but does not remove, the first item on the queue. -

-

- -
Returns:
the first item on the queue
-
-
-
- -

-outputItem

-
-protected int outputItem(TextSynthesizerQueueItem item)
-
-
Starts outputting the item. Returns the current command. -

-

-
Parameters:
item - to be output -
Returns:
the current command
-
-
-
- -

-isCommand

-
-protected boolean isCommand(java.lang.String engineText,
-                            int index)
-
-
Determines if the next thing in line is a command. -

-

-
Parameters:
engineText - the text containing embedded commands
index - the current index -
Returns:
true if the next thing in line is a command
-
-
-
- -

-processCommand

-
-protected int processCommand(TextSynthesizerQueueItem item,
-                             java.lang.String engineText,
-                             int index)
-
-
Attempts to process a command starting at the next character - in the synthesizer text. Returns the new index. -

-

-
Parameters:
item - the current queue item
engineText - the text containing embedded commands
index - the current index -
Returns:
the new index
-
-
-
- -

-isWhitespace

-
-protected boolean isWhitespace(java.lang.String engineText,
-                               int index)
-
-
Determines if there is whitespace at the current index. -

-

-
Parameters:
engineText - the text containing embedded commands
index - the current index -
Returns:
true if there is whitespace at the - current index
-
-
-
- -

-processWhitespace

-
-protected int processWhitespace(java.lang.String engineText,
-                                int index)
-
-
Processes whitespace at the current index in the synthesizer text. - If next character is not whitespace, does nothing. - If next character is whitespace, displays it and pauses - briefly to simulate the speaking rate. -

-

-
Parameters:
engineText - the text containing embedded commands
index - the current index -
Returns:
the new index
-
-
-
- -

-processNormalText

-
-protected int processNormalText(TextSynthesizerQueueItem item,
-                                java.lang.String engineText,
-                                int index)
-
-
Processes next set of characters in output up to whitespace - or next '/' that could indicate the start of a command. -

-

-
Parameters:
item - the current queue item
engineText - the text containing embedded commands
index - the current index -
Returns:
the new index
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/synthesis/text/TextSynthesizer.html b/javadoc/com/sun/speech/engine/synthesis/text/TextSynthesizer.html deleted file mode 100644 index 7028987..0000000 --- a/javadoc/com/sun/speech/engine/synthesis/text/TextSynthesizer.html +++ /dev/null @@ -1,593 +0,0 @@ - - - - - - -TextSynthesizer (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.engine.synthesis.text -
-Class TextSynthesizer

-
-java.lang.Object
-  extended bycom.sun.speech.engine.BaseEngine
-      extended bycom.sun.speech.engine.synthesis.BaseSynthesizer
-          extended bycom.sun.speech.engine.synthesis.text.TextSynthesizer
-
-
-
All Implemented Interfaces:
javax.speech.Engine, SpeechEventDispatcher, javax.speech.synthesis.Synthesizer
-
-
-
-
public class TextSynthesizer
extends BaseSynthesizer
- -

-Supports a simple text-output-only JSAPI 1.0 Synthesizer. - Intended for demonstration purposes for those developing JSAPI - implementations. It may also be useful to developers who want a - JSAPI synthesizer that doesn't produce any noise. -

- -

-


- -

- - - - - - - - - - - -
-Nested Class Summary
- classTextSynthesizer.OutputHandler - -
-          The output device for a TextSynthesizer.
-  - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class com.sun.speech.engine.synthesis.BaseSynthesizer
speakableListeners, voiceList
- - - - - - - -
Fields inherited from class com.sun.speech.engine.BaseEngine
audioManager, CLEAR_ALL_STATE, engineListeners, engineModeDesc, engineProperties, engineState, engineStateLock
- - - - - - - -
Fields inherited from interface javax.speech.synthesis.Synthesizer
QUEUE_EMPTY, QUEUE_NOT_EMPTY
- - - - - - - -
Fields inherited from interface javax.speech.Engine
ALLOCATED, ALLOCATING_RESOURCES, DEALLOCATED, DEALLOCATING_RESOURCES, PAUSED, RESUMED
-  - - - - - - - - - - -
-Constructor Summary
TextSynthesizer(javax.speech.synthesis.SynthesizerModeDesc desc) - -
-          Creates a new Synthesizer in the DEALLOCATED state.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  voidappendQueue(BaseSynthesizerQueueItem item) - -
-          Puts an item on the speaking queue and sends a queue updated - event.
- voidcancel() - -
-          Cancels the item at the top of the queue.
- voidcancel(java.lang.Object source) - -
-          Cancels a specific object on the queue.
- voidcancelAll() - -
-          Cancels all items on the output queue.
-protected  BaseSynthesizerQueueItemcreateQueueItem() - -
-          Creates a TextSynthesizerQueueItem.
- java.util.EnumerationenumerateQueue() - -
-          Returns an enumeration of the queue.
-protected  voidhandleAllocate() - -
-          Starts the output thread.
-protected  voidhandleDeallocate() - -
-          Stops the output thread.
-protected  voidhandlePause() - -
-          Pauses the output.
-protected  voidhandleResume() - -
-          Resumes the output.
- - - - - - - -
Methods inherited from class com.sun.speech.engine.synthesis.BaseSynthesizer
addSpeakableListener, createEngineProperties, dispatchSpeechEvent, fireQueueEmptied, fireQueueUpdated, getSynthesizerProperties, getVoiceList, phoneme, postQueueEmptied, postQueueUpdated, removeSpeakableListener, speak, speak, speak, speakPlainText, stateToString
- - - - - - - -
Methods inherited from class com.sun.speech.engine.BaseEngine
addEngineListener, allocate, checkEngineState, deallocate, fireEngineAllocated, fireEngineAllocatingResources, fireEngineDeallocated, fireEngineDeallocatingResources, fireEnginePaused, fireEngineResumed, getAudioManager, getEngineModeDesc, getEngineProperties, getEngineState, getVocabManager, pause, postEngineAllocated, postEngineAllocatingResources, postEngineDeallocated, postEngineDeallocatingResources, postEnginePaused, postEngineResumed, removeEngineListener, resume, setEngineModeDesc, setEngineState, testEngineState, toString, waitEngineState
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface javax.speech.Engine
addEngineListener, allocate, deallocate, getAudioManager, getEngineModeDesc, getEngineProperties, getEngineState, getVocabManager, pause, removeEngineListener, resume, testEngineState, waitEngineState
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-TextSynthesizer

-
-public TextSynthesizer(javax.speech.synthesis.SynthesizerModeDesc desc)
-
-
Creates a new Synthesizer in the DEALLOCATED state. -

-

Parameters:
desc - the operating mode
- - - - - - - - -
-Method Detail
- -

-handleAllocate

-
-protected void handleAllocate()
-
-
Starts the output thread. -

-

-
Specified by:
handleAllocate in class BaseEngine
-
-
-
See Also:
BaseEngine.allocate()
-
-
-
- -

-handleDeallocate

-
-protected void handleDeallocate()
-
-
Stops the output thread. -

-

-
Specified by:
handleDeallocate in class BaseEngine
-
-
-
-
-
-
- -

-createQueueItem

-
-protected BaseSynthesizerQueueItem createQueueItem()
-
-
Creates a TextSynthesizerQueueItem. -

-

-
Overrides:
createQueueItem in class BaseSynthesizer
-
-
- -
Returns:
a TextSynthesizerQueueItem
-
-
-
- -

-enumerateQueue

-
-public java.util.Enumeration enumerateQueue()
-                                     throws javax.speech.EngineStateError
-
-
Returns an enumeration of the queue. -

-

-
Specified by:
enumerateQueue in interface javax.speech.synthesis.Synthesizer
Specified by:
enumerateQueue in class BaseSynthesizer
-
-
- -
Returns:
an Enumeration of the speech output queue or - null. -
Throws: -
javax.speech.EngineStateError - if this Synthesizer in the DEALLOCATED or - DEALLOCATING_RESOURCES states
-
-
-
- -

-appendQueue

-
-protected void appendQueue(BaseSynthesizerQueueItem item)
-
-
Puts an item on the speaking queue and sends a queue updated - event. Expects only TextSynthesizerQueueItems. -

-

-
Specified by:
appendQueue in class BaseSynthesizer
-
-
-
Parameters:
item - the item to add to the queue
-
-
-
- -

-cancel

-
-public void cancel()
-            throws javax.speech.EngineStateError
-
-
Cancels the item at the top of the queue. -

-

-
Specified by:
cancel in interface javax.speech.synthesis.Synthesizer
Specified by:
cancel in class BaseSynthesizer
-
-
- -
Throws: -
javax.speech.EngineStateError - if this Synthesizer in the DEALLOCATED or - DEALLOCATING_RESOURCES states
-
-
-
- -

-cancel

-
-public void cancel(java.lang.Object source)
-            throws java.lang.IllegalArgumentException,
-                   javax.speech.EngineStateError
-
-
Cancels a specific object on the queue. -

-

-
Specified by:
cancel in interface javax.speech.synthesis.Synthesizer
Specified by:
cancel in class BaseSynthesizer
-
-
-
Parameters:
source - object to be removed from the speech output queue -
Throws: -
java.lang.IllegalArgumentException - if the source object is not found in the speech output queue. -
javax.speech.EngineStateError - if this Synthesizer in the DEALLOCATED or - DEALLOCATING_RESOURCES states
-
-
-
- -

-cancelAll

-
-public void cancelAll()
-               throws javax.speech.EngineStateError
-
-
Cancels all items on the output queue. -

-

-
Specified by:
cancelAll in interface javax.speech.synthesis.Synthesizer
Specified by:
cancelAll in class BaseSynthesizer
-
-
- -
Throws: -
javax.speech.EngineStateError - if this Synthesizer in the DEALLOCATED or - DEALLOCATING_RESOURCES states
-
-
-
- -

-handlePause

-
-protected void handlePause()
-
-
Pauses the output. -

-

-
Specified by:
handlePause in class BaseEngine
-
-
-
-
-
-
- -

-handleResume

-
-protected void handleResume()
-
-
Resumes the output. -

-

-
Specified by:
handleResume in class BaseEngine
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/synthesis/text/TextSynthesizerModeDesc.html b/javadoc/com/sun/speech/engine/synthesis/text/TextSynthesizerModeDesc.html deleted file mode 100644 index 2033bec..0000000 --- a/javadoc/com/sun/speech/engine/synthesis/text/TextSynthesizerModeDesc.html +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - -TextSynthesizerModeDesc (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.engine.synthesis.text -
-Class TextSynthesizerModeDesc

-
-java.lang.Object
-  extended byjavax.speech.EngineModeDesc
-      extended byjavax.speech.synthesis.SynthesizerModeDesc
-          extended bycom.sun.speech.engine.synthesis.text.TextSynthesizerModeDesc
-
-
-
All Implemented Interfaces:
javax.speech.EngineCreate
-
-
-
-
public class TextSynthesizerModeDesc
extends javax.speech.synthesis.SynthesizerModeDesc
implements javax.speech.EngineCreate
- -

-Describes the TextSynthesizer. Builds up the - voice list and other data. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
TextSynthesizerModeDesc() - -
-          Class constructor.
-  - - - - - - - - - - - -
-Method Summary
- javax.speech.EnginecreateEngine() - -
-          Constructs a text synthesizer with the properties of this mode - desc.
- - - - - - - -
Methods inherited from class javax.speech.synthesis.SynthesizerModeDesc
addVoice, equals, getVoices, match, setVoices
- - - - - - - -
Methods inherited from class javax.speech.EngineModeDesc
getEngineName, getLocale, getModeName, getRunning, setEngineName, setLocale, setModeName, setRunning
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-TextSynthesizerModeDesc

-
-public TextSynthesizerModeDesc()
-
-
Class constructor. -

-

- - - - - - - - -
-Method Detail
- -

-createEngine

-
-public javax.speech.Engine createEngine()
-                                 throws java.lang.IllegalArgumentException,
-                                        javax.speech.EngineException,
-                                        java.lang.SecurityException
-
-
Constructs a text synthesizer with the properties of this mode - desc. -

-

-
Specified by:
createEngine in interface javax.speech.EngineCreate
-
-
- -
Throws: -
java.lang.IllegalArgumentException -
javax.speech.EngineException -
java.lang.SecurityException
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/synthesis/text/TextSynthesizerQueueItem.html b/javadoc/com/sun/speech/engine/synthesis/text/TextSynthesizerQueueItem.html deleted file mode 100644 index 0e202e5..0000000 --- a/javadoc/com/sun/speech/engine/synthesis/text/TextSynthesizerQueueItem.html +++ /dev/null @@ -1,946 +0,0 @@ - - - - - - -TextSynthesizerQueueItem (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.engine.synthesis.text -
-Class TextSynthesizerQueueItem

-
-java.lang.Object
-  extended byjavax.speech.synthesis.SynthesizerQueueItem
-      extended bycom.sun.speech.engine.synthesis.BaseSynthesizerQueueItem
-          extended bycom.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem
-
-
-
All Implemented Interfaces:
SpeechEventDispatcher
-
-
-
-
public class TextSynthesizerQueueItem
extends BaseSynthesizerQueueItem
- -

-Represents an object on the speech output queue of a - TextSynthesizer. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static java.lang.StringBREAK - -
-           
-static java.lang.String[]BREAK_ATTRIBUTES - -
-           
-static java.lang.StringCOMMAND_PREFIX - -
-           
-static java.lang.StringCOMMAND_SUFFIX - -
-           
-static java.lang.StringDATA_PREFIX - -
-           
-static java.lang.StringDATA_SUFFIX - -
-           
-static java.lang.StringDIV - -
-           
-static java.lang.String[]DIV_ATTRIBUTES - -
-           
-static java.lang.String[][]ELEMENT_ATTRIBUTES - -
-           
-static java.lang.StringELEMENT_END - -
-           
-static java.lang.StringELEMENT_START - -
-           
-static java.lang.String[]ELEMENTS - -
-           
-static java.lang.StringEMPHASIS - -
-           
-static java.lang.String[]EMPHASIS_ATTRIBUTES - -
-           
-static java.lang.StringENGINE - -
-           
-static java.lang.String[]ENGINE_ATTRIBUTES - -
-           
-static java.lang.StringJSML - -
-           
-static java.lang.String[]JSML_ATTRIBUTES - -
-           
-static java.lang.StringMARKER - -
-           
-static java.lang.String[]MARKER_ATTRIBUTES - -
-           
-static java.lang.StringPHONEME - -
-           
-static java.lang.String[]PHONEME_ATTRIBUTES - -
-           
-static java.lang.StringPROSODY - -
-           
-static java.lang.String[]PROSODY_ATTRIBUTES - -
-           
-static java.lang.StringSAYAS - -
-           
-static java.lang.String[]SAYAS_ATTRIBUTES - -
-           
-static java.lang.StringVOICE - -
-           
-static java.lang.String[]VOICE_ATTRIBUTES - -
-           
- - - - - - - -
Fields inherited from class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem
itemNumber, synth, thisItemNumber
- - - - - - - -
Fields inherited from class javax.speech.synthesis.SynthesizerQueueItem
listener, plainText, source, text
-  - - - - - - - - - - -
-Constructor Summary
TextSynthesizerQueueItem() - -
-          Class constructor.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetEngineText() - -
-          Gets the text form of this queue item.
- java.lang.StringgetTypeString() - -
-          Gets the type of this queue item.
-protected  voidlinearize(org.w3c.dom.Node n, - java.lang.StringBuffer buf) - -
-          Appends the text for this node to the given StringBuffer.
-protected  java.lang.StringBufferprocessAttributes(org.w3c.dom.Element element, - java.lang.String[] attributes) - -
-          Gets the list of attributes of the element and returns them in - a StringBuffer.
-protected  java.lang.StringBufferprocessElement(org.w3c.dom.Element element, - java.lang.StringBuffer buf) - -
-          Adds any commands for this element and returns any text that might - be needed to undo the effects of this element after it is processed.
-protected  java.lang.StringBufferprocessNode(org.w3c.dom.Node n, - java.lang.StringBuffer buf) - -
-          Adds text for just this node, and returns any text that might - be needed to undo the effects of this node after it is - processed.
- - - - - - - -
Methods inherited from class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem
cancelled, completed, dispatchSpeechEvent, fireMarkerReached, fireSpeakableCancelled, fireSpeakableEnded, fireSpeakablePaused, fireSpeakableResumed, fireSpeakableStarted, fireTopOfQueue, fireWordStarted, getDocument, getItemNumber, isCancelled, isCompleted, postMarkerReached, postSpeakableCancelled, postSpeakableEnded, postSpeakablePaused, postSpeakableResumed, postSpeakableStarted, postTopOfQueue, postWordStarted, setData, setData, setData, started, waitCompleted
- - - - - - - -
Methods inherited from class javax.speech.synthesis.SynthesizerQueueItem
getSource, getSpeakableListener, getText, isPlainText
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-JSML

-
-public static final java.lang.String JSML
-
-
-
See Also:
Constant Field Values
-
-
- -

-JSML_ATTRIBUTES

-
-public static final java.lang.String[] JSML_ATTRIBUTES
-
-
-
-
-
- -

-DIV

-
-public static final java.lang.String DIV
-
-
-
See Also:
Constant Field Values
-
-
- -

-DIV_ATTRIBUTES

-
-public static final java.lang.String[] DIV_ATTRIBUTES
-
-
-
-
-
- -

-VOICE

-
-public static final java.lang.String VOICE
-
-
-
See Also:
Constant Field Values
-
-
- -

-VOICE_ATTRIBUTES

-
-public static final java.lang.String[] VOICE_ATTRIBUTES
-
-
-
-
-
- -

-SAYAS

-
-public static final java.lang.String SAYAS
-
-
-
See Also:
Constant Field Values
-
-
- -

-SAYAS_ATTRIBUTES

-
-public static final java.lang.String[] SAYAS_ATTRIBUTES
-
-
-
-
-
- -

-PHONEME

-
-public static final java.lang.String PHONEME
-
-
-
See Also:
Constant Field Values
-
-
- -

-PHONEME_ATTRIBUTES

-
-public static final java.lang.String[] PHONEME_ATTRIBUTES
-
-
-
-
-
- -

-EMPHASIS

-
-public static final java.lang.String EMPHASIS
-
-
-
See Also:
Constant Field Values
-
-
- -

-EMPHASIS_ATTRIBUTES

-
-public static final java.lang.String[] EMPHASIS_ATTRIBUTES
-
-
-
-
-
- -

-BREAK

-
-public static final java.lang.String BREAK
-
-
-
See Also:
Constant Field Values
-
-
- -

-BREAK_ATTRIBUTES

-
-public static final java.lang.String[] BREAK_ATTRIBUTES
-
-
-
-
-
- -

-PROSODY

-
-public static final java.lang.String PROSODY
-
-
-
See Also:
Constant Field Values
-
-
- -

-PROSODY_ATTRIBUTES

-
-public static final java.lang.String[] PROSODY_ATTRIBUTES
-
-
-
-
-
- -

-MARKER

-
-public static final java.lang.String MARKER
-
-
-
See Also:
Constant Field Values
-
-
- -

-MARKER_ATTRIBUTES

-
-public static final java.lang.String[] MARKER_ATTRIBUTES
-
-
-
-
-
- -

-ENGINE

-
-public static final java.lang.String ENGINE
-
-
-
See Also:
Constant Field Values
-
-
- -

-ENGINE_ATTRIBUTES

-
-public static final java.lang.String[] ENGINE_ATTRIBUTES
-
-
-
-
-
- -

-ELEMENTS

-
-public static final java.lang.String[] ELEMENTS
-
-
-
-
-
- -

-ELEMENT_ATTRIBUTES

-
-public static final java.lang.String[][] ELEMENT_ATTRIBUTES
-
-
-
-
-
- -

-COMMAND_PREFIX

-
-public static final java.lang.String COMMAND_PREFIX
-
-
-
See Also:
Constant Field Values
-
-
- -

-COMMAND_SUFFIX

-
-public static final java.lang.String COMMAND_SUFFIX
-
-
-
See Also:
Constant Field Values
-
-
- -

-DATA_PREFIX

-
-public static final java.lang.String DATA_PREFIX
-
-
-
See Also:
Constant Field Values
-
-
- -

-DATA_SUFFIX

-
-public static final java.lang.String DATA_SUFFIX
-
-
-
See Also:
Constant Field Values
-
-
- -

-ELEMENT_START

-
-public static final java.lang.String ELEMENT_START
-
-
-
See Also:
Constant Field Values
-
-
- -

-ELEMENT_END

-
-public static final java.lang.String ELEMENT_END
-
-
-
See Also:
Constant Field Values
-
- - - - - - - - -
-Constructor Detail
- -

-TextSynthesizerQueueItem

-
-public TextSynthesizerQueueItem()
-
-
Class constructor. -

-

- - - - - - - - -
-Method Detail
- -

-getTypeString

-
-public java.lang.String getTypeString()
-
-
Gets the type of this queue item. -

-

- -
Returns:
a String for debug purposes
-
-
-
- -

-linearize

-
-protected void linearize(org.w3c.dom.Node n,
-                         java.lang.StringBuffer buf)
-
-
Appends the text for this node to the given StringBuffer. -

-

-
Parameters:
n - the node to traverse in depth-first order
buf - the buffer to append text to
-
-
-
- -

-processNode

-
-protected java.lang.StringBuffer processNode(org.w3c.dom.Node n,
-                                             java.lang.StringBuffer buf)
-
-
Adds text for just this node, and returns any text that might - be needed to undo the effects of this node after it is - processed. -

-

-
Parameters:
n - the node to traverse in depth-first order
buf - the buffer to append text to -
Returns:
a String containing text to undo the - effects of the node
-
-
-
- -

-processElement

-
-protected java.lang.StringBuffer processElement(org.w3c.dom.Element element,
-                                                java.lang.StringBuffer buf)
-
-
Adds any commands for this element and returns any text that might - be needed to undo the effects of this element after it is processed. -

-

-
Parameters:
element - the element to traverse in depth-first order
buf - the buffer to append text to -
Returns:
a String containing text to undo the - effects of the element
-
-
-
- -

-processAttributes

-
-protected java.lang.StringBuffer processAttributes(org.w3c.dom.Element element,
-                                                   java.lang.String[] attributes)
-
-
Gets the list of attributes of the element and returns them in - a StringBuffer. -

-

-
Parameters:
element - the element containing attributes (if any)
attributes - the allowed attributes for - element -
Returns:
a buffer containing the attributes in text form
-
-
-
- -

-getEngineText

-
-public java.lang.String getEngineText()
-
-
Gets the text form of this queue item. -

-

- -
Returns:
the text form of this queue item.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/synthesis/text/package-frame.html b/javadoc/com/sun/speech/engine/synthesis/text/package-frame.html deleted file mode 100644 index 626f449..0000000 --- a/javadoc/com/sun/speech/engine/synthesis/text/package-frame.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - -com.sun.speech.engine.synthesis.text (FreeTTS 1.2) - - - - - - - - - - - -com.sun.speech.engine.synthesis.text - - - - -
-Classes  - -
-TextEngineCentral -
-TextSynthesizer -
-TextSynthesizerModeDesc -
-TextSynthesizerQueueItem
- - - - diff --git a/javadoc/com/sun/speech/engine/synthesis/text/package-summary.html b/javadoc/com/sun/speech/engine/synthesis/text/package-summary.html deleted file mode 100644 index 079931f..0000000 --- a/javadoc/com/sun/speech/engine/synthesis/text/package-summary.html +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - -com.sun.speech.engine.synthesis.text (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.sun.speech.engine.synthesis.text -

-Provides a sample text-output-only Synthesizer support that -doesn't make any -noise. -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - -
-Class Summary
TextEngineCentralSupports the JSAPI 1.0 EngineCentral interface for a - synthesizer that sends text to standard out.
TextSynthesizerSupports a simple text-output-only JSAPI 1.0 Synthesizer. -
TextSynthesizerModeDescDescribes the TextSynthesizer.
TextSynthesizerQueueItemRepresents an object on the speech output queue of a - TextSynthesizer.
-  - -

-

-Package com.sun.speech.engine.synthesis.text Description -

- -

-

Provides a sample text-output-only Synthesizer support that -doesn't make any -noise. Instead of sending output to a speaker -in spoken form, it sends text to the standard output in a form -that should be useful for debugging purposes.

-

To include this in the list of speech synthesizers, add the following -line to your speech.properties file: -

-TextSynthEngineCentral = com.sun.speech.engine.synthesis.text.TextEngineCentral
-
-

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/engine/synthesis/text/package-tree.html b/javadoc/com/sun/speech/engine/synthesis/text/package-tree.html deleted file mode 100644 index 6ef3d58..0000000 --- a/javadoc/com/sun/speech/engine/synthesis/text/package-tree.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - -com.sun.speech.engine.synthesis.text Class Hierarchy (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.sun.speech.engine.synthesis.text -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/Age.html b/javadoc/com/sun/speech/freetts/Age.html deleted file mode 100644 index 792cd6c..0000000 --- a/javadoc/com/sun/speech/freetts/Age.html +++ /dev/null @@ -1,419 +0,0 @@ - - - - - - -Age (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Class Age

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.Age
-
-
-
All Implemented Interfaces:
java.lang.Comparable
-
-
-
-
public class Age
extends java.lang.Object
implements java.lang.Comparable
- -

-Provides an enumeration of Age, following JSAPI style. - (http://java.sun.com/products/java-media/speech/forDevelopers/jsapi-doc/) - - This is intended for use to define properties about FreeTTS voices. -

- -

-

-
See Also:
Voice
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static AgeCHILD - -
-          Age roughly up to 12 years.
-static AgeDONT_CARE - -
-          Matches against any Age.
-static AgeMIDDLE_ADULT - -
-          Age roughly 40 to 60 years.
-static AgeNEUTRAL - -
-          An Age that is indeterminate.
-static AgeOLDER_ADULT - -
-          Age roughly 60 years and up.
-static AgeTEENAGER - -
-          Age roughly 13 to 19 years.
-static AgeYOUNGER_ADULT - -
-          Age roughly 20 to 40 years.
-  - - - - - - - - - - - - - - - - - - -
-Method Summary
- intcompareTo(java.lang.Object o) - -
-          Compare two ages.
- java.lang.StringtoString() - -
-          Provide a human readable string that describes the age.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-CHILD

-
-public static final Age CHILD
-
-
Age roughly up to 12 years. -

-

-
-
-
- -

-TEENAGER

-
-public static final Age TEENAGER
-
-
Age roughly 13 to 19 years. -

-

-
-
-
- -

-YOUNGER_ADULT

-
-public static final Age YOUNGER_ADULT
-
-
Age roughly 20 to 40 years. -

-

-
-
-
- -

-MIDDLE_ADULT

-
-public static final Age MIDDLE_ADULT
-
-
Age roughly 40 to 60 years. -

-

-
-
-
- -

-OLDER_ADULT

-
-public static final Age OLDER_ADULT
-
-
Age roughly 60 years and up. -

-

-
-
-
- -

-NEUTRAL

-
-public static final Age NEUTRAL
-
-
An Age that is indeterminate. -

-

-
-
-
- -

-DONT_CARE

-
-public static final Age DONT_CARE
-
-
Matches against any Age. -

-

-
-
- - - - - - - - - - - -
-Method Detail
- -

-toString

-
-public java.lang.String toString()
-
-
Provide a human readable string that describes the age. -

-

-
-
-
- -
Returns:
the name of the age
-
-
-
- -

-compareTo

-
-public int compareTo(java.lang.Object o)
-
-
Compare two ages. CHILD is less than TEENAGER, and so on. If - either age is DONT_CARE, then they are equal. -

-

-
Specified by:
compareTo in interface java.lang.Comparable
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/Dumpable.html b/javadoc/com/sun/speech/freetts/Dumpable.html deleted file mode 100644 index 3c22256..0000000 --- a/javadoc/com/sun/speech/freetts/Dumpable.html +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - -Dumpable (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Interface Dumpable

-
-
All Known Subinterfaces:
FeatureSet
-
-
-
All Known Implementing Classes:
FeatureSetImpl, Item, Relation, Utterance, Voice
-
-
-
-
public interface Dumpable
- -

-Tags an object that can be dumped for debugging purposes. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voiddump(java.io.PrintWriter pw, - int padding, - java.lang.String title) - -
-          Dumps the object to a PrintWriter.
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-dump

-
-public void dump(java.io.PrintWriter pw,
-                 int padding,
-                 java.lang.String title)
-
-
Dumps the object to a PrintWriter. -

-

-
Parameters:
pw - the stream to send the output
padding - the number of spaces in the string
title - the title for the dump
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/FeatureProcessor.html b/javadoc/com/sun/speech/freetts/FeatureProcessor.html deleted file mode 100644 index b9141c8..0000000 --- a/javadoc/com/sun/speech/freetts/FeatureProcessor.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - -FeatureProcessor (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Interface FeatureProcessor

-
-
All Known Implementing Classes:
FeatureProcessors.Accented, FeatureProcessors.AccentedSylIn, FeatureProcessors.Gpos, FeatureProcessors.LastAccent, FeatureProcessors.MonthRange, FeatureProcessors.NumDigits, FeatureProcessors.PH_CPlace, FeatureProcessors.PH_CType, FeatureProcessors.PH_CVox, FeatureProcessors.PH_VC, FeatureProcessors.PH_VFront, FeatureProcessors.PH_VHeight, FeatureProcessors.PH_VLength, FeatureProcessors.PH_VRnd, FeatureProcessors.PosInSyl, FeatureProcessors.PositionType, FeatureProcessors.SegCodaFric, FeatureProcessors.SegCodaGlide, FeatureProcessors.SegCodaNasal, FeatureProcessors.SegCodaStop, FeatureProcessors.SegmentDuration, FeatureProcessors.SegOnsetCoda, FeatureProcessors.SegOnsetFric, FeatureProcessors.SegOnsetGlide, FeatureProcessors.SegOnsetNasal, FeatureProcessors.SegOnsetStop, FeatureProcessors.StressedSylIn, FeatureProcessors.StressedSylOut, FeatureProcessors.SubPhrases, FeatureProcessors.SylBreak, FeatureProcessors.SylCodaSize, FeatureProcessors.SylIn, FeatureProcessors.SylOnsetSize, FeatureProcessors.SylOut, FeatureProcessors.TokenPosGuess, FeatureProcessors.WordBreak, FeatureProcessors.WordNumSyls, FeatureProcessors.WordPunc
-
-
-
-
public interface FeatureProcessor
- -

-Performs a specific type of processing on an item and returns an - object. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item item) - -
-          Performs some processing on the given item.
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item item)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Parameters:
item - the item to process -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/FeatureSet.html b/javadoc/com/sun/speech/freetts/FeatureSet.html deleted file mode 100644 index 25ab6bc..0000000 --- a/javadoc/com/sun/speech/freetts/FeatureSet.html +++ /dev/null @@ -1,498 +0,0 @@ - - - - - - -FeatureSet (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Interface FeatureSet

-
-
All Superinterfaces:
Dumpable
-
-
-
All Known Implementing Classes:
FeatureSetImpl, Utterance
-
-
-
-
public interface FeatureSet
extends Dumpable
- -

-Represents the abstract interface to an entity that has - a set of features. Provides interfaces to set and get the name/value - pairs as well as providing a set of convenience methods for - setting and retrieving values of a particular type. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voiddump(java.io.PrintWriter output, - int pad, - java.lang.String title) - -
-          Dumps the FeatureSet in textual form.
- floatgetFloat(java.lang.String name) - -
-          Convenience method that returns the named feature as a float.
- intgetInt(java.lang.String name) - -
-          Convenience method that returns the named feature as an int.
- java.lang.ObjectgetObject(java.lang.String name) - -
-          Returns the named feature as an object.
- java.lang.StringgetString(java.lang.String name) - -
-          Convenience method that returns the named feature as a string.
- booleanisPresent(java.lang.String name) - -
-          Determines if the given feature is present.
- voidremove(java.lang.String name) - -
-          Removes the named feature from this set of features.
- voidsetFloat(java.lang.String name, - float value) - -
-          Convenience method that sets the named feature as a float
- voidsetInt(java.lang.String name, - int value) - -
-          Convenience method that sets the named feature as an int.
- voidsetObject(java.lang.String name, - java.lang.Object value) - -
-          Sets the named feature .
- voidsetString(java.lang.String name, - java.lang.String value) - -
-          Convenience method that sets the named feature as a String.
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-isPresent

-
-public boolean isPresent(java.lang.String name)
-
-
Determines if the given feature is present. -

-

-
-
-
-
Parameters:
name - the name of the feature of interest -
Returns:
true if the named feature is present
-
-
-
- -

-remove

-
-public void remove(java.lang.String name)
-
-
Removes the named feature from this set of features. -

-

-
-
-
-
Parameters:
name - the name of the feature of interest
-
-
-
- -

-getString

-
-public java.lang.String getString(java.lang.String name)
-
-
Convenience method that returns the named feature as a string. -

-

-
-
-
-
Parameters:
name - the name of the feature -
Returns:
the value associated with the name or null if the value - is not found -
Throws: -
java.lang.ClassCastException - if theassociated value is not a - String
-
-
-
- -

-getInt

-
-public int getInt(java.lang.String name)
-
-
Convenience method that returns the named feature as an int. -

-

-
-
-
-
Parameters:
name - the name of the feature -
Returns:
the value associated with the name or null if the value - is not found -
Throws: -
java.lang.ClassCastException - if the associated value is not an - int
-
-
-
- -

-getFloat

-
-public float getFloat(java.lang.String name)
-
-
Convenience method that returns the named feature as a float. -

-

-
-
-
-
Parameters:
name - the name of the feature -
Returns:
the value associated with the name or null if the value - is not found -
Throws: -
java.lang.ClassCastException - if the associated value is not a - float.
-
-
-
- -

-getObject

-
-public java.lang.Object getObject(java.lang.String name)
-
-
Returns the named feature as an object. -

-

-
-
-
-
Parameters:
name - the name of the feature -
Returns:
the value associated with the name or null if the value - is not found
-
-
-
- -

-setInt

-
-public void setInt(java.lang.String name,
-                   int value)
-
-
Convenience method that sets the named feature as an int. -

-

-
-
-
-
Parameters:
name - the name of the feature
value - the value of the feature
-
-
-
- -

-setFloat

-
-public void setFloat(java.lang.String name,
-                     float value)
-
-
Convenience method that sets the named feature as a float -

-

-
-
-
-
Parameters:
name - the name of the feature
value - the value of the feature
-
-
-
- -

-setString

-
-public void setString(java.lang.String name,
-                      java.lang.String value)
-
-
Convenience method that sets the named feature as a String. -

-

-
-
-
-
Parameters:
name - the name of the feature
value - the value of the feature
-
-
-
- -

-setObject

-
-public void setObject(java.lang.String name,
-                      java.lang.Object value)
-
-
Sets the named feature . -

-

-
-
-
-
Parameters:
name - the name of the feature
value - the value of the feature
-
-
-
- -

-dump

-
-public void dump(java.io.PrintWriter output,
-                 int pad,
-                 java.lang.String title)
-
-
Dumps the FeatureSet in textual form. -

-

-
Specified by:
dump in interface Dumpable
-
-
-
Parameters:
output - where to send the formatted output
pad - the padding
title - the title
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/FeatureSetImpl.html b/javadoc/com/sun/speech/freetts/FeatureSetImpl.html deleted file mode 100644 index 04e614d..0000000 --- a/javadoc/com/sun/speech/freetts/FeatureSetImpl.html +++ /dev/null @@ -1,564 +0,0 @@ - - - - - - -FeatureSetImpl (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Class FeatureSetImpl

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.FeatureSetImpl
-
-
-
All Implemented Interfaces:
Dumpable, FeatureSet
-
-
-
-
public class FeatureSetImpl
extends java.lang.Object
implements FeatureSet
- -

-Implementation of the FeatureSet interface. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureSetImpl() - -
-          Creates a new empty feature set
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voiddump(java.io.PrintWriter output, - int pad, - java.lang.String title) - -
-          Dumps the FeatureSet in textual form.
- voiddump(java.io.PrintWriter output, - int pad, - java.lang.String title, - boolean showName) - -
-          Dumps the FeatureSet in textual form.
- floatgetFloat(java.lang.String name) - -
-          Convenience method that returns the named feature as a float.
- intgetInt(java.lang.String name) - -
-          Convenience method that returns the named feature as a int.
- java.lang.ObjectgetObject(java.lang.String name) - -
-          Returns the named feature as an object.
- java.lang.StringgetString(java.lang.String name) - -
-          Convenience method that returns the named feature as a string.
- booleanisPresent(java.lang.String name) - -
-          Determines if the given feature is present.
- voidremove(java.lang.String name) - -
-          Removes the named feature from this set of features.
- voidsetFloat(java.lang.String name, - float value) - -
-          Convenience method that sets the named feature as a float.
- voidsetInt(java.lang.String name, - int value) - -
-          Convenience method that sets the named feature as a int.
- voidsetObject(java.lang.String name, - java.lang.Object value) - -
-          Sets the named feature.
- voidsetString(java.lang.String name, - java.lang.String value) - -
-          Convenience method that sets the named feature as a String.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureSetImpl

-
-public FeatureSetImpl()
-
-
Creates a new empty feature set -

-

- - - - - - - - -
-Method Detail
- -

-isPresent

-
-public boolean isPresent(java.lang.String name)
-
-
Determines if the given feature is present. -

-

-
Specified by:
isPresent in interface FeatureSet
-
-
-
Parameters:
name - the name of the feature of interest -
Returns:
true if the named feature is present
-
-
-
- -

-remove

-
-public void remove(java.lang.String name)
-
-
Removes the named feature from this set of features. -

-

-
Specified by:
remove in interface FeatureSet
-
-
-
Parameters:
name - the name of the feature of interest
-
-
-
- -

-getString

-
-public java.lang.String getString(java.lang.String name)
-
-
Convenience method that returns the named feature as a string. -

-

-
Specified by:
getString in interface FeatureSet
-
-
-
Parameters:
name - the name of the feature -
Returns:
the value associated with the name or null if the value - is not found -
Throws: -
java.lang.ClassCastException - if the associated value is not a - String
-
-
-
- -

-getInt

-
-public int getInt(java.lang.String name)
-
-
Convenience method that returns the named feature as a int. -

-

-
Specified by:
getInt in interface FeatureSet
-
-
-
Parameters:
name - the name of the feature -
Returns:
the value associated with the name or null if the value - is not found -
Throws: -
java.lang.ClassCastException - if the associated value is not an int.
-
-
-
- -

-getFloat

-
-public float getFloat(java.lang.String name)
-
-
Convenience method that returns the named feature as a float. -

-

-
Specified by:
getFloat in interface FeatureSet
-
-
-
Parameters:
name - the name of the feature -
Returns:
the value associated with the name or null if the value - is not found. -
Throws: -
java.lang.ClassCastException - if the associated value is not a - float
-
-
-
- -

-getObject

-
-public java.lang.Object getObject(java.lang.String name)
-
-
Returns the named feature as an object. -

-

-
Specified by:
getObject in interface FeatureSet
-
-
-
Parameters:
name - the name of the feature -
Returns:
the value associated with the name or null if the value - is not found
-
-
-
- -

-setInt

-
-public void setInt(java.lang.String name,
-                   int value)
-
-
Convenience method that sets the named feature as a int. -

-

-
Specified by:
setInt in interface FeatureSet
-
-
-
Parameters:
name - the name of the feature
value - the value of the feature
-
-
-
- -

-setFloat

-
-public void setFloat(java.lang.String name,
-                     float value)
-
-
Convenience method that sets the named feature as a float. -

-

-
Specified by:
setFloat in interface FeatureSet
-
-
-
Parameters:
name - the name of the feature
value - the value of the feature
-
-
-
- -

-setString

-
-public void setString(java.lang.String name,
-                      java.lang.String value)
-
-
Convenience method that sets the named feature as a String. -

-

-
Specified by:
setString in interface FeatureSet
-
-
-
Parameters:
name - the name of the feature
value - the value of the feature
-
-
-
- -

-setObject

-
-public void setObject(java.lang.String name,
-                      java.lang.Object value)
-
-
Sets the named feature. -

-

-
Specified by:
setObject in interface FeatureSet
-
-
-
Parameters:
name - the name of the feature
value - the value of the feature
-
-
-
- -

-dump

-
-public void dump(java.io.PrintWriter output,
-                 int pad,
-                 java.lang.String title)
-
-
Dumps the FeatureSet in textual form. The feature name - is not included in the dump. -

-

-
Specified by:
dump in interface FeatureSet
-
-
-
Parameters:
output - where to send the formatted output
pad - the padding
title - the title
-
-
-
- -

-dump

-
-public void dump(java.io.PrintWriter output,
-                 int pad,
-                 java.lang.String title,
-                 boolean showName)
-
-
Dumps the FeatureSet in textual form. -

-

-
-
-
-
Parameters:
output - where to send the formatted output
pad - the padding
title - the title
showName - if true, include the feature name
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/FreeTTS.html b/javadoc/com/sun/speech/freetts/FreeTTS.html deleted file mode 100644 index 7e75862..0000000 --- a/javadoc/com/sun/speech/freetts/FreeTTS.html +++ /dev/null @@ -1,615 +0,0 @@ - - - - - - -FreeTTS (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Class FreeTTS

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.FreeTTS
-
-
-
Direct Known Subclasses:
FreeTTSTime
-
-
-
-
public class FreeTTS
extends java.lang.Object
- -

-Standalone utility that directly interacts with a CMUDiphoneVoice. -

- -

-


- -

- - - - - - - - - - - - - - -
-Field Summary
-static java.lang.StringVERSION - -
-          Version number.
-  - - - - - - - - - - - - - -
-Constructor Summary
FreeTTS() - -
-          Constructs a default FreeTTS with the kevin16 voice.
FreeTTS(Voice voice) - -
-          Creates a FreeTTS object with the given Voice.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanfileToSpeech(java.lang.String filePath) - -
-          Converts the text contained in the given path to speech.
- InputModegetInputMode() - -
-          Returns the InputMode.
- booleangetSilentMode() - -
-          Gets silent mode.
-protected  VoicegetVoice() - -
-          Returns the voice used by FreeTTS.
-static voidmain(java.lang.String[] args) - -
-          The main entry point for FreeTTS.
- voidsetAudioFile(java.lang.String audioFile) - -
-          Sets the audio file .
- voidsetInputMode(InputMode inputMode) - -
-          Sets the input mode.
- voidsetMultiAudio(boolean multiAudio) - -
-          Sets multi audio.
- voidsetSilentMode(boolean silent) - -
-          Turns audio playing on and off.
- voidsetStreamingAudio(boolean streamingAudio) - -
-          Sets streaming audio.
- voidshutdown() - -
-          Shuts down this FreeTTS synthesizer by closing the AudioPlayer and voice.
- voidstartup() - -
-          Starts this FreeTTS Synthesizer by loading the void and creating a new - AudioPlayer.
- booleanstreamToSpeech(java.io.InputStream is) - -
-          Converts the text contained in the given stream to speech.
- booleantextToSpeech(java.lang.String text) - -
-          Converts the given text to speech based using processing options - currently set in FreeTTS.
- booleanurlToSpeech(java.lang.String urlPath) - -
-          Converts the text contained in the given path to speech.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-VERSION

-
-public static final java.lang.String VERSION
-
-
Version number. -

-

-
See Also:
Constant Field Values
-
- - - - - - - - -
-Constructor Detail
- -

-FreeTTS

-
-public FreeTTS()
-
-
Constructs a default FreeTTS with the kevin16 voice. -

-

-
- -

-FreeTTS

-
-public FreeTTS(Voice voice)
-
-
Creates a FreeTTS object with the given Voice. -

-

Parameters:
voice - the voice to use
- - - - - - - - -
-Method Detail
- -

-startup

-
-public void startup()
-
-
Starts this FreeTTS Synthesizer by loading the void and creating a new - AudioPlayer. -

-

-
-
-
-
- -

-shutdown

-
-public void shutdown()
-
-
Shuts down this FreeTTS synthesizer by closing the AudioPlayer and voice. -

-

-
-
-
-
- -

-textToSpeech

-
-public boolean textToSpeech(java.lang.String text)
-
-
Converts the given text to speech based using processing options - currently set in FreeTTS. -

-

-
Parameters:
text - the text to speak -
Returns:
true if the utterance was played properly
-
-
-
- -

-getVoice

-
-protected Voice getVoice()
-
-
Returns the voice used by FreeTTS. -

-

- -
Returns:
the voice used by freetts
-
-
-
- -

-streamToSpeech

-
-public boolean streamToSpeech(java.io.InputStream is)
-
-
Converts the text contained in the given stream to speech. -

-

-
Parameters:
is - the stream containing the text to speak
-
-
-
- -

-urlToSpeech

-
-public boolean urlToSpeech(java.lang.String urlPath)
-
-
Converts the text contained in the given path to speech. -

-

-
Parameters:
urlPath - the file containing the text to speak -
Returns:
true if the utterance was played properly
-
-
-
- -

-fileToSpeech

-
-public boolean fileToSpeech(java.lang.String filePath)
-
-
Converts the text contained in the given path to speech. -

-

-
Parameters:
filePath - the file containing the text to speak -
Returns:
true if the utterance was played properly
-
-
-
- -

-setSilentMode

-
-public void setSilentMode(boolean silent)
-
-
Turns audio playing on and off. -

-

-
Parameters:
silent - if true, don't play audio
-
-
-
- -

-getSilentMode

-
-public boolean getSilentMode()
-
-
Gets silent mode. -

-

- -
Returns:
true if in silent mode
See Also:
setSilentMode(boolean)
-
-
-
- -

-setInputMode

-
-public void setInputMode(InputMode inputMode)
-
-
Sets the input mode. -

-

-
Parameters:
inputMode - the input mode
-
-
-
- -

-getInputMode

-
-public InputMode getInputMode()
-
-
Returns the InputMode. -

-

- -
Returns:
the input mode
See Also:
setInputMode(com.sun.speech.freetts.InputMode)
-
-
-
- -

-setAudioFile

-
-public void setAudioFile(java.lang.String audioFile)
-
-
Sets the audio file . -

-

-
Parameters:
audioFile - the audioFile
-
-
-
- -

-setMultiAudio

-
-public void setMultiAudio(boolean multiAudio)
-
-
Sets multi audio. If true, and an audio file has been set output will be - sent to multiple files -

-

-
Parameters:
multiAudio - if true send output to multiple files.
-
-
-
- -

-setStreamingAudio

-
-public void setStreamingAudio(boolean streamingAudio)
-
-
Sets streaming audio. If true, output will be sent to -

-

-
Parameters:
streamingAudio - if true stream audio
-
-
-
- -

-main

-
-public static void main(java.lang.String[] args)
-
-
The main entry point for FreeTTS. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/FreeTTSSpeakable.html b/javadoc/com/sun/speech/freetts/FreeTTSSpeakable.html deleted file mode 100644 index d5883b7..0000000 --- a/javadoc/com/sun/speech/freetts/FreeTTSSpeakable.html +++ /dev/null @@ -1,444 +0,0 @@ - - - - - - -FreeTTSSpeakable (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Interface FreeTTSSpeakable

-
-
All Known Implementing Classes:
FreeTTSSpeakableImpl, FreeTTSSynthesizerQueueItem
-
-
-
-
public interface FreeTTSSpeakable
- -

-Represents something that should be spoken. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidcancelled() - -
-          Indicates that this speakable has been cancelled.
- voidcompleted() - -
-          Indicates that this speakable has been completed.
- org.w3c.dom.DocumentgetDocument() - -
-          Gets the DOM document for this object.
- java.io.InputStreamgetInputStream() - -
-          Gets the input stream
- java.lang.StringgetText() - -
-          Returns the text corresponding to this Playable.
- booleanisCompleted() - -
-          Returns true if this queue item has been - processed.
- booleanisDocument() - -
-          Returns true if the item is a JSML document - (Java Speech Markup Language).
- booleanisPlainText() - -
-          Returns true if the item contains plain text - (not Java Speech Markup Language text).
- booleanisStream() - -
-          Returns true if the item is an input stream.
- voidstarted() - -
-          Indicates that this speakable has been started.
- booleanwaitCompleted() - -
-          Waits for this speakable item to be completed.
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-started

-
-public void started()
-
-
Indicates that this speakable has been started. -

-

-
-
-
-
- -

-completed

-
-public void completed()
-
-
Indicates that this speakable has been completed. -

-

-
-
-
-
- -

-cancelled

-
-public void cancelled()
-
-
Indicates that this speakable has been cancelled. -

-

-
-
-
-
- -

-isCompleted

-
-public boolean isCompleted()
-
-
Returns true if this queue item has been - processed. -

-

- -
Returns:
true if it has been processed
-
-
-
- -

-waitCompleted

-
-public boolean waitCompleted()
-
-
Waits for this speakable item to be completed. -

-

- -
Returns:
true if the item was completed successfully, false if - the speakable was cancelled or an error occurred.
-
-
-
- -

-isPlainText

-
-public boolean isPlainText()
-
-
Returns true if the item contains plain text - (not Java Speech Markup Language text). -

-

- -
Returns:
true if the item contains plain text
-
-
-
- -

-isStream

-
-public boolean isStream()
-
-
Returns true if the item is an input stream. -

-

- -
Returns:
true if the item is an input stream
-
-
-
- -

-isDocument

-
-public boolean isDocument()
-
-
Returns true if the item is a JSML document - (Java Speech Markup Language). -

-

- -
Returns:
true if the item is a document
-
-
-
- -

-getText

-
-public java.lang.String getText()
-
-
Returns the text corresponding to this Playable. -

-

- -
Returns:
the Playable text
-
-
-
- -

-getDocument

-
-public org.w3c.dom.Document getDocument()
-
-
Gets the DOM document for this object. -

-

- -
Returns:
the DOM document for this object
-
-
-
- -

-getInputStream

-
-public java.io.InputStream getInputStream()
-
-
Gets the input stream -

-

- -
Returns:
the input stream
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/FreeTTSSpeakableImpl.html b/javadoc/com/sun/speech/freetts/FreeTTSSpeakableImpl.html deleted file mode 100644 index 7504fa7..0000000 --- a/javadoc/com/sun/speech/freetts/FreeTTSSpeakableImpl.html +++ /dev/null @@ -1,551 +0,0 @@ - - - - - - -FreeTTSSpeakableImpl (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Class FreeTTSSpeakableImpl

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.FreeTTSSpeakableImpl
-
-
-
All Implemented Interfaces:
FreeTTSSpeakable
-
-
-
-
public class FreeTTSSpeakableImpl
extends java.lang.Object
implements FreeTTSSpeakable
- -

-Minimal implementation of a FreeTTSSpeakable -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
FreeTTSSpeakableImpl(org.w3c.dom.Document doc) - -
-          Constructor.
FreeTTSSpeakableImpl(java.io.InputStream is) - -
-          Constructor.
FreeTTSSpeakableImpl(java.lang.String text) - -
-          Constructor.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidcancelled() - -
-          Indicates that this speakable has been cancelled.
- voidcompleted() - -
-          Indicates that this speakable has been completed.
- org.w3c.dom.DocumentgetDocument() - -
-          Gets the DOM document for this object.
- java.io.InputStreamgetInputStream() - -
-          Gets the input stream.
- java.lang.StringgetText() - -
-          Returns the text corresponding to this Playable.
- booleanisCompleted() - -
-          Returns true if this queue item has been - processed.
- booleanisDocument() - -
-          Returns true if the item is a JSML document - (Java Speech Markup Language).
- booleanisPlainText() - -
-          Returns true if the item contains plain text - (not Java Speech Markup Language text).
- booleanisStream() - -
-          Returns true if the item is an input stream.
- voidstarted() - -
-          Indicate that this speakable has been started.
- booleanwaitCompleted() - -
-          Waits for this speakable item to be completed.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FreeTTSSpeakableImpl

-
-public FreeTTSSpeakableImpl(java.lang.String text)
-
-
Constructor. -

-

Parameters:
text - the text to be spoken
-
- -

-FreeTTSSpeakableImpl

-
-public FreeTTSSpeakableImpl(org.w3c.dom.Document doc)
-
-
Constructor. -

-

Parameters:
doc - the doc to be spoken
-
- -

-FreeTTSSpeakableImpl

-
-public FreeTTSSpeakableImpl(java.io.InputStream is)
-
-
Constructor. -

-

Parameters:
is - the doc to be spoken
- - - - - - - - -
-Method Detail
- -

-started

-
-public void started()
-
-
Indicate that this speakable has been started. -

-

-
Specified by:
started in interface FreeTTSSpeakable
-
-
-
-
-
-
- -

-completed

-
-public void completed()
-
-
Indicates that this speakable has been completed. -

-

-
Specified by:
completed in interface FreeTTSSpeakable
-
-
-
-
-
-
- -

-cancelled

-
-public void cancelled()
-
-
Indicates that this speakable has been cancelled. -

-

-
Specified by:
cancelled in interface FreeTTSSpeakable
-
-
-
-
-
-
- -

-isCompleted

-
-public boolean isCompleted()
-
-
Returns true if this queue item has been - processed. -

-

-
Specified by:
isCompleted in interface FreeTTSSpeakable
-
-
- -
Returns:
true if it has been processed
-
-
-
- -

-waitCompleted

-
-public boolean waitCompleted()
-
-
Waits for this speakable item to be completed. -

-

-
Specified by:
waitCompleted in interface FreeTTSSpeakable
-
-
- -
Returns:
true if the item was completed successfully, false if - the speakable was cancelled or an error occurred.
-
-
-
- -

-isPlainText

-
-public boolean isPlainText()
-
-
Returns true if the item contains plain text - (not Java Speech Markup Language text). -

-

-
Specified by:
isPlainText in interface FreeTTSSpeakable
-
-
- -
Returns:
true if the item contains plain text
-
-
-
- -

-getText

-
-public java.lang.String getText()
-
-
Returns the text corresponding to this Playable. -

-

-
Specified by:
getText in interface FreeTTSSpeakable
-
-
- -
Returns:
the Playable text
-
-
-
- -

-getDocument

-
-public org.w3c.dom.Document getDocument()
-
-
Gets the DOM document for this object. -

-

-
Specified by:
getDocument in interface FreeTTSSpeakable
-
-
- -
Returns:
the DOM document for this object.
-
-
-
- -

-isStream

-
-public boolean isStream()
-
-
Returns true if the item is an input stream. -

-

-
Specified by:
isStream in interface FreeTTSSpeakable
-
-
- -
Returns:
true if the item is an input stream
-
-
-
- -

-getInputStream

-
-public java.io.InputStream getInputStream()
-
-
Gets the input stream. -

-

-
Specified by:
getInputStream in interface FreeTTSSpeakable
-
-
- -
Returns:
the input stream
-
-
-
- -

-isDocument

-
-public boolean isDocument()
-
-
Returns true if the item is a JSML document - (Java Speech Markup Language). -

-

-
Specified by:
isDocument in interface FreeTTSSpeakable
-
-
- -
Returns:
true if the item is a document
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/FreeTTSTime.html b/javadoc/com/sun/speech/freetts/FreeTTSTime.html deleted file mode 100644 index 566190d..0000000 --- a/javadoc/com/sun/speech/freetts/FreeTTSTime.html +++ /dev/null @@ -1,446 +0,0 @@ - - - - - - -FreeTTSTime (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Class FreeTTSTime

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.FreeTTS
-      extended bycom.sun.speech.freetts.FreeTTSTime
-
-
-
-
public class FreeTTSTime
extends FreeTTS
- -

-Standalone utility that tells the time. - - Defaults to "alan" voice. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
FreeTTSTime() - -
-          Class constructor.
FreeTTSTime(Voice voice) - -
-          Class constructor.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static voidmain(java.lang.String[] args) - -
-          The main entry point for FreeTTSTime.
- voidsafeTimeToSpeech(java.lang.String time) - -
-          Speaks the given time.
- voidspeakNow() - -
-          Tells the current time.
- voidtimeToSpeech(int hour, - int min) - -
-          Speaks the time given the hour and minute.
- voidtimeToSpeech(java.lang.String time) - -
-          Speaks the given time.
-static java.lang.StringtimeToString(int hour, - int min) - -
-          Returns a string that corresponds to the given time.
-static java.lang.StringtimeToString(java.lang.String time) - -
-          Returns a string that corresponds to the given time.
-static voidusage() - -
-          Prints the usage message for FreeTTSTime.
- - - - - - - -
Methods inherited from class com.sun.speech.freetts.FreeTTS
fileToSpeech, getInputMode, getSilentMode, getVoice, setAudioFile, setInputMode, setMultiAudio, setSilentMode, setStreamingAudio, shutdown, startup, streamToSpeech, textToSpeech, urlToSpeech
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FreeTTSTime

-
-public FreeTTSTime()
-
-
Class constructor. -

-

-
- -

-FreeTTSTime

-
-public FreeTTSTime(Voice voice)
-
-
Class constructor. -

-

Parameters:
voice - Voice to say time with
- - - - - - - - -
-Method Detail
- -

-usage

-
-public static void usage()
-
-
Prints the usage message for FreeTTSTime. -

-

-
-
-
-
- -

-timeToString

-
-public static java.lang.String timeToString(java.lang.String time)
-
-
Returns a string that corresponds to the given time. -

-

-
Parameters:
time - the time in the form HH:MM -
Returns:
the time in string, null if the given time is not in the - form HH:MM
-
-
-
- -

-timeToString

-
-public static java.lang.String timeToString(int hour,
-                                            int min)
-
-
Returns a string that corresponds to the given time. -

-

-
Parameters:
hour - the hour
min - the minutes -
Returns:
the time in string, null if the given time out of range
-
-
-
- -

-timeToSpeech

-
-public void timeToSpeech(java.lang.String time)
-
-
Speaks the given time. Time should be in the exact form - HH:MM where HH is the hour 00 to 23, and MM is the minute 00 to - 59. -

-

-
Parameters:
time - the time in the form HH:MM -
Throws: -
java.lang.IllegalArgumentException - if time is not in the form - HH:MM
-
-
-
- -

-timeToSpeech

-
-public void timeToSpeech(int hour,
-                         int min)
-
-
Speaks the time given the hour and minute. -

-

-
Parameters:
hour - the hour of the day (0 to 23)
min - the minute of the hour (0 to 59)
-
-
-
- -

-safeTimeToSpeech

-
-public void safeTimeToSpeech(java.lang.String time)
-
-
Speaks the given time. Prints an error message if the time - is ill-formed. -

-

-
Parameters:
time - the time in the form HH:MM
-
-
-
- -

-speakNow

-
-public void speakNow()
-
-
Tells the current time. -

-

-
-
-
-
- -

-main

-
-public static void main(java.lang.String[] args)
-
-
The main entry point for FreeTTSTime. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/Gender.html b/javadoc/com/sun/speech/freetts/Gender.html deleted file mode 100644 index 3b88254..0000000 --- a/javadoc/com/sun/speech/freetts/Gender.html +++ /dev/null @@ -1,359 +0,0 @@ - - - - - - -Gender (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Class Gender

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.Gender
-
-
-
All Implemented Interfaces:
java.lang.Comparable
-
-
-
-
public class Gender
extends java.lang.Object
implements java.lang.Comparable
- -

-Provides an enumeration of Gender, following the JSAPI style. - (http://java.sun.com/products/java-media/speech/forDevelopers/jsapi-doc/) - - These are intended for use to define properties about FreeTTS - voices. -

- -

-

-
See Also:
Voice
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static GenderDONT_CARE - -
-          Match against all other genders.
-static GenderFEMALE - -
-          Female.
-static GenderMALE - -
-          Male.
-static GenderNEUTRAL - -
-          Neutral such as a robot or artificial.
-  - - - - - - - - - - - - - - - - - - -
-Method Summary
- intcompareTo(java.lang.Object o) - -
-          Compare two genders.
- java.lang.StringtoString() - -
-          Generates a human readable name describing the gender.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-MALE

-
-public static final Gender MALE
-
-
Male. -

-

-
-
-
- -

-FEMALE

-
-public static final Gender FEMALE
-
-
Female. -

-

-
-
-
- -

-NEUTRAL

-
-public static final Gender NEUTRAL
-
-
Neutral such as a robot or artificial. -

-

-
-
-
- -

-DONT_CARE

-
-public static final Gender DONT_CARE
-
-
Match against all other genders. -

-

-
-
- - - - - - - - - - - -
-Method Detail
- -

-toString

-
-public java.lang.String toString()
-
-
Generates a human readable name describing the gender. -

-

-
-
-
- -
Returns:
the name of the gender
-
-
-
- -

-compareTo

-
-public int compareTo(java.lang.Object o)
-
-
Compare two genders. If either is DONT_CARE, then returns 0. -

-

-
Specified by:
compareTo in interface java.lang.Comparable
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/InputMode.html b/javadoc/com/sun/speech/freetts/InputMode.html deleted file mode 100644 index b832f1a..0000000 --- a/javadoc/com/sun/speech/freetts/InputMode.html +++ /dev/null @@ -1,360 +0,0 @@ - - - - - - -InputMode (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Class InputMode

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.InputMode
-
-
-
-
public class InputMode
extends java.lang.Object
- -

-Specifies the input mode of FreeTTS. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static InputModeFILE - -
-          Indicates that the input is from a file.
-static InputModeINTERACTIVE - -
-          Indicates that the input is from the keyboard.
-static InputModeLINES - -
-          Indicates that the input is a set of lines in a file..
-static InputModeNONE - -
-          Indicates that there is no input mode
-static InputModeTEXT - -
-          Indicates that the input is from text.
-static InputModeURL - -
-          Indicates that the input is from a URL.
-  - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-NONE

-
-public static final InputMode NONE
-
-
Indicates that there is no input mode -

-

-
-
-
- -

-FILE

-
-public static final InputMode FILE
-
-
Indicates that the input is from a file. -

-

-
-
-
- -

-TEXT

-
-public static final InputMode TEXT
-
-
Indicates that the input is from text. -

-

-
-
-
- -

-URL

-
-public static final InputMode URL
-
-
Indicates that the input is from a URL. -

-

-
-
-
- -

-LINES

-
-public static final InputMode LINES
-
-
Indicates that the input is a set of lines in a file.. -

-

-
-
-
- -

-INTERACTIVE

-
-public static final InputMode INTERACTIVE
-
-
Indicates that the input is from the keyboard. -

-

-
-
- - - - - - - - - - - -
-Method Detail
- -

-toString

-
-public java.lang.String toString()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/Item.html b/javadoc/com/sun/speech/freetts/Item.html deleted file mode 100644 index bb18a73..0000000 --- a/javadoc/com/sun/speech/freetts/Item.html +++ /dev/null @@ -1,816 +0,0 @@ - - - - - - -Item (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Class Item

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.Item
-
-
-
All Implemented Interfaces:
Dumpable
-
-
-
-
public class Item
extends java.lang.Object
implements Dumpable
- -

-Represents a node in a Relation. Items can have shared contents but - each item has its own set of Daughters. The shared contents of an - item (represented by ItemContents) includes the feature set for the - item and the set of all relations that this item is contained in. - An item can be contained in a number of relations and as daughters - to other items. This class is used to keep track of all of these - relationships. There may be many instances of item that reference - the same shared ItemContents. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
Item(Relation relation, - ItemContents sharedContents) - -
-          Creates an item.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ItemaddDaughter(Item item) - -
-          Adds the given item as a daughter to this item.
- ItemappendItem(Item originalItem) - -
-          Appends an item in this list after this item.
- ItemcreateDaughter() - -
-          Creates a new Item, adds it as a daughter to this item - and returns the new item.
- voiddump(java.io.PrintWriter out, - int pad, - java.lang.String title) - -
-          Dumps out this item to the given output stream.
- booleanequalsShared(Item otherItem) - -
-          Determines if the shared contents of the two items are the same.
- java.lang.ObjectfindFeature(java.lang.String pathAndFeature) - -
-          Finds the feature by following the given path. -
- ItemfindItem(java.lang.String path) - -
-          Finds the item specified by the given path. - -
- ItemgetDaughter() - -
-          Retrieves the first daughter of this item.
- FeatureSetgetFeatures() - -
-          Returns the feature set of this item.
- ItemgetItemAs(java.lang.String relationName) - -
-          Finds the item in the given relation that has the same shared - contents.
- ItemgetLastDaughter() - -
-          Retrieves the last daughter of this item.
- ItemgetNext() - -
-          Gets the next item in this list.
- ItemgetNthDaughter(int which) - -
-          Retrieves the Nth daughter of this item.
- RelationgetOwnerRelation() - -
-          Retrieves the owning Relation.
- ItemgetParent() - -
-          Returns the parent of this item.
- ItemgetPrevious() - -
-          Gets the previous item in this list.
- ItemContentsgetSharedContents() - -
-          Retrieves the shared contents for this item.
- UtterancegetUtterance() - -
-          Returns the utterance associated with this item.
- booleanhasDaughters() - -
-          Determines if this item has daughters.
- ItemprependItem(Item originalItem) - -
-          Prepends an item in this list before this item.
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-Item

-
-public Item(Relation relation,
-            ItemContents sharedContents)
-
-
Creates an item. The item is coupled to a particular - Relation. If shared contents is null a new sharedContents is - created. -

-

Parameters:
relation - the relation that owns this item
sharedContents - the contents that is shared with others. - If null, a new sharedContents is created.
- - - - - - - - -
-Method Detail
- -

-getItemAs

-
-public Item getItemAs(java.lang.String relationName)
-
-
Finds the item in the given relation that has the same shared - contents. -

-

-
-
-
-
Parameters:
relationName - the relation of interest -
Returns:
the item as found in the given relation or null if not - found
-
-
-
- -

-getOwnerRelation

-
-public Relation getOwnerRelation()
-
-
Retrieves the owning Relation. -

-

-
-
-
- -
Returns:
the relation that owns this item
-
-
-
- -

-getSharedContents

-
-public ItemContents getSharedContents()
-
-
Retrieves the shared contents for this item. -

-

-
-
-
- -
Returns:
the shared item contents
-
-
-
- -

-hasDaughters

-
-public boolean hasDaughters()
-
-
Determines if this item has daughters. -

-

-
-
-
- -
Returns:
true if this item has daughters
-
-
-
- -

-getDaughter

-
-public Item getDaughter()
-
-
Retrieves the first daughter of this item. -

-

-
-
-
- -
Returns:
the first daughter or null if none
-
-
-
- -

-getNthDaughter

-
-public Item getNthDaughter(int which)
-
-
Retrieves the Nth daughter of this item. -

-

-
-
-
-
Parameters:
which - the index of the daughter to return -
Returns:
the Nth daughter or null if none at the given index
-
-
-
- -

-getLastDaughter

-
-public Item getLastDaughter()
-
-
Retrieves the last daughter of this item. -

-

-
-
-
- -
Returns:
the last daughter or null if none at the given index
-
-
-
- -

-addDaughter

-
-public Item addDaughter(Item item)
-
-
Adds the given item as a daughter to this item. -

-

-
-
-
-
Parameters:
item - the new daughter
-
-
-
- -

-createDaughter

-
-public Item createDaughter()
-
-
Creates a new Item, adds it as a daughter to this item - and returns the new item. -

-

-
-
-
- -
Returns:
the newly created item that was added as a daughter
-
-
-
- -

-getParent

-
-public Item getParent()
-
-
Returns the parent of this item. -

-

-
-
-
- -
Returns:
the parent of this item
-
-
-
- -

-getUtterance

-
-public Utterance getUtterance()
-
-
Returns the utterance associated with this item. -

-

-
-
-
- -
Returns:
the utterance that contains this item
-
-
-
- -

-getFeatures

-
-public FeatureSet getFeatures()
-
-
Returns the feature set of this item. -

-

-
-
-
- -
Returns:
the feature set of this item
-
-
-
- -

-dump

-
-public void dump(java.io.PrintWriter out,
-                 int pad,
-                 java.lang.String title)
-
-
Dumps out this item to the given output stream. -

-

-
Specified by:
dump in interface Dumpable
-
-
-
Parameters:
out - where to send the output
pad - the leading whitspace
title - the title for the dump
-
-
-
- -

-findFeature

-
-public java.lang.Object findFeature(java.lang.String pathAndFeature)
-
-
Finds the feature by following the given path. - Path is a string of - ":" or "." separated strings with the following interpretations: -
    -
  • n - next item -
  • p - previous item -
  • parent - the parent -
  • daughter - the daughter -
  • daughter1 - same as daughter -
  • daughtern - the last daughter -
  • R:relname - the item as found in the given relation 'relname' -
- The last element of the path will be interpreted as a - voice/language specific feature function (if present) or an - item feature name. If the feature function exists it will be - called with the item specified by the path, otherwise, a - feature will be retrieved with the given name. If neither exist - than a String "0" is returned. -

-

-
-
-
-
Parameters:
pathAndFeature - the path to follow
-
-
-
- -

-findItem

-
-public Item findItem(java.lang.String path)
-
-
Finds the item specified by the given path. - - Path is a string of ":" or - "." separated strings with the following interpretations: -
    -
  • n - next item -
  • p - previous item -
  • parent - the parent -
  • daughter - the daughter -
  • daughter1 - same as daughter -
  • daughtern - the last daughter -
  • R:relname - the item as found in the given relation 'relname' -
- If the given path takes us outside of the bounds of the item - graph, then list access exceptions will be thrown. -

-

-
-
-
-
Parameters:
path - the path to follow -
Returns:
the item at the given path
-
-
-
- -

-getNext

-
-public Item getNext()
-
-
Gets the next item in this list. -

-

-
-
-
- -
Returns:
the next item or null
-
-
-
- -

-getPrevious

-
-public Item getPrevious()
-
-
Gets the previous item in this list. -

-

-
-
-
- -
Returns:
the previous item or null
-
-
-
- -

-appendItem

-
-public Item appendItem(Item originalItem)
-
-
Appends an item in this list after this item. -

-

-
-
-
-
Parameters:
originalItem - new item has shared contents with this - item (or * null) -
Returns:
the newly appended item
-
-
-
- -

-prependItem

-
-public Item prependItem(Item originalItem)
-
-
Prepends an item in this list before this item. -

-

-
-
-
-
Parameters:
originalItem - new item has shared contents with this - item (or * null) -
Returns:
the newly appended item
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
-
-
-
-
-
-
- -

-equalsShared

-
-public boolean equalsShared(Item otherItem)
-
-
Determines if the shared contents of the two items are the same. -

-

-
-
-
-
Parameters:
otherItem - the item to compare -
Returns:
true if the shared contents are the same
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/ItemContents.html b/javadoc/com/sun/speech/freetts/ItemContents.html deleted file mode 100644 index f8b9066..0000000 --- a/javadoc/com/sun/speech/freetts/ItemContents.html +++ /dev/null @@ -1,350 +0,0 @@ - - - - - - -ItemContents (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Class ItemContents

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.ItemContents
-
-
-
-
public class ItemContents
extends java.lang.Object
- -

-Contains the information that is shared between multiple items. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
ItemContents() - -
-          Class Constructor.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddItemRelation(java.lang.String relationName, - Item item) - -
-          Adds the given item to the set of relations.
- FeatureSetgetFeatures() - -
-          Returns the feature set for this item contents.
- ItemgetItemRelation(java.lang.String relationName) - -
-          Given the name of a relation, returns the item the shares the - same ItemContents.
- voidremoveItemRelation(java.lang.String relationName) - -
-          Removes the relation/item mapping from this ItemContents.
- voidshowRelations() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-ItemContents

-
-public ItemContents()
-
-
Class Constructor. -

-

- - - - - - - - -
-Method Detail
- -

-addItemRelation

-
-public void addItemRelation(java.lang.String relationName,
-                            Item item)
-
-
Adds the given item to the set of relations. Whenever an item - is added to a relation, it should add the name and the Item reference - to this set of name/item mappings. This allows an item to find - out the set of all relations that it is contained in. -

-

-
Parameters:
relationName - the name of the relation
item - the item reference in the relation
-
-
-
- -

-removeItemRelation

-
-public void removeItemRelation(java.lang.String relationName)
-
-
Removes the relation/item mapping from this ItemContents. -

-

-
Parameters:
relationName - the name of the relation/item to remove
-
-
-
- -

-showRelations

-
-public void showRelations()
-
-
-
-
-
-
- -

-getItemRelation

-
-public Item getItemRelation(java.lang.String relationName)
-
-
Given the name of a relation, returns the item the shares the - same ItemContents. -

-

-
Parameters:
relationName - the name of the relation of interest -
Returns:
the item associated with this ItemContents in the named - relation, or null if it does not exist
-
-
-
- -

-getFeatures

-
-public FeatureSet getFeatures()
-
-
Returns the feature set for this item contents. -

-

- -
Returns:
the FeatureSet for this contents
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/OutputQueue.html b/javadoc/com/sun/speech/freetts/OutputQueue.html deleted file mode 100644 index e74d7a8..0000000 --- a/javadoc/com/sun/speech/freetts/OutputQueue.html +++ /dev/null @@ -1,367 +0,0 @@ - - - - - - -OutputQueue (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Class OutputQueue

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.OutputQueue
-
-
-
-
public class OutputQueue
extends java.lang.Object
- -

-Manages a process queue for utterances. Utterances that are - queued to a processor can be written via the post method. - A processing thread can wait for an utterance to arrive via the - pend method. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
OutputQueue() - -
-          Creates a queue with the default size.
OutputQueue(int size) - -
-          Creates an OutputQueue with the given size.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidclose() - -
-          Closes the queue.
- booleanisClosed() - -
-          Determines if the queue is closed.
- Utterancepend() - -
-          Blocks until there is an utterance in the queue.
- voidpost(Utterance utterance) - -
-          Posts the given utterance to the queue.
- voidremoveAll() - -
-          Removes all items from this OutputQueue.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-OutputQueue

-
-public OutputQueue(int size)
-
-
Creates an OutputQueue with the given size. -

-

Parameters:
size - the size of the queue
-
- -

-OutputQueue

-
-public OutputQueue()
-
-
Creates a queue with the default size. -

-

- - - - - - - - -
-Method Detail
- -

-post

-
-public void post(Utterance utterance)
-
-
Posts the given utterance to the queue. This call will block if - the queue is full. -

-

-
Parameters:
utterance - the utterance to post -
Throws: -
java.lang.IllegalStateException - if the queue is closed
-
-
-
- -

-close

-
-public void close()
-
-
Closes the queue. -

-

-
-
-
-
- -

-isClosed

-
-public boolean isClosed()
-
-
Determines if the queue is closed. -

-

- -
Returns:
true the queue is closed; otherwise false
-
-
-
- -

-pend

-
-public Utterance pend()
-
-
Blocks until there is an utterance in the queue. -

-

- -
Returns:
the next utterance. On a close or interrupt, a null is - returned.
-
-
-
- -

-removeAll

-
-public void removeAll()
-
-
Removes all items from this OutputQueue. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/PartOfSpeech.html b/javadoc/com/sun/speech/freetts/PartOfSpeech.html deleted file mode 100644 index 0179624..0000000 --- a/javadoc/com/sun/speech/freetts/PartOfSpeech.html +++ /dev/null @@ -1,222 +0,0 @@ - - - - - - -PartOfSpeech (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Interface PartOfSpeech

-
-
All Known Implementing Classes:
PartOfSpeechImpl
-
-
-
-
public interface PartOfSpeech
- -

-Determines the part of speech of a word. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetPartOfSpeech(java.lang.String word) - -
-          Returns a description of the part of speech given a word. -
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-getPartOfSpeech

-
-public java.lang.String getPartOfSpeech(java.lang.String word)
-
-
Returns a description of the part of speech given a word. - The string is implementation dependent. -

-

-
Parameters:
word - the word to classify -
Returns:
an implementation dependent part of speech for the word
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/PartOfSpeechImpl.html b/javadoc/com/sun/speech/freetts/PartOfSpeechImpl.html deleted file mode 100644 index 19890d7..0000000 --- a/javadoc/com/sun/speech/freetts/PartOfSpeechImpl.html +++ /dev/null @@ -1,285 +0,0 @@ - - - - - - -PartOfSpeechImpl (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Class PartOfSpeechImpl

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.PartOfSpeechImpl
-
-
-
All Implemented Interfaces:
PartOfSpeech
-
-
-
-
public class PartOfSpeechImpl
extends java.lang.Object
implements PartOfSpeech
- -

-Implementation of a PartOfSpeech that reads the info - from a file. The format of the file is as follows: - -

- word pos
- word pos
- word pos
- ...
- 
- - Where word is the word and pos is the - part of speech for the word. The part of speech is implementation - dependent. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
PartOfSpeechImpl(java.net.URL url, - java.lang.String defaultPartOfSpeech) - -
-          Creates a new PartOfSpeechImpl by reading from the given URL.
-  - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetPartOfSpeech(java.lang.String word) - -
-          Returns a description of the part of speech given a word. -
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-PartOfSpeechImpl

-
-public PartOfSpeechImpl(java.net.URL url,
-                        java.lang.String defaultPartOfSpeech)
-                 throws java.io.IOException
-
-
Creates a new PartOfSpeechImpl by reading from the given URL. -

-

Parameters:
url - the input source
defaultPartOfSpeech - the default part of speech -
Throws: -
java.io.IOException - if an error occurs
- - - - - - - - -
-Method Detail
- -

-getPartOfSpeech

-
-public java.lang.String getPartOfSpeech(java.lang.String word)
-
-
Returns a description of the part of speech given a word. - If the given word cannot be found, the part of speech will be the - defaultPartOfSpeech parameter passed to the constructor. -

-

-
Specified by:
getPartOfSpeech in interface PartOfSpeech
-
-
-
Parameters:
word - the word to classify -
Returns:
an implementation dependent part of speech for the word
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/PathExtractor.html b/javadoc/com/sun/speech/freetts/PathExtractor.html deleted file mode 100644 index 39db0ee..0000000 --- a/javadoc/com/sun/speech/freetts/PathExtractor.html +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - -PathExtractor (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Interface PathExtractor

-
-
All Known Implementing Classes:
PathExtractorImpl
-
-
-
-
public interface PathExtractor
- -

-Manages a feature or item path. Allows navigation - to the corresponding feature or item. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.ObjectfindFeature(Item item) - -
-          Finds the feature associated with this object.
- ItemfindItem(Item item) - -
-          Finds the item associated with this object.
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-findItem

-
-public Item findItem(Item item)
-
-
Finds the item associated with this object. -

-

-
Parameters:
item - the starting point for the path navigation -
Returns:
the item associated with the path or null
-
-
-
- -

-findFeature

-
-public java.lang.Object findFeature(Item item)
-
-
Finds the feature associated with this object. -

-

-
Parameters:
item - the starting point for the path navigation -
Returns:
the feature associated or "0" if the - feature was not found
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/PathExtractorImpl.html b/javadoc/com/sun/speech/freetts/PathExtractorImpl.html deleted file mode 100644 index ebe97f0..0000000 --- a/javadoc/com/sun/speech/freetts/PathExtractorImpl.html +++ /dev/null @@ -1,384 +0,0 @@ - - - - - - -PathExtractorImpl (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Class PathExtractorImpl

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.PathExtractorImpl
-
-
-
All Implemented Interfaces:
PathExtractor
-
-
-
-
public class PathExtractorImpl
extends java.lang.Object
implements PathExtractor
- -

-Interface that Manages a feature or item path. Allows navigation - to the corresponding feature or item. - This class in controlled by the following system properties: - -

-   com.sun.speech.freetts.interpretCartPaths - default false
-   com.sun.speech.freetts.lazyCartCompile - default true
- 
- com.sun.speech.freetts.interpretCartPaths - - Instances of this class will optionally pre-compile the paths. - Pre-compiling paths reduces the processing time and objects needed - to extract a feature or an item based upon a path. -

- -

-


- -

- - - - - - - - - - - - - - - - - - -
-Field Summary
-static java.lang.StringINTERPRET_PATHS_PROPERTY - -
-          If this system property is set to true, paths will - not be compiled.
-static java.lang.StringLAZY_COMPILE_PROPERTY - -
-          If this system property is set to true, CART feature/item - paths will only be compiled as needed.
-  - - - - - - - - - - -
-Constructor Summary
PathExtractorImpl(java.lang.String pathAndFeature, - boolean wantFeature) - -
-          Creates a path for the given feature.
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.ObjectfindFeature(Item item) - -
-          Finds the feature associated with this Path.
- ItemfindItem(Item item) - -
-          Finds the item associated with this Path.
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-INTERPRET_PATHS_PROPERTY

-
-public static final java.lang.String INTERPRET_PATHS_PROPERTY
-
-
If this system property is set to true, paths will - not be compiled. -

-

-
See Also:
Constant Field Values
-
-
- -

-LAZY_COMPILE_PROPERTY

-
-public static final java.lang.String LAZY_COMPILE_PROPERTY
-
-
If this system property is set to true, CART feature/item - paths will only be compiled as needed. -

-

-
See Also:
Constant Field Values
-
- - - - - - - - -
-Constructor Detail
- -

-PathExtractorImpl

-
-public PathExtractorImpl(java.lang.String pathAndFeature,
-                         boolean wantFeature)
-
-
Creates a path for the given feature. -

-

- - - - - - - - -
-Method Detail
- -

-findItem

-
-public Item findItem(Item item)
-
-
Finds the item associated with this Path. -

-

-
Specified by:
findItem in interface PathExtractor
-
-
-
Parameters:
item - the item to start at -
Returns:
the item associated with the path or null
-
-
-
- -

-findFeature

-
-public java.lang.Object findFeature(Item item)
-
-
Finds the feature associated with this Path. -

-

-
Specified by:
findFeature in interface PathExtractor
-
-
-
Parameters:
item - the item to start at -
Returns:
the feature associated or "0" if the - feature was not found.
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/PhoneDuration.html b/javadoc/com/sun/speech/freetts/PhoneDuration.html deleted file mode 100644 index 9b76e84..0000000 --- a/javadoc/com/sun/speech/freetts/PhoneDuration.html +++ /dev/null @@ -1,290 +0,0 @@ - - - - - - -PhoneDuration (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Class PhoneDuration

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.PhoneDuration
-
-
-
-
public class PhoneDuration
extends java.lang.Object
- -

-Maintains the mean duration and standard deviation about a phone. - These are meant to be used by the code that calculates segment - durations via statistical methods, and are paired with the phone - by PhoneDurations. -

- -

-

-
See Also:
PhoneDurations
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
PhoneDuration(float mean, - float standardDeviation) - -
-          Creates a new PhoneDuration with the given mean - and standard deviation.
-  - - - - - - - - - - - - - - - -
-Method Summary
- floatgetMean() - -
-          Gets the mean.
- floatgetStandardDeviation() - -
-          Gets the standard deviation from the mean.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-PhoneDuration

-
-public PhoneDuration(float mean,
-                     float standardDeviation)
-
-
Creates a new PhoneDuration with the given mean - and standard deviation. -

-

Parameters:
mean - mean duration, typically in seconds
standardDeviation - standardDeviation from the mean
- - - - - - - - -
-Method Detail
- -

-getMean

-
-public float getMean()
-
-
Gets the mean. The return value is typically in seconds. -

-

- -
Returns:
the mean
-
-
-
- -

-getStandardDeviation

-
-public float getStandardDeviation()
-
-
Gets the standard deviation from the mean. -

-

- -
Returns:
the standard deviation from the mean
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/PhoneDurations.html b/javadoc/com/sun/speech/freetts/PhoneDurations.html deleted file mode 100644 index 8433130..0000000 --- a/javadoc/com/sun/speech/freetts/PhoneDurations.html +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - -PhoneDurations (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Interface PhoneDurations

-
-
All Known Implementing Classes:
PhoneDurationsImpl
-
-
-
-
public interface PhoneDurations
- -

-Maintains a set of PhoneDuration instances indexed by - phone. -

- -

-

-
See Also:
PhoneDuration
-
- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
- PhoneDurationgetPhoneDuration(java.lang.String phone) - -
-          Gets the PhoneDuration for the given phone.
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-getPhoneDuration

-
-public PhoneDuration getPhoneDuration(java.lang.String phone)
-
-
Gets the PhoneDuration for the given phone. If no - duration is applicable, returns null. Note that - 'applicable' implementation dependent; some implementations - may return a default value. -

-

-
Parameters:
phone - the phone to get duration information for -
Returns:
the duration information for the phone
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/PhoneDurationsImpl.html b/javadoc/com/sun/speech/freetts/PhoneDurationsImpl.html deleted file mode 100644 index 23f5ee3..0000000 --- a/javadoc/com/sun/speech/freetts/PhoneDurationsImpl.html +++ /dev/null @@ -1,283 +0,0 @@ - - - - - - -PhoneDurationsImpl (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Class PhoneDurationsImpl

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.PhoneDurationsImpl
-
-
-
All Implemented Interfaces:
PhoneDurations
-
-
-
-
public class PhoneDurationsImpl
extends java.lang.Object
implements PhoneDurations
- -

-Maintains set of PhoneDuration instances read in from a file. The - format of the file is as follows: - -

- phone mean stddev
- phone mean stddev
- phone mean stddev
- ...
- 
- - Where phone is the phone name, mean is - a float representing the mean duration of the phone - (typically in seconds), and stddev is a - float representing the standard deviation from the - mean. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
PhoneDurationsImpl(java.net.URL url) - -
-          Creates a new PhoneDurationsImpl by reading from the given URL.
-  - - - - - - - - - - - -
-Method Summary
- PhoneDurationgetPhoneDuration(java.lang.String phone) - -
-          Gets the PhoneDuration for the given phone.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-PhoneDurationsImpl

-
-public PhoneDurationsImpl(java.net.URL url)
-                   throws java.io.IOException
-
-
Creates a new PhoneDurationsImpl by reading from the given URL. -

-

Parameters:
url - the input source -
Throws: -
java.io.IOException - if an error occurs
- - - - - - - - -
-Method Detail
- -

-getPhoneDuration

-
-public PhoneDuration getPhoneDuration(java.lang.String phone)
-
-
Gets the PhoneDuration for the given phone. If no - duration is applicable, returns null. -

-

-
Specified by:
getPhoneDuration in interface PhoneDurations
-
-
-
Parameters:
phone - the phone -
Returns:
the PhoneDuration for phone
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/PhoneSet.html b/javadoc/com/sun/speech/freetts/PhoneSet.html deleted file mode 100644 index ac2db96..0000000 --- a/javadoc/com/sun/speech/freetts/PhoneSet.html +++ /dev/null @@ -1,399 +0,0 @@ - - - - - - -PhoneSet (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Interface PhoneSet

-
-
All Known Implementing Classes:
PhoneSetImpl
-
-
-
-
public interface PhoneSet
- -

-Maintains a list of phones with various features for those phones. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static java.lang.StringCPLACE - -
-          Consonant cplace: l = labial, a = alveolar, p = palatal, - b = labio_dental, d = dental, v = velar
-static java.lang.StringCTYPE - -
-          Consonant type: s = stop, f = fricative, a = affricative, - n = nasal, l = liquid.
-static java.lang.StringCVOX - -
-          Consonant voicing: + = on, - = off
-static java.lang.StringVC - -
-          Vowel or consonant: + = vowel, - = consonant.
-static java.lang.StringVFRONT - -
-          Vowel frontness: 1 = front, 2 = mid, 3 = back.
-static java.lang.StringVHEIGHT - -
-          Vowel height: 1 = high, 2 = mid, 3 = low.
-static java.lang.StringVLNG - -
-          Vowel length: s = short, l = long, d = dipthong, a = schwa.
-static java.lang.StringVRND - -
-          Lip rounding: + = on, - = off.
-  - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetPhoneFeature(java.lang.String phone, - java.lang.String featureName) - -
-          Given a phoneme and a feature name, return the feature.
-  -

- - - - - - - - -
-Field Detail
- -

-VC

-
-public static final java.lang.String VC
-
-
Vowel or consonant: + = vowel, - = consonant. -

-

-
See Also:
Constant Field Values
-
-
- -

-VLNG

-
-public static final java.lang.String VLNG
-
-
Vowel length: s = short, l = long, d = dipthong, a = schwa. -

-

-
See Also:
Constant Field Values
-
-
- -

-VHEIGHT

-
-public static final java.lang.String VHEIGHT
-
-
Vowel height: 1 = high, 2 = mid, 3 = low. -

-

-
See Also:
Constant Field Values
-
-
- -

-VFRONT

-
-public static final java.lang.String VFRONT
-
-
Vowel frontness: 1 = front, 2 = mid, 3 = back. -

-

-
See Also:
Constant Field Values
-
-
- -

-VRND

-
-public static final java.lang.String VRND
-
-
Lip rounding: + = on, - = off. -

-

-
See Also:
Constant Field Values
-
-
- -

-CTYPE

-
-public static final java.lang.String CTYPE
-
-
Consonant type: s = stop, f = fricative, a = affricative, - n = nasal, l = liquid. -

-

-
See Also:
Constant Field Values
-
-
- -

-CPLACE

-
-public static final java.lang.String CPLACE
-
-
Consonant cplace: l = labial, a = alveolar, p = palatal, - b = labio_dental, d = dental, v = velar -

-

-
See Also:
Constant Field Values
-
-
- -

-CVOX

-
-public static final java.lang.String CVOX
-
-
Consonant voicing: + = on, - = off -

-

-
See Also:
Constant Field Values
-
- - - - - - - - - - - -
-Method Detail
- -

-getPhoneFeature

-
-public java.lang.String getPhoneFeature(java.lang.String phone,
-                                        java.lang.String featureName)
-
-
Given a phoneme and a feature name, return the feature. -

-

-
Parameters:
phone - the phoneme of interest
featureName - the name of the feature of interest -
Returns:
the feature with the given name
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/PhoneSetImpl.html b/javadoc/com/sun/speech/freetts/PhoneSetImpl.html deleted file mode 100644 index 84d14ec..0000000 --- a/javadoc/com/sun/speech/freetts/PhoneSetImpl.html +++ /dev/null @@ -1,301 +0,0 @@ - - - - - - -PhoneSetImpl (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Class PhoneSetImpl

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.PhoneSetImpl
-
-
-
All Implemented Interfaces:
PhoneSet
-
-
-
-
public class PhoneSetImpl
extends java.lang.Object
implements PhoneSet
- -

-Implementation of a PhoneSet that reads the info from - a file. The format of the file is as follows: - -

- phone feature value
- phone feature value
- phone feature value
- ...
- 
- - Where phone is the phone name, feature is - the phone feature such as "vc," "vlng," "vheight," and so on, and - "value" is the value of the feature. There can be multiple lines - for the same phone to describe various features of that phone. -

- -

-


- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from interface com.sun.speech.freetts.PhoneSet
CPLACE, CTYPE, CVOX, VC, VFRONT, VHEIGHT, VLNG, VRND
-  - - - - - - - - - - -
-Constructor Summary
PhoneSetImpl(java.net.URL url) - -
-          Create a new PhoneSetImpl by reading from the - given URL.
-  - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetPhoneFeature(java.lang.String phone, - java.lang.String featureName) - -
-          Given a phoneme and a feature name, returns the feature.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-PhoneSetImpl

-
-public PhoneSetImpl(java.net.URL url)
-             throws java.io.IOException
-
-
Create a new PhoneSetImpl by reading from the - given URL. -

-

Parameters:
url - the input source -
Throws: -
java.io.IOException - if an error occurs
- - - - - - - - -
-Method Detail
- -

-getPhoneFeature

-
-public java.lang.String getPhoneFeature(java.lang.String phone,
-                                        java.lang.String featureName)
-
-
Given a phoneme and a feature name, returns the feature. -

-

-
Specified by:
getPhoneFeature in interface PhoneSet
-
-
-
Parameters:
phone - the phoneme of interest
featureName - the name of the feature of interest -
Returns:
the feature with the given name
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/ProcessException.html b/javadoc/com/sun/speech/freetts/ProcessException.html deleted file mode 100644 index 4c4af69..0000000 --- a/javadoc/com/sun/speech/freetts/ProcessException.html +++ /dev/null @@ -1,241 +0,0 @@ - - - - - - -ProcessException (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Class ProcessException

-
-java.lang.Object
-  extended byjava.lang.Throwable
-      extended byjava.lang.Exception
-          extended bycom.sun.speech.freetts.ProcessException
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class ProcessException
extends java.lang.Exception
- -

-Thrown by an UtteranceProcessor if any errors - are encountered while processing an Utterance. -

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
ProcessException(java.lang.String s) - -
-          Class constructor.
-  - - - - - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-ProcessException

-
-public ProcessException(java.lang.String s)
-
-
Class constructor. -

-

Parameters:
s - the reason why the exception was thrown
- - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/Relation.html b/javadoc/com/sun/speech/freetts/Relation.html deleted file mode 100644 index 16b3654..0000000 --- a/javadoc/com/sun/speech/freetts/Relation.html +++ /dev/null @@ -1,601 +0,0 @@ - - - - - - -Relation (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Class Relation

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.Relation
-
-
-
All Implemented Interfaces:
Dumpable
-
-
-
-
public class Relation
extends java.lang.Object
implements Dumpable
- -

-Represents an ordered set of Items and their associated - children. A relation has a name and a list of items, and is - added to an Utterance via an UtteranceProcessor. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static java.lang.StringPHRASE - -
-          Name of the relation that groups elements from the Word relation - into phrases.
-static java.lang.StringSEGMENT - -
-          Name of the relation that contains the ordered list of the - smallest units of speech (typically phonemes) for the entire - utterance.
-static java.lang.StringSYLLABLE - -
-          Name of the relation that contains the description of the - syllables for the Utterance.
-static java.lang.StringSYLLABLE_STRUCTURE - -
-          Name of the relation that contains the syllable structure - for the utterance.
-static java.lang.StringTARGET - -
-          Name of the relation that maps fundamental frequency targets - to absolute times for wave to be generated from the utterance.
-static java.lang.StringTOKEN - -
-          Name of the relation that contains tokens from the original - input text.
-static java.lang.StringUNIT - -
-          Name of the relation that contains the ordered list of the - units from the unit database that will be used to create - the synthesized wave.
-static java.lang.StringWORD - -
-          Name of the relation that contains the normalized version of - the original input text.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ItemappendItem() - -
-          Adds a new item to this relation.
- ItemappendItem(Item originalItem) - -
-          Adds a new item to this relation.
- voiddump(java.io.PrintWriter pw, - int pad, - java.lang.String title) - -
-          Dumps this relation to the print writer.
- ItemgetHead() - -
-          Gets the head of the item list.
- java.lang.StringgetName() - -
-          Retrieves the name of this Relation.
- ItemgetTail() - -
-          Gets the tail of the item list.
- UtterancegetUtterance() - -
-          Returns the utterance that contains this relation.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-TOKEN

-
-public static final java.lang.String TOKEN
-
-
Name of the relation that contains tokens from the original - input text. This is the first thing to be added to the - utterance. -

-

-
See Also:
WORD, -Constant Field Values
-
-
- -

-WORD

-
-public static final java.lang.String WORD
-
-
Name of the relation that contains the normalized version of - the original input text. -

-

-
See Also:
TOKEN, -Constant Field Values
-
-
- -

-PHRASE

-
-public static final java.lang.String PHRASE
-
-
Name of the relation that groups elements from the Word relation - into phrases. -

-

-
See Also:
Constant Field Values
-
-
- -

-SEGMENT

-
-public static final java.lang.String SEGMENT
-
-
Name of the relation that contains the ordered list of the - smallest units of speech (typically phonemes) for the entire - utterance. -

-

-
See Also:
SYLLABLE, -SYLLABLE_STRUCTURE, -Segmenter, -Constant Field Values
-
-
- -

-SYLLABLE

-
-public static final java.lang.String SYLLABLE
-
-
Name of the relation that contains the description of the - syllables for the Utterance. This is typically added to the - utterance at the same time as the Segment and - SylStructure relations. -

-

-
See Also:
SEGMENT, -SYLLABLE_STRUCTURE, -Segmenter, -Constant Field Values
-
-
- -

-SYLLABLE_STRUCTURE

-
-public static final java.lang.String SYLLABLE_STRUCTURE
-
-
Name of the relation that contains the syllable structure - for the utterance. -

-

-
See Also:
SEGMENT, -SYLLABLE, -Segmenter, -Constant Field Values
-
-
- -

-TARGET

-
-public static final java.lang.String TARGET
-
-
Name of the relation that maps fundamental frequency targets - to absolute times for wave to be generated from the utterance. -

-

-
See Also:
Constant Field Values
-
-
- -

-UNIT

-
-public static final java.lang.String UNIT
-
-
Name of the relation that contains the ordered list of the - units from the unit database that will be used to create - the synthesized wave. -

-

-
See Also:
Constant Field Values
-
- - - - - - - - - - - -
-Method Detail
- -

-getName

-
-public java.lang.String getName()
-
-
Retrieves the name of this Relation. -

-

-
-
-
- -
Returns:
the name of this Relation
-
-
-
- -

-getHead

-
-public Item getHead()
-
-
Gets the head of the item list. -

-

-
-
-
- -
Returns:
the head item
-
-
-
- -

-getTail

-
-public Item getTail()
-
-
Gets the tail of the item list. -

-

-
-
-
- -
Returns:
the tail item
-
-
-
- -

-appendItem

-
-public Item appendItem()
-
-
Adds a new item to this relation. The item added does not share - its contents with any other item. -

-

-
-
-
- -
Returns:
the newly added item
-
-
-
- -

-appendItem

-
-public Item appendItem(Item originalItem)
-
-
Adds a new item to this relation. The item added shares its - contents with the original item. -

-

-
-
-
-
Parameters:
originalItem - the ItemContents that will be - shared by the new item -
Returns:
the newly added item
-
-
-
- -

-getUtterance

-
-public Utterance getUtterance()
-
-
Returns the utterance that contains this relation. -

-

-
-
-
- -
Returns:
the utterance that contains this relation
-
-
-
- -

-dump

-
-public void dump(java.io.PrintWriter pw,
-                 int pad,
-                 java.lang.String title)
-
-
Dumps this relation to the print writer. -

-

-
Specified by:
dump in interface Dumpable
-
-
-
Parameters:
pw - the output stream
pad - the padding
title - the title for the dump
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/Segmenter.html b/javadoc/com/sun/speech/freetts/Segmenter.html deleted file mode 100644 index 3515142..0000000 --- a/javadoc/com/sun/speech/freetts/Segmenter.html +++ /dev/null @@ -1,363 +0,0 @@ - - - - - - -Segmenter (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Class Segmenter

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.Segmenter
-
-
-
All Implemented Interfaces:
UtteranceProcessor
-
-
-
-
public class Segmenter
extends java.lang.Object
implements UtteranceProcessor
- -

-Annotates an utterance with Relation.SYLLABLE, - Relation.SYLLABLE_STRUCTURE, and - Relation.SEGMENT. - To determine stress, the isStressed method relies upon - a phone ending in the number "1". Subclasses should override - isStressed and deStress if stresses are - determined in other ways. -

- -

-

-
See Also:
Relation.SEGMENT, -Relation.SYLLABLE, -Relation.SYLLABLE_STRUCTURE
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
Segmenter() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  java.lang.StringdeStress(java.lang.String phone) - -
-          Converts stressed phoneme to regular phoneme.
-protected  booleanisStressed(java.lang.String phone) - -
-          Determines if the given phonemene is stressed. -
- voidprocessUtterance(Utterance utterance) - -
-          Annotates an utterance with Relation.SYLLABLE, - Relation.SYLLABLE_STRUCTURE, and - Relation.SEGMENT.
- java.lang.StringtoString() - -
-          Returns the simple name of this class.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-Segmenter

-
-public Segmenter()
-
-
- - - - - - - - -
-Method Detail
- -

-processUtterance

-
-public void processUtterance(Utterance utterance)
-                      throws ProcessException
-
-
Annotates an utterance with Relation.SYLLABLE, - Relation.SYLLABLE_STRUCTURE, and - Relation.SEGMENT. -

-

-
Specified by:
processUtterance in interface UtteranceProcessor
-
-
-
Parameters:
utterance - the utterance to process/tokenize -
Throws: -
ProcessException - if an IOException is thrown during the - processing of the utterance
See Also:
Relation.SEGMENT, -Relation.SYLLABLE, -Relation.SYLLABLE_STRUCTURE
-
-
-
- -

-isStressed

-
-protected boolean isStressed(java.lang.String phone)
-
-
Determines if the given phonemene is stressed. - To determine stress, this method relies upon - a phone ending in the number "1". Subclasses should override this - method if stresses are determined in other ways. -

-

-
-
-
-
Parameters:
phone - the phone to check -
Returns:
true if the phone is stressed, otherwise false
-
-
-
- -

-deStress

-
-protected java.lang.String deStress(java.lang.String phone)
-
-
Converts stressed phoneme to regular phoneme. This method - merely removes the last character of the phone. Subclasses - should override this if another method is to be used. -

-

-
-
-
-
Parameters:
phone - the phone to convert -
Returns:
de-stressed phone
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Returns the simple name of this class. -

-

-
-
-
- -
Returns:
the simple name of this class
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/Token.html b/javadoc/com/sun/speech/freetts/Token.html deleted file mode 100644 index 14d7850..0000000 --- a/javadoc/com/sun/speech/freetts/Token.html +++ /dev/null @@ -1,518 +0,0 @@ - - - - - - -Token (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Class Token

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.Token
-
-
-
-
public class Token
extends java.lang.Object
- -

-Contains a parsed token from a Tokenizer. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
Token() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- intgetLineNumber() - -
-          Returns the line of this token in the original text.
- intgetPosition() - -
-          Returns the position of this token in the original input text.
- java.lang.StringgetPostpunctuation() - -
-          Returns the postpunctuation characters of this Token.
- java.lang.StringgetPrepunctuation() - -
-          Returns the prepunctuation characters of this Token.
- java.lang.StringgetWhitespace() - -
-          Returns the whitespace characters of this Token.
- java.lang.StringgetWord() - -
-          Returns the string associated with this token.
- voidsetLineNumber(int lineNumber) - -
-          Set the line of this token in the original text.
- voidsetPosition(int position) - -
-          Sets the position of the token in the original input text.
- voidsetPostpunctuation(java.lang.String postpunctuation) - -
-          Sets the postpunctuation characters of this Token.
- voidsetPrepunctuation(java.lang.String prepunctuation) - -
-          Sets the prepunctuation characters of this Token.
- voidsetWhitespace(java.lang.String whitespace) - -
-          Sets the whitespace characters of this Token.
- voidsetWord(java.lang.String word) - -
-          Sets the string of this Token.
- java.lang.StringtoString() - -
-          Converts this token to a string.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-Token

-
-public Token()
-
-
- - - - - - - - -
-Method Detail
- -

-getWhitespace

-
-public java.lang.String getWhitespace()
-
-
Returns the whitespace characters of this Token. -

-

- -
Returns:
the whitespace characters of this Token; - null if this Token does not use whitespace characters
-
-
-
- -

-getPrepunctuation

-
-public java.lang.String getPrepunctuation()
-
-
Returns the prepunctuation characters of this Token. -

-

- -
Returns:
the prepunctuation characters of this Token; - null if this Token does not use prepunctuation characters
-
-
-
- -

-getPostpunctuation

-
-public java.lang.String getPostpunctuation()
-
-
Returns the postpunctuation characters of this Token. -

-

- -
Returns:
the postpunctuation characters of this Token; - null if this Token does not use postpunctuation characters
-
-
-
- -

-getPosition

-
-public int getPosition()
-
-
Returns the position of this token in the original input text. -

-

- -
Returns:
the position of this token in the original input text
-
-
-
- -

-getLineNumber

-
-public int getLineNumber()
-
-
Returns the line of this token in the original text. -

-

- -
Returns:
the line of this token in the original text
-
-
-
- -

-setWhitespace

-
-public void setWhitespace(java.lang.String whitespace)
-
-
Sets the whitespace characters of this Token. -

-

-
Parameters:
whitespace - the whitespace character for this token
-
-
-
- -

-setPrepunctuation

-
-public void setPrepunctuation(java.lang.String prepunctuation)
-
-
Sets the prepunctuation characters of this Token. -

-

-
Parameters:
prepunctuation - the prepunctuation characters
-
-
-
- -

-setPostpunctuation

-
-public void setPostpunctuation(java.lang.String postpunctuation)
-
-
Sets the postpunctuation characters of this Token. -

-

-
Parameters:
postpunctuation - the postpunctuation characters
-
-
-
- -

-setPosition

-
-public void setPosition(int position)
-
-
Sets the position of the token in the original input text. -

-

-
Parameters:
position - the position of the input text
-
-
-
- -

-setLineNumber

-
-public void setLineNumber(int lineNumber)
-
-
Set the line of this token in the original text. -

-

-
Parameters:
lineNumber - the line of this token in the original text
-
-
-
- -

-getWord

-
-public java.lang.String getWord()
-
-
Returns the string associated with this token. -

-

- -
Returns:
the token if it exists; otherwise null
-
-
-
- -

-setWord

-
-public void setWord(java.lang.String word)
-
-
Sets the string of this Token. -

-

-
Parameters:
word - the word for this token
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Converts this token to a string. -

-

- -
Returns:
the string representation of this object
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/Tokenizer.html b/javadoc/com/sun/speech/freetts/Tokenizer.html deleted file mode 100644 index 05400d8..0000000 --- a/javadoc/com/sun/speech/freetts/Tokenizer.html +++ /dev/null @@ -1,444 +0,0 @@ - - - - - - -Tokenizer (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Interface Tokenizer

-
-
All Known Implementing Classes:
TokenizerImpl
-
-
-
-
public interface Tokenizer
- -

-Chops a string or text file into Token instances. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetErrorDescription() - -
-          If hasErrors returns true, returns a description of the error - encountered.
- TokengetNextToken() - -
-          Returns the next token.
- booleanhasErrors() - -
-          Returns true if there were errors while reading tokens.
- booleanhasMoreTokens() - -
-          Returns true if there are more tokens, false otherwise.
- booleanisBreak() - -
-          Determines if the current token should start a new sentence.
- voidsetInputReader(java.io.Reader reader) - -
-          Sets the input reader.
- voidsetInputText(java.lang.String textToTokenize) - -
-          Sets the text to be tokenized by this tokenizer.
- voidsetPostpunctuationSymbols(java.lang.String symbols) - -
-          Sets the postpunctuation symbols of this Tokenizer to the given - symbols.
- voidsetPrepunctuationSymbols(java.lang.String symbols) - -
-          Sets the prepunctuation symbols of this Tokenizer to the given - symbols.
- voidsetSingleCharSymbols(java.lang.String symbols) - -
-          Sets the single character symbols of this Tokenizer to the given - symbols.
- voidsetWhitespaceSymbols(java.lang.String symbols) - -
-          Sets the whitespace symbols of this Tokenizer to the given - symbols.
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-setInputText

-
-public void setInputText(java.lang.String textToTokenize)
-
-
Sets the text to be tokenized by this tokenizer. -

-

-
Parameters:
textToTokenize - the text to tokenize
-
-
-
- -

-setInputReader

-
-public void setInputReader(java.io.Reader reader)
-
-
Sets the input reader. -

-

-
Parameters:
reader - the input source
-
-
-
- -

-getNextToken

-
-public Token getNextToken()
-
-
Returns the next token. -

-

- -
Returns:
the next token if it exists; otherwise null
-
-
-
- -

-hasMoreTokens

-
-public boolean hasMoreTokens()
-
-
Returns true if there are more tokens, false otherwise. -

-

- -
Returns:
true if there are more tokens; otherwise false
-
-
-
- -

-hasErrors

-
-public boolean hasErrors()
-
-
Returns true if there were errors while reading tokens. -

-

- -
Returns:
true if there were errors; otherwise false
-
-
-
- -

-getErrorDescription

-
-public java.lang.String getErrorDescription()
-
-
If hasErrors returns true, returns a description of the error - encountered. Otherwise returns null. -

-

- -
Returns:
a description of the last error that occurred
-
-
-
- -

-setWhitespaceSymbols

-
-public void setWhitespaceSymbols(java.lang.String symbols)
-
-
Sets the whitespace symbols of this Tokenizer to the given - symbols. -

-

-
Parameters:
symbols - the whitespace symbols
-
-
-
- -

-setSingleCharSymbols

-
-public void setSingleCharSymbols(java.lang.String symbols)
-
-
Sets the single character symbols of this Tokenizer to the given - symbols. -

-

-
Parameters:
symbols - the single character symbols
-
-
-
- -

-setPrepunctuationSymbols

-
-public void setPrepunctuationSymbols(java.lang.String symbols)
-
-
Sets the prepunctuation symbols of this Tokenizer to the given - symbols. -

-

-
Parameters:
symbols - the prepunctuation symbols
-
-
-
- -

-setPostpunctuationSymbols

-
-public void setPostpunctuationSymbols(java.lang.String symbols)
-
-
Sets the postpunctuation symbols of this Tokenizer to the given - symbols. -

-

-
Parameters:
symbols - the postpunctuation symbols
-
-
-
- -

-isBreak

-
-public boolean isBreak()
-
-
Determines if the current token should start a new sentence. -

-

- -
Returns:
true if a new sentence should be started
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/Unit.html b/javadoc/com/sun/speech/freetts/Unit.html deleted file mode 100644 index 470a518..0000000 --- a/javadoc/com/sun/speech/freetts/Unit.html +++ /dev/null @@ -1,282 +0,0 @@ - - - - - - -Unit (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Interface Unit

-
-
-
public interface Unit
- -

-Defines a generic interface to a Unit. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voiddump() - -
-          Dumps this unit.
- java.lang.StringgetName() - -
-          Returns the name of this Unit.
- SamplegetNearestSample(float index) - -
-          Retrieves the nearest sample.
- intgetSize() - -
-          Returns the size of this unit.
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-getName

-
-public java.lang.String getName()
-
-
Returns the name of this Unit. -

-

- -
Returns:
the name of this Unit
-
-
-
- -

-getSize

-
-public int getSize()
-
-
Returns the size of this unit. -

-

- -
Returns:
the size of this unit
-
-
-
- -

-getNearestSample

-
-public Sample getNearestSample(float index)
-
-
Retrieves the nearest sample. -

-

-
Parameters:
index - the ideal index -
Returns:
the nearest Sample
-
-
-
- -

-dump

-
-public void dump()
-
-
Dumps this unit. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/Utterance.html b/javadoc/com/sun/speech/freetts/Utterance.html deleted file mode 100644 index e646286..0000000 --- a/javadoc/com/sun/speech/freetts/Utterance.html +++ /dev/null @@ -1,994 +0,0 @@ - - - - - - -Utterance (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Class Utterance

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.Utterance
-
-
-
All Implemented Interfaces:
Dumpable, FeatureSet, java.io.Serializable
-
-
-
-
public class Utterance
extends java.lang.Object
implements FeatureSet, java.io.Serializable
- -

-Holds all the data for an utterance to be spoken. - It is incrementally modified by various UtteranceProcessor - implementations. An utterance contains a set of Features (essential - a set of properties) and a set of Relations. A Relation is an - ordered set of Item graphs. The utterance contains a set of - features and implements FeatureSet so that applications can set/get - features directly from the utterance. If a feature query is not - found in the utterance feature set, the query is forwarded to the - FeatureSet of the voice associated with the utterance. -

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
Utterance(Voice voice) - -
-          Creates a new, empty utterance.
Utterance(Voice voice, - java.util.List tokenList) - -
-          Creates an utterance with the given set of tokenized text.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- RelationcreateRelation(java.lang.String name) - -
-          Creates a new relation with the given name and adds it to this - utterance.
- voiddump(java.io.PrintWriter output, - int pad, - java.lang.String title) - -
-          Dumps this utterance in textual form.
- voiddump(java.io.PrintWriter output, - int pad, - java.lang.String title, - boolean justRelations) - -
-          Dumps this utterance in textual form.
- voiddump(java.io.PrintWriter output, - java.lang.String title) - -
-          Dumps this utterance in textual form.
- voiddump(java.lang.String title) - -
-          Dumps this utterance in textual form.
- voiddumpRelations(java.lang.String title) - -
-          Dumps the utterance in textual form
- floatgetDuration() - -
-          Returns the duration of this Utterance in seconds.
- floatgetFloat(java.lang.String name) - -
-          Convenience method that returns the named feature as a float. -
- intgetInt(java.lang.String name) - -
-          Convenience method that returns the named feature as a int. -
- ItemgetItem(java.lang.String relation, - float time) - -
-          Returns the Item in the given Relation associated with the given time.
- java.lang.ObjectgetObject(java.lang.String name) - -
-          Returns the named feature as an object. -
- RelationgetRelation(java.lang.String name) - -
-          Retrieves a relation from this utterance.
- FreeTTSSpeakablegetSpeakable() - -
-          Returns the queueitem associated with this utterance.
- java.lang.StringgetString(java.lang.String name) - -
-          Convenience method that returns the named feature as a string. -
- VoicegetVoice() - -
-          Retrieves the Voice associated with this Utterance.
- booleanhasRelation(java.lang.String name) - -
-          Determines if this utterance contains a relation with the given - name.
- booleanisFirst() - -
-          Returns true if this utterance is the first is a series of - utterances.
- booleanisLast() - -
-          Returns true if this utterance is the last is a series of - utterances.
- booleanisPresent(java.lang.String name) - -
-          Determines if the given feature is present.
- voidremove(java.lang.String name) - -
-          Removes the named feature from this set of features.
- voidsetFirst(boolean first) - -
-          Sets this utterance as the first in a series.
- voidsetFloat(java.lang.String name, - float value) - -
-          Convenience method that sets the named feature as a float.
- voidsetInt(java.lang.String name, - int value) - -
-          Convenience method that sets the named feature as an int.
- voidsetLast(boolean last) - -
-          Sets this utterance as the last in a series.
- voidsetObject(java.lang.String name, - java.lang.Object value) - -
-          Sets the named feature.
- voidsetSpeakable(FreeTTSSpeakable speakable) - -
-          Sets the speakable item for this utterance.
- voidsetString(java.lang.String name, - java.lang.String value) - -
-          Convenience method that sets the named feature as a String.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-Utterance

-
-public Utterance(Voice voice)
-
-
Creates a new, empty utterance. -

-

Parameters:
voice - the voice associated with the utterance
-
- -

-Utterance

-
-public Utterance(Voice voice,
-                 java.util.List tokenList)
-
-
Creates an utterance with the given set of tokenized text. -

-

Parameters:
voice - the voice associated with the utterance
tokenList - the list of tokens for this utterance
- - - - - - - - -
-Method Detail
- -

-setSpeakable

-
-public void setSpeakable(FreeTTSSpeakable speakable)
-
-
Sets the speakable item for this utterance. -

-

-
-
-
-
Parameters:
speakable - the speakable item for this utterance
-
-
-
- -

-getSpeakable

-
-public FreeTTSSpeakable getSpeakable()
-
-
Returns the queueitem associated with this utterance. -

-

-
-
-
- -
Returns:
the queue item
-
-
-
- -

-createRelation

-
-public Relation createRelation(java.lang.String name)
-
-
Creates a new relation with the given name and adds it to this - utterance. -

-

-
-
-
-
Parameters:
name - the name of the new relation -
Returns:
the newly created relation
-
-
-
- -

-getRelation

-
-public Relation getRelation(java.lang.String name)
-
-
Retrieves a relation from this utterance. -

-

-
-
-
-
Parameters:
name - the name of the Relation -
Returns:
the relation or null if the relation is not found
-
-
-
- -

-hasRelation

-
-public boolean hasRelation(java.lang.String name)
-
-
Determines if this utterance contains a relation with the given - name. -

-

-
-
-
-
Parameters:
name - the name of the relation of interest.
-
-
-
- -

-getVoice

-
-public Voice getVoice()
-
-
Retrieves the Voice associated with this Utterance. -

-

-
-
-
- -
Returns:
the voice associated with this utterance.
-
-
-
- -

-dump

-
-public void dump(java.io.PrintWriter output,
-                 int pad,
-                 java.lang.String title,
-                 boolean justRelations)
-
-
Dumps this utterance in textual form. -

-

-
-
-
-
Parameters:
output - where to send the formatted output
pad - the initial padding
title - the title to print when dumping out the utterance
justRelations - if true don't print voice features
-
-
-
- -

-dump

-
-public void dump(java.io.PrintWriter output,
-                 int pad,
-                 java.lang.String title)
-
-
Dumps this utterance in textual form. -

-

-
Specified by:
dump in interface FeatureSet
-
-
-
Parameters:
output - where to send the formatted output
pad - the initial padding
title - the title to print when dumping out the utterance
-
-
-
- -

-dump

-
-public void dump(java.io.PrintWriter output,
-                 java.lang.String title)
-
-
Dumps this utterance in textual form. -

-

-
-
-
-
Parameters:
output - where to send the formatted output
title - the title to print when dumping out the utterance
-
-
-
- -

-dump

-
-public void dump(java.lang.String title)
-
-
Dumps this utterance in textual form. -

-

-
-
-
-
Parameters:
title - the title to print when dumping out the utterance
-
-
-
- -

-dumpRelations

-
-public void dumpRelations(java.lang.String title)
-
-
Dumps the utterance in textual form -

-

-
-
-
-
Parameters:
title - the title to print when dumping out the utterance
-
-
-
- -

-isPresent

-
-public boolean isPresent(java.lang.String name)
-
-
Determines if the given feature is present. If the feature is - not present in the utterance, the feature set of the voice is - checked. -

-

-
Specified by:
isPresent in interface FeatureSet
-
-
-
Parameters:
name - the name of the feature of interest -
Returns:
true if the named feature is present
-
-
-
- -

-remove

-
-public void remove(java.lang.String name)
-
-
Removes the named feature from this set of features. -

-

-
Specified by:
remove in interface FeatureSet
-
-
-
Parameters:
name - the name of the feature of interest
-
-
-
- -

-getString

-
-public java.lang.String getString(java.lang.String name)
-
-
Convenience method that returns the named feature as a string. - If the named feature is not present in the utterance, then this - attempts to retrieve it from the voice. -

-

-
Specified by:
getString in interface FeatureSet
-
-
-
Parameters:
name - the name of the feature -
Returns:
the value associated with the name or null if the value - is not found -
Throws: -
java.lang.ClassCastException - if the associated value is not a - String
-
-
-
- -

-getInt

-
-public int getInt(java.lang.String name)
-
-
Convenience method that returns the named feature as a int. - If the named feature is not present in the utterance, then this - attempts to retrieve it from the voice. -

-

-
Specified by:
getInt in interface FeatureSet
-
-
-
Parameters:
name - the name of the feature -
Returns:
the value associated with the name or null if the value - is not found -
Throws: -
java.lang.ClassCastException - if the associated value is not an - int
-
-
-
- -

-getFloat

-
-public float getFloat(java.lang.String name)
-
-
Convenience method that returns the named feature as a float. - If the named feature is not present in the utterance, then this - attempts to retrieve it from the voice. -

-

-
Specified by:
getFloat in interface FeatureSet
-
-
-
Parameters:
name - the name of the feature -
Returns:
the value associated with the name or null if the value - is not found -
Throws: -
java.lang.ClassCastException - if the associated value is not a - float
-
-
-
- -

-getObject

-
-public java.lang.Object getObject(java.lang.String name)
-
-
Returns the named feature as an object. - If the named feature is not present in the utterance, then this - attempts to retrieve it from the voice. -

-

-
Specified by:
getObject in interface FeatureSet
-
-
-
Parameters:
name - the name of the feature -
Returns:
the value associated with the name or null if the value - is not found
-
-
-
- -

-setInt

-
-public void setInt(java.lang.String name,
-                   int value)
-
-
Convenience method that sets the named feature as an int. -

-

-
Specified by:
setInt in interface FeatureSet
-
-
-
Parameters:
name - the name of the feature
value - the value of the feature
-
-
-
- -

-setFloat

-
-public void setFloat(java.lang.String name,
-                     float value)
-
-
Convenience method that sets the named feature as a float. -

-

-
Specified by:
setFloat in interface FeatureSet
-
-
-
Parameters:
name - the name of the feature
value - the value of the feature
-
-
-
- -

-setString

-
-public void setString(java.lang.String name,
-                      java.lang.String value)
-
-
Convenience method that sets the named feature as a String. -

-

-
Specified by:
setString in interface FeatureSet
-
-
-
Parameters:
name - the name of the feature
value - the value of the feature
-
-
-
- -

-setObject

-
-public void setObject(java.lang.String name,
-                      java.lang.Object value)
-
-
Sets the named feature. -

-

-
Specified by:
setObject in interface FeatureSet
-
-
-
Parameters:
name - the name of the feature
value - the value of the feature
-
-
-
- -

-getItem

-
-public Item getItem(java.lang.String relation,
-                    float time)
-
-
Returns the Item in the given Relation associated with the given time. -

-

-
-
-
-
Parameters:
relation - the name of the relation
time - the time -
Throws: -
java.lang.IllegalStateException - if the Segment durations - have not been calculated in the Utterance or if the - given relation is not present in the Utterance
-
-
-
- -

-getDuration

-
-public float getDuration()
-
-
Returns the duration of this Utterance in seconds. It does this - by looking at last Item in the following Relations, in this order: - Segment, Target. If none of these Relations exist, or if these - Relations contain no Items, an IllegalStateException will be thrown. -

-

-
-
-
- -
Returns:
the duration of this Utterance in seconds
-
-
-
- -

-isFirst

-
-public boolean isFirst()
-
-
Returns true if this utterance is the first is a series of - utterances. -

-

-
-
-
- -
Returns:
true if this is the first utterance in a series of - connected utterances.
-
-
-
- -

-setFirst

-
-public void setFirst(boolean first)
-
-
Sets this utterance as the first in a series. -

-

-
-
-
-
Parameters:
first - if true, the item is the first in a series
-
-
-
- -

-isLast

-
-public boolean isLast()
-
-
Returns true if this utterance is the last is a series of - utterances. -

-

-
-
-
- -
Returns:
true if this is the last utterance in a series of - connected utterances.
-
-
-
- -

-setLast

-
-public void setLast(boolean last)
-
-
Sets this utterance as the last in a series. -

-

-
-
-
-
Parameters:
last - if true, the item is the last in a series
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/UtteranceProcessor.html b/javadoc/com/sun/speech/freetts/UtteranceProcessor.html deleted file mode 100644 index 68d66e1..0000000 --- a/javadoc/com/sun/speech/freetts/UtteranceProcessor.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - -UtteranceProcessor (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Interface UtteranceProcessor

-
-
All Known Implementing Classes:
AudioOutput, ClusterUnitPitchmarkGenerator, ClusterUnitSelector, ContourGenerator, DiphonePitchmarkGenerator, DiphoneUnitSelector, Durator, Intonator, MbrolaAudioOutput, MbrolaCaller, ParametersToMbrolaConverter, PartOfSpeechTagger, PauseGenerator, Phraser, PostLexicalAnalyzer, Segmenter, TokenToWords, UnitConcatenator, Voice
-
-
-
-
public interface UtteranceProcessor
- -

-Performs an operation on an Utterance. - Examples of classes that might implement - this interface include a Tokenizer, Normalizer, PartOfSpeechTagger, - etc. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidprocessUtterance(Utterance u) - -
-          Performs an operation on the given Utterance.
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-processUtterance

-
-public void processUtterance(Utterance u)
-                      throws ProcessException
-
-
Performs an operation on the given Utterance. -

-

-
Parameters:
u - the utterance on which to perform operations -
Throws: -
ProcessException - if an exception occurred during the operation
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/ValidationException.html b/javadoc/com/sun/speech/freetts/ValidationException.html deleted file mode 100644 index edf6c6b..0000000 --- a/javadoc/com/sun/speech/freetts/ValidationException.html +++ /dev/null @@ -1,241 +0,0 @@ - - - - - - -ValidationException (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Class ValidationException

-
-java.lang.Object
-  extended byjava.lang.Throwable
-      extended byjava.lang.Exception
-          extended bycom.sun.speech.freetts.ValidationException
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class ValidationException
extends java.lang.Exception
- -

-Thrown by a Validator if any errors - are encountered while validating. -

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
ValidationException(java.lang.String s) - -
-          Class constructor.
-  - - - - - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-ValidationException

-
-public ValidationException(java.lang.String s)
-
-
Class constructor. -

-

Parameters:
s - the reason why the exception was thrown
- - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/Validator.html b/javadoc/com/sun/speech/freetts/Validator.html deleted file mode 100644 index af2f45d..0000000 --- a/javadoc/com/sun/speech/freetts/Validator.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - -Validator (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Interface Validator

-
-
All Known Implementing Classes:
MbrolaVoiceValidator
-
-
-
-
public interface Validator
- -

-Implementors of this interface can be validated via the validate() - method. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidvalidate() - -
-          Validates a certain condition.
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-validate

-
-public void validate()
-              throws ValidationException
-
-
Validates a certain condition. -

-

- -
Throws: -
a - ValidationException if the condition is invalid. -
ValidationException
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/Voice.html b/javadoc/com/sun/speech/freetts/Voice.html deleted file mode 100644 index 095f6b4..0000000 --- a/javadoc/com/sun/speech/freetts/Voice.html +++ /dev/null @@ -1,2347 +0,0 @@ - - - - - - -Voice (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Class Voice

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.Voice
-
-
-
All Implemented Interfaces:
Dumpable, UtteranceProcessor
-
-
-
Direct Known Subclasses:
CMUVoice
-
-
-
-
public abstract class Voice
extends java.lang.Object
implements UtteranceProcessor, Dumpable
- -

-Performs text-to-speech using a series of - UtteranceProcessors. It is the main conduit to the FreeTTS - speech synthesizer. It can perform TTS on ASCII text, - a JSML document, an InputStream, or a - FreeTTSSpeakable, by invoking the method speak. - -

Before a Voice can perform TTS, it must have a - Lexicon, from which it gets the vocabulary, and - an AudioPlayer, to which it sends the synthesized output. - -

Example (using the CMUDiphoneVoice, - CMULexicon and JavaClipAudioPlayer): - -

- Voice voice = new CMUDiphoneVoice();
-
- // sets the Lexicon
- voice.setLexicon(new CMULexicon());
-
- // sets the AudioPlayer
- voice.setAudioPlayer(new JavaClipAudioPlayer());
-
- // loads the Voice
- voice.allocate();
-
- // start talking
- voice.speak("I can talk forever without getting tired!");
- 
- - -

A user can override the AudioPlayer to use by defining the - "com.sun.speech.freetts.voice.defaultAudioPlayer" system property. - The value of this property must be the name of a class that - implements the AudioPlayer interface, and which also has a no-arg - constructor. -

- -

-

-
See Also:
VoiceManager, -VoiceDirectory
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static java.lang.StringDATABASE_NAME - -
-          Constant that describes the name of the unit database used by - this voice.
-static java.lang.StringDEFAULT_AUDIO_PLAYER - -
-          Feature name for the default AudioPlayer class to use.
-static java.lang.StringDEFAULT_AUDIO_PLAYER_DEFAULT - -
-          The default class to use for the DEFAULT_AUDIO_PLAYER.
-static java.lang.StringFEATURE_JOIN_TYPE - -
-          Feature name for the join type string.
-static java.lang.StringFEATURE_SILENCE - -
-          Feature name for the silence phone string.
-static java.lang.StringPROP_PREFIX - -
-          Prefix for System property names.
-  - - - - - - - - - - - - - -
-Constructor Summary
Voice() - -
-          Creates a new Voice.
Voice(java.lang.String name, - Gender gender, - Age age, - java.lang.String description, - java.util.Locale locale, - java.lang.String domain, - java.lang.String organization) - -
-          Creates a new Voice like above, except that it also - stores the properties of the voice.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddFeatureProcessor(java.lang.String name, - FeatureProcessor fp) - -
-          Adds a language/voice specific Feature Processor to the set of - FeatureProcessors supported by this voice.
- voidallocate() - -
-          Allocate this Voice.
-static OutputQueuecreateOutputThread() - -
-          Creates an output thread that will asynchronously - output utterances that are generated by this voice (and other - voices).
- voiddeallocate() - -
-          Shuts down the voice processing.
- voiddump(java.io.PrintWriter output, - int pad, - java.lang.String title) - -
-          Dumps the voice in textual form.
- voiddumpProcessors(java.io.PrintWriter output, - int pad, - java.lang.String title) - -
-          Dumps the voice processors.
- voidendBatch() - -
-          Ends a batch of utterances.
- AgegetAge() - -
-          Get the age of this voice.
-protected abstract  UtteranceProcessorgetAudioOutput() - -
-          Returns the AudioOutput processor to be used by this voice. -
- AudioPlayergetAudioPlayer() - -
-          Gets the audio player associated with this voice.
- AudioPlayergetDefaultAudioPlayer() - -
-          Gets the default audio player for this voice.
- java.lang.StringgetDescription() - -
-          Get the description of this voice.
- java.lang.StringgetDomain() - -
-          Get the domain of this voice.
- floatgetDurationStretch() - -
-          Gets the duration Stretch
- FeatureProcessorgetFeatureProcessor(java.lang.String name) - -
-          Returns a language/voice specific Feature Processor.
- FeatureSetgetFeatures() - -
-          Returns the feature set associated with this voice.
- GendergetGender() - -
-          Get the gender of this voice.
- LexicongetLexicon() - -
-          Gets the lexicon for this voice.
- java.util.LocalegetLocale() - -
-          Get the locale of this voice.
- java.lang.StringgetName() - -
-          Get the name of this voice.
- java.lang.StringgetOrganization() - -
-          Gets the organization which created this voice.
- OutputQueuegetOutputQueue() - -
-          Returns the output queue associated with this voice.
- java.lang.StringgetPhoneFeature(java.lang.String phone, - java.lang.String featureName) - -
-          Given a phoneme and a feature name, returns the feature.
- floatgetPitch() - -
-          Retreives the baseline pitch.
- floatgetPitchRange() - -
-          Gets the pitch range.
- floatgetPitchShift() - -
-          Gets the pitch shift.
- floatgetRate() - -
-          Gets the rate of speech.
-protected  java.net.URLgetResource(java.lang.String resource) - -
-          Get a resource for this voice. -
- java.lang.StringgetRunTitle() - -
-          Gets the title for this run.
- java.lang.StringgetStyle() - -
-          Gets the voice style.
-abstract  TokenizergetTokenizer() - -
-          Returns the tokenizer associated with this voice.
- java.util.ListgetUtteranceProcessors() - -
-          Return the list of UtteranceProcessor instances.
- floatgetVolume() - -
-          Gets the volume.
- java.lang.StringgetWaveDumpFile() - -
-          Gets the dumpfile for this voice.
- booleanisDetailedMetrics() - -
-          Gets the state of the detailedMetrics mode.
- booleanisDumpRelations() - -
-          Gets the state of the dumpRelations mode.
- booleanisDumpUtterance() - -
-          Gets the state of the dumpUtterance mode.
- booleanisLoaded() - -
-          Returns true if this voice is loaded.
- booleanisMetrics() - -
-          Gets the state of the metrics mode.
- voidload() - -
-          Deprecated. As of FreeTTS 1.2, replaced by allocate().
-protected abstract  voidloader() - -
-          Loads voice specific data.
-protected  java.lang.StringBufferprocessNode(org.w3c.dom.Node n, - java.lang.StringBuffer buf) - -
-          Adds text for just this node and returns any text that might - be needed to undo the effects of this node after it is - processed.
- voidprocessUtterance(Utterance u) - -
-          Processes the given Utterance by passing it to each - UtteranceProcessor managed by this Voice.
-protected  voidsetAge(Age age) - -
-          Set the age of this voice.
- voidsetAudioPlayer(AudioPlayer player) - -
-          Sets the audio player associated with this voice.
-protected  voidsetDescription(java.lang.String description) - -
-          Set the description of this voice.
- voidsetDetailedMetrics(boolean detailedMetrics) - -
-          Sets the state of the detailedMetrics mode.
-protected  voidsetDomain(java.lang.String domain) - -
-          Set the domain of this voice.
- voidsetDumpRelations(boolean dumpRelations) - -
-          Sets the state of the dumpRelations mode.
- voidsetDumpUtterance(boolean dumpUtterance) - -
-          Sets the state of the dumpUtterance mode.
- voidsetDurationStretch(float stretch) - -
-          Sets the duration stretch
-protected  voidsetGender(Gender gender) - -
-          Set the gender of this voice.
- voidsetLexicon(Lexicon lexicon) - -
-          Sets the lexicon to be used by this voice.
-protected  voidsetLoaded(boolean loaded) - -
-          Sets the loaded state
-protected  voidsetLocale(java.util.Locale locale) - -
-          Set the locale of this voice.
- voidsetMetrics(boolean metrics) - -
-          Sets the metrics mode.
-protected  voidsetName(java.lang.String name) - -
-          Set the name of this voice. -
-protected  voidsetOrganization(java.lang.String organization) - -
-          Sets the organization which created this voice.
- voidsetOutputQueue(OutputQueue queue) - -
-          Sets the output queue for this voice.
- voidsetPitch(float hertz) - -
-          Sets the baseline pitch.
- voidsetPitchRange(float range) - -
-          Sets the pitch range.
- voidsetPitchShift(float shift) - -
-          Sets the pitch shift
- voidsetRate(float wpm) - -
-          Sets the rate of speech.
- voidsetRunTitle(java.lang.String runTitle) - -
-          Sets the title for this run.
- voidsetStyle(java.lang.String style) - -
-          Sets the voice style.
- voidsetVolume(float vol) - -
-          Sets the volume.
- voidsetWaveDumpFile(java.lang.String waveDumpFile) - -
-          Sets the dumpfile for this voice.
- booleanspeak(org.w3c.dom.Document doc) - -
-          Speaks the given document.
- booleanspeak(FreeTTSSpeakable speakable) - -
-          Speak the given queue item.
- booleanspeak(java.io.InputStream inputStream) - -
-          Speaks the input stream.
- booleanspeak(java.lang.String text) - -
-          Speaks the given text.
- voidstartBatch() - -
-          Starts a batch of utterances.
- java.lang.StringtoString() - -
-          Returns the name of this Voice.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-DATABASE_NAME

-
-public static final java.lang.String DATABASE_NAME
-
-
Constant that describes the name of the unit database used by - this voice. -

-

-
See Also:
Constant Field Values
-
-
- -

-PROP_PREFIX

-
-public static final java.lang.String PROP_PREFIX
-
-
Prefix for System property names. -

-

-
See Also:
Constant Field Values
-
-
- -

-FEATURE_SILENCE

-
-public static final java.lang.String FEATURE_SILENCE
-
-
Feature name for the silence phone string. -

-

-
See Also:
Constant Field Values
-
-
- -

-FEATURE_JOIN_TYPE

-
-public static final java.lang.String FEATURE_JOIN_TYPE
-
-
Feature name for the join type string. -

-

-
See Also:
Constant Field Values
-
-
- -

-DEFAULT_AUDIO_PLAYER

-
-public static final java.lang.String DEFAULT_AUDIO_PLAYER
-
-
Feature name for the default AudioPlayer class to use. -

-

-
See Also:
Constant Field Values
-
-
- -

-DEFAULT_AUDIO_PLAYER_DEFAULT

-
-public static final java.lang.String DEFAULT_AUDIO_PLAYER_DEFAULT
-
-
The default class to use for the DEFAULT_AUDIO_PLAYER. -

-

-
See Also:
Constant Field Values
-
- - - - - - - - -
-Constructor Detail
- -

-Voice

-
-public Voice()
-
-
Creates a new Voice. Utterances are sent to an - output queue to be rendered as audio. Utterances are placed - on the queue by an output thread. This - queue is usually created via a call to 'createOutputThread,' - which creates a thread that waits on the queue and sends the - output to the audio player associated with this voice. If - the queue is null, the output is rendered in the calling - thread. -

-

See Also:
createOutputThread()
-
- -

-Voice

-
-public Voice(java.lang.String name,
-             Gender gender,
-             Age age,
-             java.lang.String description,
-             java.util.Locale locale,
-             java.lang.String domain,
-             java.lang.String organization)
-
-
Creates a new Voice like above, except that it also - stores the properties of the voice. -

-

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".
See Also:
Voice()
- - - - - - - - -
-Method Detail
- -

-speak

-
-public boolean speak(java.lang.String text)
-
-
Speaks the given text. -

-

-
-
-
-
Parameters:
text - the text to speak -
Returns:
true if the given text is spoken properly; - otherwise false
-
-
-
- -

-speak

-
-public boolean speak(org.w3c.dom.Document doc)
-
-
Speaks the given document. -

-

-
-
-
-
Parameters:
doc - the JSML document to speak -
Returns:
true if the given document is spoken properly; - otherwise false
-
-
-
- -

-speak

-
-public boolean speak(java.io.InputStream inputStream)
-
-
Speaks the input stream. -

-

-
-
-
-
Parameters:
inputStream - the inputStream to speak -
Returns:
true if the given input stream is spoken properly; - otherwise false
-
-
-
- -

-speak

-
-public boolean speak(FreeTTSSpeakable speakable)
-
-
Speak the given queue item. This is a synchronous method that - does not return until the speakable is completely - spoken or has been cancelled. -

-

-
-
-
-
Parameters:
speakable - the item to speak -
Returns:
true if the utterance was spoken properly, - false otherwise
-
-
-
- -

-load

-
-public void load()
-
-
Deprecated. As of FreeTTS 1.2, replaced by allocate(). -

-

-
-
-
-
-
-
-
- -

-allocate

-
-public void allocate()
-
-
Allocate this Voice. It loads the lexicon and the - audio output handler, and creates an audio output thread by - invoking createOutputThread(), if - one is not already created. It then calls the loader() - method to load Voice-specific data, which include utterance processors. -

-

-
-
-
-
-
-
-
- -

-isLoaded

-
-public boolean isLoaded()
-
-
Returns true if this voice is loaded. -

-

-
-
-
- -
Returns:
true if the voice is loaded; - otherwise false
-
-
-
- -

-setLoaded

-
-protected void setLoaded(boolean loaded)
-
-
Sets the loaded state -

-

-
-
-
-
Parameters:
loaded - the new loaded state - otherwise false
-
-
-
- -

-processUtterance

-
-public void processUtterance(Utterance u)
-                      throws ProcessException
-
-
Processes the given Utterance by passing it to each - UtteranceProcessor managed by this Voice. The - UtteranceProcessors are called in the order they were added to - the Voice. -

-

-
Specified by:
processUtterance in interface UtteranceProcessor
-
-
-
Parameters:
u - the Utterance to process -
Throws: -
ProcessException - if an exception occurred while performing - operations on the Utterance
-
-
-
- -

-createOutputThread

-
-public static OutputQueue createOutputThread()
-
-
Creates an output thread that will asynchronously - output utterances that are generated by this voice (and other - voices). -

-

-
-
-
- -
Returns:
the queue where utterances should be placed.
-
-
-
- -

-getTokenizer

-
-public abstract Tokenizer getTokenizer()
-
-
Returns the tokenizer associated with this voice. -

-

-
-
-
- -
Returns:
the tokenizer
-
-
-
- -

-getUtteranceProcessors

-
-public java.util.List getUtteranceProcessors()
-
-
Return the list of UtteranceProcessor instances. Applications - should use this to obtain and modify the contents of the - UtteranceProcessor list. -

-

-
-
-
- -
Returns:
a List containing UtteranceProcessor instances
-
-
-
- -

-getFeatures

-
-public FeatureSet getFeatures()
-
-
Returns the feature set associated with this voice. -

-

-
-
-
- -
Returns:
the feature set.
-
-
-
- -

-startBatch

-
-public void startBatch()
-
-
Starts a batch of utterances. Utterances are sometimes - batched in groups for timing purposes. -

-

-
-
-
-
See Also:
endBatch()
-
-
-
- -

-endBatch

-
-public void endBatch()
-
-
Ends a batch of utterances. -

-

-
-
-
-
See Also:
startBatch()
-
-
-
- -

-setOutputQueue

-
-public void setOutputQueue(OutputQueue queue)
-
-
Sets the output queue for this voice. If no output queue is set - for the voice when the voice is loaded, a queue and thread will - be created when the voice is loaded. If the outputQueue is set - by an external entity by calling setOutputQueue, the caller is - responsible for shutting down the output thread. That is, if - you call 'setOutputQueue' then you are responsible for shutting - down the output thread on your own. This is necessary since the - output queue may be shared by a number of voices. - -

Utterances are placed on the - queue to be output by an output thread. This queue is - usually created via a call to 'createOutputThread' which - creates a thread that waits on the queue and sends the - output to the audio player associated with this voice. If - the queue is null, the output is rendered in the calling - thread. -

-

-
-
-
-
Parameters:
queue - the output queue
-
-
-
- -

-getOutputQueue

-
-public OutputQueue getOutputQueue()
-
-
Returns the output queue associated with this voice. -

-

-
-
-
- -
Returns:
the output queue associated with this voice
-
-
-
- -

-loader

-
-protected abstract void loader()
-                        throws java.io.IOException
-
-
Loads voice specific data. Subclasses of voice should - implement this to perform class specific loading. -

-

-
-
-
- -
Throws: -
java.io.IOException
-
-
-
- -

-processNode

-
-protected java.lang.StringBuffer processNode(org.w3c.dom.Node n,
-                                             java.lang.StringBuffer buf)
-
-
Adds text for just this node and returns any text that might - be needed to undo the effects of this node after it is - processed. -

-

-
-
-
-
Parameters:
n - the node to traverse in depth-first order
buf - the buffer to append text to -
Returns:
a String containing text to undo the - effects of the node
-
-
-
- -

-dump

-
-public void dump(java.io.PrintWriter output,
-                 int pad,
-                 java.lang.String title)
-
-
Dumps the voice in textual form. -

-

-
Specified by:
dump in interface Dumpable
-
-
-
Parameters:
output - where to send the formatted output
pad - the initial padding
title - the title to print when dumping out
-
-
-
- -

-dumpProcessors

-
-public void dumpProcessors(java.io.PrintWriter output,
-                           int pad,
-                           java.lang.String title)
-
-
Dumps the voice processors. -

-

-
-
-
-
Parameters:
output - where to send the formatted output
pad - the initial padding
title - the title to print when dumping out
-
-
-
- -

-getFeatureProcessor

-
-public FeatureProcessor getFeatureProcessor(java.lang.String name)
-
-
Returns a language/voice specific Feature Processor. -

-

-
-
-
-
Parameters:
name - the name of the processor -
Returns:
the processor associated with the name or null if none - could be found
-
-
-
- -

-addFeatureProcessor

-
-public void addFeatureProcessor(java.lang.String name,
-                                FeatureProcessor fp)
-
-
Adds a language/voice specific Feature Processor to the set of - FeatureProcessors supported by this voice. -

-

-
-
-
-
Parameters:
name - the name of the processor
fp - the processor
-
-
-
- -

-isMetrics

-
-public boolean isMetrics()
-
-
Gets the state of the metrics mode. -

-

-
-
-
- -
Returns:
true if metrics mode is on
-
-
-
- -

-setMetrics

-
-public void setMetrics(boolean metrics)
-
-
Sets the metrics mode. -

-

-
-
-
-
Parameters:
metrics - true if metrics mode should be on
-
-
-
- -

-isDetailedMetrics

-
-public boolean isDetailedMetrics()
-
-
Gets the state of the detailedMetrics mode. -

-

-
-
-
- -
Returns:
true if detailedMetrics mode is on
-
-
-
- -

-setDetailedMetrics

-
-public void setDetailedMetrics(boolean detailedMetrics)
-
-
Sets the state of the detailedMetrics mode. -

-

-
-
-
-
Parameters:
detailedMetrics - true if detailedMetrics mode should be on
-
-
-
- -

-isDumpUtterance

-
-public boolean isDumpUtterance()
-
-
Gets the state of the dumpUtterance mode. -

-

-
-
-
- -
Returns:
true if dumpUtterance mode is on
-
-
-
- -

-setDumpUtterance

-
-public void setDumpUtterance(boolean dumpUtterance)
-
-
Sets the state of the dumpUtterance mode. -

-

-
-
-
-
Parameters:
dumpUtterance - true if dumpUtterance mode should be on
-
-
-
- -

-isDumpRelations

-
-public boolean isDumpRelations()
-
-
Gets the state of the dumpRelations mode. -

-

-
-
-
- -
Returns:
true if dumpRelations mode is on
-
-
-
- -

-setDumpRelations

-
-public void setDumpRelations(boolean dumpRelations)
-
-
Sets the state of the dumpRelations mode. -

-

-
-
-
-
Parameters:
dumpRelations - true if dumpRelations mode should be on
-
-
-
- -

-setRunTitle

-
-public void setRunTitle(java.lang.String runTitle)
-
-
Sets the title for this run. -

-

-
-
-
-
Parameters:
runTitle - the title for the run
-
-
-
- -

-getRunTitle

-
-public java.lang.String getRunTitle()
-
-
Gets the title for this run. -

-

-
-
-
- -
Returns:
the title for the run
-
-
-
- -

-getPhoneFeature

-
-public java.lang.String getPhoneFeature(java.lang.String phone,
-                                        java.lang.String featureName)
-
-
Given a phoneme and a feature name, returns the feature. -

-

-
-
-
-
Parameters:
phone - the phoneme of interest
featureName - the name of the feature of interest -
Returns:
the feature with the given name
-
-
-
- -

-deallocate

-
-public void deallocate()
-
-
Shuts down the voice processing. -

-

-
-
-
-
-
-
-
- -

-setPitch

-
-public void setPitch(float hertz)
-
-
Sets the baseline pitch. -

-

-
-
-
-
Parameters:
hertz - the baseline pitch in hertz
-
-
-
- -

-getPitch

-
-public float getPitch()
-
-
Retreives the baseline pitch. -

-

-
-
-
- -
Returns:
the baseline pitch in hertz
-
-
-
- -

-setPitchRange

-
-public void setPitchRange(float range)
-
-
Sets the pitch range. -

-

-
-
-
-
Parameters:
range - the range in hertz
-
-
-
- -

-getPitchRange

-
-public float getPitchRange()
-
-
Gets the pitch range. -

-

-
-
-
- -
Returns:
the range in hertz
-
-
-
- -

-setPitchShift

-
-public void setPitchShift(float shift)
-
-
Sets the pitch shift -

-

-
-
-
-
Parameters:
shift - the pitch shift (1.0 is no shift)
-
-
-
- -

-getPitchShift

-
-public float getPitchShift()
-
-
Gets the pitch shift. -

-

-
-
-
- -
Returns:
the pitch shift
-
-
-
- -

-setDurationStretch

-
-public void setDurationStretch(float stretch)
-
-
Sets the duration stretch -

-

-
-
-
-
Parameters:
stretch - the duration stretch (1.0 is no stretch)
-
-
-
- -

-getDurationStretch

-
-public float getDurationStretch()
-
-
Gets the duration Stretch -

-

-
-
-
- -
Returns:
the duration stretch
-
-
-
- -

-setRate

-
-public void setRate(float wpm)
-
-
Sets the rate of speech. -

-

-
-
-
-
Parameters:
wpm - words per minute
-
-
-
- -

-getRate

-
-public float getRate()
-
-
Gets the rate of speech. -

-

-
-
-
- -
Returns:
words per minute
-
-
-
- -

-setVolume

-
-public void setVolume(float vol)
-
-
Sets the volume. -

-

-
-
-
-
Parameters:
vol - the volume (0 to 1.0)
-
-
-
- -

-getVolume

-
-public float getVolume()
-
-
Gets the volume. -

-

-
-
-
- -
Returns:
the volume (0 to 1.0)
-
-
-
- -

-getLexicon

-
-public Lexicon getLexicon()
-
-
Gets the lexicon for this voice. -

-

-
-
-
- -
Returns:
the lexicon (or null if there is no lexicon)
-
-
-
- -

-setLexicon

-
-public void setLexicon(Lexicon lexicon)
-
-
Sets the lexicon to be used by this voice. -

-

-
-
-
-
Parameters:
lexicon - the lexicon to use
-
-
-
- -

-setWaveDumpFile

-
-public void setWaveDumpFile(java.lang.String waveDumpFile)
-
-
Sets the dumpfile for this voice. -

-

-
-
-
-
Parameters:
waveDumpFile - the dumpfile
-
-
-
- -

-getWaveDumpFile

-
-public java.lang.String getWaveDumpFile()
-
-
Gets the dumpfile for this voice. -

-

-
-
-
- -
Returns:
the dumpfile
-
-
-
- -

-setAudioPlayer

-
-public void setAudioPlayer(AudioPlayer player)
-
-
Sets the audio player associated with this voice. The caller is - responsible for closing this player. -

-

-
-
-
-
Parameters:
player - the audio player
-
-
-
- -

-getDefaultAudioPlayer

-
-public AudioPlayer getDefaultAudioPlayer()
-                                  throws java.lang.InstantiationException
-
-
Gets the default audio player for this voice. The return - value will be non-null only if the DEFAULT_AUDIO_PLAYER - system property has been set to the name of an AudioPlayer - class, and that class is able to be instantiated via a - no arg constructor. getAudioPlayer will automatically set - the audio player for this voice to the default audio player - if the audio player has not yet been set. -

-

-
-
-
- -
Returns:
the default AudioPlayer -
Throws: -
java.lang.InstantiationException
See Also:
DEFAULT_AUDIO_PLAYER, -getAudioPlayer()
-
-
-
- -

-getAudioPlayer

-
-public AudioPlayer getAudioPlayer()
-
-
Gets the audio player associated with this voice. If the - audio player has not yet been set, the value will default - to the return value of getDefaultAudioPlayer. -

-

-
-
-
- -
Returns:
the audio player
See Also:
getDefaultAudioPlayer()
-
-
-
- -

-getResource

-
-protected java.net.URL getResource(java.lang.String resource)
-
-
Get a resource for this voice. - By default, the voice is searched for in the package - to which the voice class belongs. Subclasses are free to - override this behaviour. -

-

-
-
-
-
-
-
-
- -

-setName

-
-protected void setName(java.lang.String name)
-
-
Set the name of this voice. - [[[TODO: any standard format to the name?]]] -

-

-
-
-
-
Parameters:
name - the name to assign this voice
-
-
-
- -

-getName

-
-public java.lang.String getName()
-
-
Get the name of this voice. -

-

-
-
-
- -
Returns:
the name
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Returns the name of this Voice. -

-

-
-
-
- -
Returns:
the name of this Voice
-
-
-
- -

-setGender

-
-protected void setGender(Gender gender)
-
-
Set the gender of this voice. -

-

-
-
-
-
Parameters:
gender - the gender to assign
-
-
-
- -

-getGender

-
-public Gender getGender()
-
-
Get the gender of this voice. -

-

-
-
-
- -
Returns:
the gender of this voice
-
-
-
- -

-setAge

-
-protected void setAge(Age age)
-
-
Set the age of this voice. -

-

-
-
-
-
Parameters:
age - the age to assign
-
-
-
- -

-getAge

-
-public Age getAge()
-
-
Get the age of this voice. -

-

-
-
-
- -
Returns:
the age of this voice
-
-
-
- -

-setDescription

-
-protected void setDescription(java.lang.String description)
-
-
Set the description of this voice. -

-

-
-
-
-
Parameters:
description - the human readable description to assign
-
-
-
- -

-getDescription

-
-public java.lang.String getDescription()
-
-
Get the description of this voice. -

-

-
-
-
- -
Returns:
the human readable description of this voice
-
-
-
- -

-setLocale

-
-protected void setLocale(java.util.Locale locale)
-
-
Set the locale of this voice. -

-

-
-
-
-
Parameters:
locale - the locale of this voice.
-
-
-
- -

-getLocale

-
-public java.util.Locale getLocale()
-
-
Get the locale of this voice. -

-

-
-
-
- -
Returns:
the locale of this voice.
-
-
-
- -

-setDomain

-
-protected void setDomain(java.lang.String domain)
-
-
Set the domain of this voice. -

-

-
-
-
-
Parameters:
domain - the domain of this voice. For example, - "general", "time", or - "weather".
-
-
-
- -

-getDomain

-
-public java.lang.String getDomain()
-
-
Get the domain of this voice. -

-

-
-
-
- -
Returns:
the domain of this voice. For example, - "general", "time", or - "weather".
-
-
-
- -

-setStyle

-
-public void setStyle(java.lang.String style)
-
-
Sets the voice style. This parameter is designed for human - interpretation. Values might include "business", "casual", - "robotic", "breathy" -

-

-
-
-
-
Parameters:
style - the stile of this voice.
-
-
-
- -

-getStyle

-
-public java.lang.String getStyle()
-
-
Gets the voice style. This parameter is designed for human - interpretation. Values might include "business", "casual", - "robotic", "breathy". -

-

-
-
-
-
-
-
-
- -

-setOrganization

-
-protected void setOrganization(java.lang.String organization)
-
-
Sets the organization which created this voice. For example - "cmu", "sun", ... -

-

-
-
-
-
Parameters:
organization - the name of the organization
-
-
-
- -

-getOrganization

-
-public java.lang.String getOrganization()
-
-
Gets the organization which created this voice. For example - "cmu", "sun", ... -

-

-
-
-
- -
Returns:
the name of the organization
-
-
-
- -

-getAudioOutput

-
-protected abstract UtteranceProcessor getAudioOutput()
-                                              throws java.io.IOException
-
-
Returns the AudioOutput processor to be used by this voice. - Derived voices typically override this to customize behaviors. -

-

-
-
-
- -
Returns:
the audio output processor -
Throws: -
java.io.IOException - if an IO error occurs while getting - processor
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/VoiceDirectory.html b/javadoc/com/sun/speech/freetts/VoiceDirectory.html deleted file mode 100644 index 467a06b..0000000 --- a/javadoc/com/sun/speech/freetts/VoiceDirectory.html +++ /dev/null @@ -1,328 +0,0 @@ - - - - - - -VoiceDirectory (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Class VoiceDirectory

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.VoiceDirectory
-
-
-
Direct Known Subclasses:
MbrolaVoiceDirectory
-
-
-
-
public abstract class VoiceDirectory
extends java.lang.Object
- -

-Provides a means to access the voices that are stored in a jar - file. Every jar file that provides a voice must contain a subclass - of VoiceDirectory. The class must provide a main() function that - calls dumpVoices() or performs an equivalent operation. All - subclasses of VoiceDirectory can be assumed to always be created by - the default constructor (no arguments). - - Any jar file that has a subclass of VoiceDirectory must define - certain attributes in its Manifest. "Main-class:" must refer to - the subclass of VoiceDirectory. "Class-Path:" lists the other jar - files upon which this is dependent. For example, - "cmu_us_kal.jar" may be dependent on "en_us.jar" for its lexicon. - The Manifest must also have a "FreeTTSVoiceDefinition: true" entry. -

- -

-

-
See Also:
Voice, -VoiceManager
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
VoiceDirectory() - -
-          Default constructor does nothing.
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
-abstract  Voice[]getVoices() - -
-          Provide a means to access the voices in a voice jar file.
-static voidmain(java.lang.String[] args) - -
-          The main function must be implemented by subclasses to print - out information about provided voices.
- java.lang.StringtoString() - -
-          Print the information about voices contained in this voice - directory to a String.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-VoiceDirectory

-
-public VoiceDirectory()
-
-
Default constructor does nothing. This may be overridden by - subclasses, but it is not recommended. This is the only - constructor that will be called. -

-

- - - - - - - - -
-Method Detail
- -

-getVoices

-
-public abstract Voice[] getVoices()
-
-
Provide a means to access the voices in a voice jar file. The - implementation of this function is up to the subclasses. -

-

- -
Returns:
an array of Voice instances provided in the jar file
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Print the information about voices contained in this voice - directory to a String. -

-

- -
Returns:
a String containing the information
See Also:
main(String[] args)
-
-
-
- -

-main

-
-public static void main(java.lang.String[] args)
-
-
The main function must be implemented by subclasses to print - out information about provided voices. For example, they may - just call dumpVoices() -

-

-
See Also:
toString()
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/VoiceManager.html b/javadoc/com/sun/speech/freetts/VoiceManager.html deleted file mode 100644 index 07c478d..0000000 --- a/javadoc/com/sun/speech/freetts/VoiceManager.html +++ /dev/null @@ -1,410 +0,0 @@ - - - - - - -VoiceManager (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts -
-Class VoiceManager

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.VoiceManager
-
-
-
-
public class VoiceManager
extends java.lang.Object
- -

-Provides access to voices for all of FreeTTS. There is only one instance of - the VoiceManager. - - Each call to getVoices() creates a new instance of each voice. -

- -

-

-
See Also:
Voice, -VoiceDirectory
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleancontains(java.lang.String voiceName) - -
-          Check if there is a voice provides with the given name.
-static VoiceManagergetInstance() - -
-          Gets the instance of the VoiceManager
- VoicegetVoice(java.lang.String voiceName) - -
-          Get a Voice with a given name.
-static java.net.URLClassLoadergetVoiceClassLoader() - -
-          Gets the class loader used for loading dynamically detected jars.
- java.lang.StringgetVoiceInfo() - -
-          Prints detailed information about all available voices.
- Voice[]getVoices() - -
-          Provide an array of all voices available to FreeTTS. - -
- java.lang.StringtoString() - -
-          Provides a string representation of all voices available to FreeTTS.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-getInstance

-
-public static VoiceManager getInstance()
-
-
Gets the instance of the VoiceManager -

-

- -
Returns:
a VoiceManager
-
-
-
- -

-getVoices

-
-public Voice[] getVoices()
-
-
Provide an array of all voices available to FreeTTS. - - First, if the "freetts.voices" property is set, it is assumed to be a - comma-separated list of VoiceDirectory classnames (e.g., - "-Dfreetts.voices=com.sun.speech.freetts.en.us.cmu_us_kal.KevinVoiceDirectory" - ). If this property exists, the VoiceManager will use only this property - to find voices -- no other method described below will be used. The - primary purpose for this property is testing and for use with WebStart. - -

- Second, the file internal_voices.txt is looked for in the same directory - as VoiceManager.class. If the file does not exist, the VoiceManager moves - on. Next, it looks for voices.txt in the same directory as freetts.jar. - If the file does not exist, the VoiceManager moves on. Next, if the - property "freetts.voicesfile" is defined, then that file is read in. If - the property is defined and the file does not exist, then an error is - raised. - -

- Every voices file that is read in contains a list of VoiceDirectory class - names. - -

- Next, the voice manager looks for freetts voice jarfiles that may exist - in well-known locations. The directory that contains freetts.jar is - searched for voice jarfiles, then directories specified by the - "freetts.voicespath" system property. Any jarfile whose Manifest contains - "FreeTTSVoiceDefinition: true" is assumed to be a FreeTTS voice, and the - Manifest's "Main-Class" entry is assumed to be the name of the voice - directory. The dependencies of the voice jarfiles specified by the - "Class-Path" Manifest entry are also loaded. - -

- The VoiceManager instantiates each voice directory and calls getVoices() - on each. -

-

- -
Returns:
the array of new instances of all available voices
-
-
-
- -

-getVoiceInfo

-
-public java.lang.String getVoiceInfo()
-
-
Prints detailed information about all available voices. -

-

- -
Returns:
a String containing the information
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Provides a string representation of all voices available to FreeTTS. -

-

- -
Returns:
a String which is a space-delimited list of voice names. If there - is more than one voice, then the word "or" appears before the - last one.
-
-
-
- -

-contains

-
-public boolean contains(java.lang.String voiceName)
-
-
Check if there is a voice provides with the given name. -

-

-
Parameters:
voiceName - the name of the voice to check -
Returns:
true if FreeTTS has a voice available with the name - voiceName, else false.
-
-
-
- -

-getVoice

-
-public Voice getVoice(java.lang.String voiceName)
-
-
Get a Voice with a given name. -

-

-
Parameters:
voiceName - the name of the voice to get. -
Returns:
the Voice that has the same name as voiceName if one - exists, else null
-
-
-
- -

-getVoiceClassLoader

-
-public static java.net.URLClassLoader getVoiceClassLoader()
-
-
Gets the class loader used for loading dynamically detected jars. This is - useful to get resources out of jars that may be in the class path of this - class loader but not in the class path of the system class loader. -

-

- -
Returns:
the class loader
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/audio/AudioPlayer.html b/javadoc/com/sun/speech/freetts/audio/AudioPlayer.html deleted file mode 100644 index ebfa5a1..0000000 --- a/javadoc/com/sun/speech/freetts/audio/AudioPlayer.html +++ /dev/null @@ -1,631 +0,0 @@ - - - - - - -AudioPlayer (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.audio -
-Interface AudioPlayer

-
-
All Known Implementing Classes:
JavaClipAudioPlayer, JavaStreamingAudioPlayer, MultiFile8BitAudioPlayer, MultiFileAudioPlayer, NullAudioPlayer, RawFileAudioPlayer, SingleFileAudioPlayer
-
-
-
-
public interface AudioPlayer
- -

-Provides an interface to the audio system for use by freetts. - Audio is presented to the AudioPlayer as byte arrays. - Implementations of this AudioPlayer interface will format the data - based upon the current audio format (as set by - setAudioFormat) and output the data. - -

- The AudioPlayer - interface provides a set of potential synchronization points to - allow a specific AudioPlayer to batch output in various ways. -

- These synchronization points are in pairs: reset, - drain are used to bracket output of large amounts of audio - data. Typically, an implementation will not return from - drain until all queued audio has been played (or - cancelled). -

- The methods: begin, end are used to bracket smaller amounts of - audio data (typically associated with a single utterance). - -

Threading Issues

- Most of the methods in an AudioPlayer must be called from a - single thread. The only exceptions to this rule are pause, - resume, cancel, showMetrics, close, getTime, resetTime - which can be called from other threads. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidbegin(int size) - -
-          Starts the output of a set of data.
- voidcancel() - -
-          Cancels all queued output.
- voidclose() - -
-          Waits for all audio playback to stop, and closes this AudioPlayer.
- booleandrain() - -
-          Waits for all queued audio to be played
- booleanend() - -
-          Signals the end of a set of data.
- javax.sound.sampled.AudioFormatgetAudioFormat() - -
-          Retrieves the audio format for this player
- longgetTime() - -
-          Gets the amount of audio played since the last resetTime
- floatgetVolume() - -
-          Returns the current volume.
- voidpause() - -
-          Pauses all audio output on this player.
- voidreset() - -
-          Prepares for another batch of output.
- voidresetTime() - -
-          Resets the audio clock
- voidresume() - -
-          Resumes audio output on this player
- voidsetAudioFormat(javax.sound.sampled.AudioFormat format) - -
-          Sets the audio format to use for the next set of outputs.
- voidsetVolume(float volume) - -
-          Sets the current volume.
- voidshowMetrics() - -
-          Shows metrics for this audio player
- voidstartFirstSampleTimer() - -
-          Starts the first sample timer
- booleanwrite(byte[] audioData) - -
-          Writes the given bytes to the audio stream
- booleanwrite(byte[] audioData, - int offset, - int size) - -
-          Writes the given bytes to the audio stream
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-setAudioFormat

-
-public void setAudioFormat(javax.sound.sampled.AudioFormat format)
-
-
Sets the audio format to use for the next set of outputs. Since - an audio player can be shared by a number of voices, and since - voices can have different AudioFormats (sample rates for - example), it is necessary to allow clients to dynamically set - the audio format for the player. -

-

-
Parameters:
format - the audio format
-
-
-
- -

-getAudioFormat

-
-public javax.sound.sampled.AudioFormat getAudioFormat()
-
-
Retrieves the audio format for this player -

-

- -
Returns:
the current audio format
-
-
-
- -

-pause

-
-public void pause()
-
-
Pauses all audio output on this player. Play can be resumed - with a call to resume -

-

-
-
-
-
- -

-resume

-
-public void resume()
-
-
Resumes audio output on this player -

-

-
-
-
-
- -

-reset

-
-public void reset()
-
-
Prepares for another batch of output. Larger groups of output - (such as all output associated with a single FreeTTSSpeakable) - should be grouped between a reset/drain pair. -

-

-
-
-
-
- -

-drain

-
-public boolean drain()
-
-
Waits for all queued audio to be played -

-

- -
Returns:
true if the audio played to completion; - otherwise false if the audio was stopped
-
-
-
- -

-begin

-
-public void begin(int size)
-
-
Starts the output of a set of data. Audio data for a single - utterance should be grouped between begin/end pairs. -

-

-
Parameters:
size - the size of data in bytes to be output before - end is called.
-
-
-
- -

-end

-
-public boolean end()
-
-
Signals the end of a set of data. Audio data for a single - utterance should be groupd between begin/end pairs. -

-

- -
Returns:
true if the audio was output properly, - false if the output was canceled - or interrupted.
-
-
-
- -

-cancel

-
-public void cancel()
-
-
Cancels all queued output. All 'write' calls until the next - reset will return false. -

-

-
-
-
-
- -

-close

-
-public void close()
-
-
Waits for all audio playback to stop, and closes this AudioPlayer. -

-

-
-
-
-
- -

-getVolume

-
-public float getVolume()
-
-
Returns the current volume. The volume is specified as a number - between 0.0 and 1.0, where 1.0 is the maximum volume and 0.0 is - the minimum volume. -

-

- -
Returns:
the current volume (between 0 and 1)
-
-
-
- -

-setVolume

-
-public void setVolume(float volume)
-
-
Sets the current volume. The volume is specified as a number - between 0.0 and 1.0, where 1.0 is the maximum volume and 0.0 is - the minimum volume. -

-

-
Parameters:
volume - the new volume (between 0 and 1)
-
-
-
- -

-getTime

-
-public long getTime()
-
-
Gets the amount of audio played since the last resetTime -

-

- -
Returns:
the amount of audio in milliseconds
-
-
-
- -

-resetTime

-
-public void resetTime()
-
-
Resets the audio clock -

-

-
-
-
-
- -

-startFirstSampleTimer

-
-public void startFirstSampleTimer()
-
-
Starts the first sample timer -

-

-
-
-
-
- -

-write

-
-public boolean write(byte[] audioData)
-
-
Writes the given bytes to the audio stream -

-

-
Parameters:
audioData - audio data to write to the device -
Returns:
true of the write completed successfully, - false if the write was cancelled.
-
-
-
- -

-write

-
-public boolean write(byte[] audioData,
-                     int offset,
-                     int size)
-
-
Writes the given bytes to the audio stream -

-

-
Parameters:
audioData - audio data to write to the device
offset - the offset into the buffer
size - the number of bytes to write. -
Returns:
true of the write completed successfully, - false if the write was cancelled.
-
-
-
- -

-showMetrics

-
-public void showMetrics()
-
-
Shows metrics for this audio player -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/audio/JavaClipAudioPlayer.html b/javadoc/com/sun/speech/freetts/audio/JavaClipAudioPlayer.html deleted file mode 100644 index 58df533..0000000 --- a/javadoc/com/sun/speech/freetts/audio/JavaClipAudioPlayer.html +++ /dev/null @@ -1,745 +0,0 @@ - - - - - - -JavaClipAudioPlayer (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.audio -
-Class JavaClipAudioPlayer

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.audio.JavaClipAudioPlayer
-
-
-
All Implemented Interfaces:
AudioPlayer
-
-
-
-
public class JavaClipAudioPlayer
extends java.lang.Object
implements AudioPlayer
- -

-Provides an implementation of AudioPlayer that creates - javax.sound.sampled audio clips and outputs them via the - javax.sound API. The interface provides a highly reliable audio - output package. Since audio is batched and not sent to the audio - layer until an entire utterance has been processed, this player has - higher latency (50 msecs for a typical 4 second utterance). -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
JavaClipAudioPlayer() - -
-          Constructs a default JavaClipAudioPlayer
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidbegin(int size) - -
-          Starts the output of a set of data.
- voidcancel() - -
-          Cancels all queued audio.
- voidclose() - -
-          Closes this audio player - - [[[ WORKAROUND TODO - The javax.sound.sampled drain is almost working properly.
- booleandrain() - -
-          Waits for all queued audio to be played
- booleanend() - -
-          Marks the end a set of data.
- javax.sound.sampled.AudioFormatgetAudioFormat() - -
-          Retrieves the audio format for this player
- longgetTime() - -
-          Returns the current position in the output stream since the - last resetTime - - Currently not supported.
- floatgetVolume() - -
-          Returns the current volume.
- voidpause() - -
-          Pauses audio output.
- voidreset() - -
-          Prepares for another batch of output.
- voidresetTime() - -
-          Resets the time for this audio stream to zero
- voidresume() - -
-          Resumes playing audio after a pause.
- voidsetAudioFormat(javax.sound.sampled.AudioFormat format) - -
-          Sets the audio format for this player
- voidsetVolume(float volume) - -
-          Sets the current volume.
- voidshowMetrics() - -
-          Shows metrics for this audio player
- voidstartFirstSampleTimer() - -
-          Starts the first sample timer
- java.lang.StringtoString() - -
-          Returns the name of this audio player
- booleanwrite(byte[] audioData) - -
-          Writes the given bytes to the audio stream
- booleanwrite(byte[] bytes, - int offset, - int size) - -
-          Writes the given bytes to the audio stream
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-JavaClipAudioPlayer

-
-public JavaClipAudioPlayer()
-
-
Constructs a default JavaClipAudioPlayer -

-

- - - - - - - - -
-Method Detail
- -

-setAudioFormat

-
-public void setAudioFormat(javax.sound.sampled.AudioFormat format)
-
-
Sets the audio format for this player -

-

-
Specified by:
setAudioFormat in interface AudioPlayer
-
-
-
Parameters:
format - the audio format -
Throws: -
java.lang.UnsupportedOperationException - if the line cannot be opened with - the given format
-
-
-
- -

-getAudioFormat

-
-public javax.sound.sampled.AudioFormat getAudioFormat()
-
-
Retrieves the audio format for this player -

-

-
Specified by:
getAudioFormat in interface AudioPlayer
-
-
- -
Returns:
format the audio format
-
-
-
- -

-pause

-
-public void pause()
-
-
Pauses audio output. All audio output is - stopped. Output can be resumed at the - current point by calling resume. Output can be - aborted by calling cancel -

-

-
Specified by:
pause in interface AudioPlayer
-
-
-
-
-
-
- -

-resume

-
-public void resume()
-
-
Resumes playing audio after a pause. -

-

-
Specified by:
resume in interface AudioPlayer
-
-
-
-
-
-
- -

-cancel

-
-public void cancel()
-
-
Cancels all queued audio. Any 'write' in process will return - immediately false. -

-

-
Specified by:
cancel in interface AudioPlayer
-
-
-
-
-
-
- -

-reset

-
-public void reset()
-
-
Prepares for another batch of output. Larger groups of output - (such as all output associated with a single FreeTTSSpeakable) - should be grouped between a reset/drain pair. -

-

-
Specified by:
reset in interface AudioPlayer
-
-
-
-
-
-
- -

-drain

-
-public boolean drain()
-
-
Waits for all queued audio to be played -

-

-
Specified by:
drain in interface AudioPlayer
-
-
- -
Returns:
true if the write completed successfully, - false if the write was cancelled.
-
-
-
- -

-close

-
-public void close()
-
-
Closes this audio player - - [[[ WORKAROUND TODO - The javax.sound.sampled drain is almost working properly. On - linux, there is still a little bit of sound that needs to go - out, even after drain is called. Thus, the drainDelay. We - wait for a few hundred milliseconds while the data is really - drained out of the system - ]]] -

-

-
Specified by:
close in interface AudioPlayer
-
-
-
-
-
-
- -

-getVolume

-
-public float getVolume()
-
-
Returns the current volume. -

-

-
Specified by:
getVolume in interface AudioPlayer
-
-
- -
Returns:
the current volume (between 0 and 1)
-
-
-
- -

-setVolume

-
-public void setVolume(float volume)
-
-
Sets the current volume. -

-

-
Specified by:
setVolume in interface AudioPlayer
-
-
-
Parameters:
volume - the current volume (between 0 and 1)
-
-
-
- -

-getTime

-
-public long getTime()
-
-
Returns the current position in the output stream since the - last resetTime - - Currently not supported. -

-

-
Specified by:
getTime in interface AudioPlayer
-
-
- -
Returns:
the position in the audio stream in milliseconds
-
-
-
- -

-resetTime

-
-public void resetTime()
-
-
Resets the time for this audio stream to zero -

-

-
Specified by:
resetTime in interface AudioPlayer
-
-
-
-
-
-
- -

-begin

-
-public void begin(int size)
-
-
Starts the output of a set of data. Audio data for a single - utterance should be grouped between begin/end pairs. -

-

-
Specified by:
begin in interface AudioPlayer
-
-
-
Parameters:
size - the size of data between now and the end
-
-
-
- -

-end

-
-public boolean end()
-
-
Marks the end a set of data. Audio data for a single utterance should be - grouped between begin/end pairs. -

-

-
Specified by:
end in interface AudioPlayer
-
-
- -
Returns:
true if the audio was output properly, - false if the output was canceled or interrupted.
-
-
-
- -

-write

-
-public boolean write(byte[] audioData)
-
-
Writes the given bytes to the audio stream -

-

-
Specified by:
write in interface AudioPlayer
-
-
-
Parameters:
audioData - audio data to write to the device -
Returns:
true if the write completed successfully, - false if the write was cancelled.
-
-
-
- -

-write

-
-public boolean write(byte[] bytes,
-                     int offset,
-                     int size)
-
-
Writes the given bytes to the audio stream -

-

-
Specified by:
write in interface AudioPlayer
-
-
-
Parameters:
bytes - audio data to write to the device
offset - the offset into the buffer
size - the size into the buffer -
Returns:
true if the write completed successfully, - false if the write was canceled.
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Returns the name of this audio player -

-

-
-
-
- -
Returns:
the name of the audio player
-
-
-
- -

-showMetrics

-
-public void showMetrics()
-
-
Shows metrics for this audio player -

-

-
Specified by:
showMetrics in interface AudioPlayer
-
-
-
-
-
-
- -

-startFirstSampleTimer

-
-public void startFirstSampleTimer()
-
-
Starts the first sample timer -

-

-
Specified by:
startFirstSampleTimer in interface AudioPlayer
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/audio/JavaStreamingAudioPlayer.html b/javadoc/com/sun/speech/freetts/audio/JavaStreamingAudioPlayer.html deleted file mode 100644 index d2e9c92..0000000 --- a/javadoc/com/sun/speech/freetts/audio/JavaStreamingAudioPlayer.html +++ /dev/null @@ -1,778 +0,0 @@ - - - - - - -JavaStreamingAudioPlayer (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.audio -
-Class JavaStreamingAudioPlayer

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.audio.JavaStreamingAudioPlayer
-
-
-
All Implemented Interfaces:
AudioPlayer
-
-
-
-
public class JavaStreamingAudioPlayer
extends java.lang.Object
implements AudioPlayer
- -

-Streams audio to java audio. This class provides a low latency - method of sending audio output through the javax.sound audio API. - Audio data is sent in small sets to the audio system allowing it to - be played soon after it is generated. - - Unfortunately, the current release of the JDK (JDK 1.4 beta 2) has - a bug or two in - the implementation of 'SourceDataLine.drain'. A workaround solution that - sleep/waits on SourceDataLine.isActive is used here instead. To - disable the work around (i.e use the real 'drain') set the - property: -

- - com.sun.speech.freetts.audio.AudioPlayer.drainWorksProperly; - - to true. - - If the workaround is enabled, the line.isActive method will be - performed periodically. The period of the test can be controlled - with: - -

- - com.sun.speech.freetts.audio.AudioPlayer.drainDelay" - - -

- The default if 5ms. - -

- The property - - com.sun.speech.freetts.audio.AudioPlayer.bufferSize" - - -

- Controls the audio buffer size, it defaults to 8192 - -

- Even with this drain work around, there are some issues with this - class. The workaround drain is not completely reliable. - A resume following a pause does not - always continue at the proper position in the audio. On a rare - occasion, sound output will be repeated a number of times. This may - be related to bug 4421330 in the Bug Parade database. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
JavaStreamingAudioPlayer() - -
-          Constructs a default JavaStreamingAudioPlayer
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidbegin(int size) - -
-          Starts the output of a set of data. -
- voidcancel() - -
-          Cancels currently playing audio.
- voidclose() - -
-          Closes this audio player
- booleandrain() - -
-          Waits for all queued audio to be played
- booleanend() - -
-          Marks the end of a set of data.
- javax.sound.sampled.AudioFormatgetAudioFormat() - -
-          Gets the audio format for this player
- longgetTime() - -
-          Gets the amount of played since the last mark
- floatgetVolume() - -
-          Returns the current volume.
- voidpause() - -
-          Pauses audio output
- voidreset() - -
-          Prepares for another batch of output.
- voidresetTime() - -
-          Resets the audio clock
- voidresume() - -
-          Resumes audio output
- voidsetAudioFormat(javax.sound.sampled.AudioFormat format) - -
-          Sets the audio format for this player
- voidsetVolume(float volume) - -
-          Sets the current volume.
- voidshowMetrics() - -
-          Shows metrics for this audio player
- voidstartFirstSampleTimer() - -
-          Starts the first sample timer
- java.lang.StringtoString() - -
-          Returns the name of this audioplayer
- booleanwrite(byte[] audioData) - -
-          Writes the given bytes to the audio stream
- booleanwrite(byte[] bytes, - int offset, - int size) - -
-          Writes the given bytes to the audio stream
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-JavaStreamingAudioPlayer

-
-public JavaStreamingAudioPlayer()
-
-
Constructs a default JavaStreamingAudioPlayer -

-

- - - - - - - - -
-Method Detail
- -

-setAudioFormat

-
-public void setAudioFormat(javax.sound.sampled.AudioFormat format)
-
-
Sets the audio format for this player -

-

-
Specified by:
setAudioFormat in interface AudioPlayer
-
-
-
Parameters:
format - the audio format -
Throws: -
java.lang.UnsupportedOperationException - if the line cannot be opened with - the given format
-
-
-
- -

-getAudioFormat

-
-public javax.sound.sampled.AudioFormat getAudioFormat()
-
-
Gets the audio format for this player -

-

-
Specified by:
getAudioFormat in interface AudioPlayer
-
-
- -
Returns:
format the audio format
-
-
-
- -

-startFirstSampleTimer

-
-public void startFirstSampleTimer()
-
-
Starts the first sample timer -

-

-
Specified by:
startFirstSampleTimer in interface AudioPlayer
-
-
-
-
-
-
- -

-pause

-
-public void pause()
-
-
Pauses audio output -

-

-
Specified by:
pause in interface AudioPlayer
-
-
-
-
-
-
- -

-resume

-
-public void resume()
-
-
Resumes audio output -

-

-
Specified by:
resume in interface AudioPlayer
-
-
-
-
-
-
- -

-cancel

-
-public void cancel()
-
-
Cancels currently playing audio. -

-

-
Specified by:
cancel in interface AudioPlayer
-
-
-
-
-
-
- -

-reset

-
-public void reset()
-
-
Prepares for another batch of output. Larger groups of output - (such as all output associated with a single FreeTTSSpeakable) - should be grouped between a reset/drain pair. -

-

-
Specified by:
reset in interface AudioPlayer
-
-
-
-
-
-
- -

-close

-
-public void close()
-
-
Closes this audio player -

-

-
Specified by:
close in interface AudioPlayer
-
-
-
-
-
-
- -

-getVolume

-
-public float getVolume()
-
-
Returns the current volume. -

-

-
Specified by:
getVolume in interface AudioPlayer
-
-
- -
Returns:
the current volume (between 0 and 1)
-
-
-
- -

-setVolume

-
-public void setVolume(float volume)
-
-
Sets the current volume. -

-

-
Specified by:
setVolume in interface AudioPlayer
-
-
-
Parameters:
volume - the current volume (between 0 and 1)
-
-
-
- -

-begin

-
-public void begin(int size)
-
-
Starts the output of a set of data. - For this JavaStreamingAudioPlayer, it actually opens the audio line. - Since this is a streaming audio player, the size - parameter has no meaning and effect at all, so any value can be used. - Audio data for a single utterance should be grouped - between begin/end pairs. -

-

-
Specified by:
begin in interface AudioPlayer
-
-
-
Parameters:
size - supposedly the size of data between now and the end, - but since this is a streaming audio player, this parameter - has no meaning and effect at all
-
-
-
- -

-end

-
-public boolean end()
-
-
Marks the end of a set of data. Audio data for a single - utterance should be groupd between begin/end pairs. -

-

-
Specified by:
end in interface AudioPlayer
-
-
- -
Returns:
true if the audio was output properly, false if the - output was cancelled or interrupted.
-
-
-
- -

-drain

-
-public boolean drain()
-
-
Waits for all queued audio to be played -

-

-
Specified by:
drain in interface AudioPlayer
-
-
- -
Returns:
true if the audio played to completion, false if - the audio was stopped - - [[[ WORKAROUND TODO - The javax.sound.sampled drain is almost working properly. On - linux, there is still a little bit of sound that needs to go - out, even after drain is called. Thus, the drainDelay. We - wait for a few hundred milliseconds while the data is really - drained out of the system - ]]]
-
-
-
- -

-getTime

-
-public long getTime()
-
-
Gets the amount of played since the last mark -

-

-
Specified by:
getTime in interface AudioPlayer
-
-
- -
Returns:
the amount of audio in milliseconds
-
-
-
- -

-resetTime

-
-public void resetTime()
-
-
Resets the audio clock -

-

-
Specified by:
resetTime in interface AudioPlayer
-
-
-
-
-
-
- -

-write

-
-public boolean write(byte[] audioData)
-
-
Writes the given bytes to the audio stream -

-

-
Specified by:
write in interface AudioPlayer
-
-
-
Parameters:
audioData - audio data to write to the device -
Returns:
true of the write completed successfully, - false if the write was cancelled.
-
-
-
- -

-write

-
-public boolean write(byte[] bytes,
-                     int offset,
-                     int size)
-
-
Writes the given bytes to the audio stream -

-

-
Specified by:
write in interface AudioPlayer
-
-
-
Parameters:
bytes - audio data to write to the device
offset - the offset into the buffer
size - the size into the buffer -
Returns:
true of the write completed successfully, - false if the write was cancelled.
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Returns the name of this audioplayer -

-

-
-
-
- -
Returns:
the name of the audio player
-
-
-
- -

-showMetrics

-
-public void showMetrics()
-
-
Shows metrics for this audio player -

-

-
Specified by:
showMetrics in interface AudioPlayer
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/audio/MultiFile8BitAudioPlayer.html b/javadoc/com/sun/speech/freetts/audio/MultiFile8BitAudioPlayer.html deleted file mode 100644 index 3117d01..0000000 --- a/javadoc/com/sun/speech/freetts/audio/MultiFile8BitAudioPlayer.html +++ /dev/null @@ -1,745 +0,0 @@ - - - - - - -MultiFile8BitAudioPlayer (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.audio -
-Class MultiFile8BitAudioPlayer

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.audio.MultiFile8BitAudioPlayer
-
-
-
All Implemented Interfaces:
AudioPlayer
-
-
-
-
public class MultiFile8BitAudioPlayer
extends java.lang.Object
implements AudioPlayer
- -

-Streams audio to multiple files as 8-bit samples, one per utterance. - Currently, FreeTTS always outputs 16-bit samples, and this - MultiFile8BitAudioPlayer will convert them to 8-bit before outputting - them. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
MultiFile8BitAudioPlayer() - -
-          Creates a default audio player for an AudioFileFormat of type - WAVE.
MultiFile8BitAudioPlayer(java.lang.String baseName, - javax.sound.sampled.AudioFileFormat.Type type) - -
-          Constructs a MultiFile8BitAudioPlayer
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidbegin(int size) - -
-          Starts the output of a set of data.
- voidcancel() - -
-          Cancels currently playing audio
- voidclose() - -
-          Closes this audio player
- booleandrain() - -
-          Waits for all queued audio to be played
- booleanend() - -
-          Marks the end of a set of data.
- javax.sound.sampled.AudioFormatgetAudioFormat() - -
-          Gets the audio format for this player
- longgetTime() - -
-          Gets the amount of played since the last mark
- floatgetVolume() - -
-          Returns the current volume.
- voidpause() - -
-          Pauses audio output
- voidreset() - -
-          Prepares for another batch of output.
- voidresetTime() - -
-          Resets the audio clock
- voidresume() - -
-          Resumes audio output
- voidsetAudioFormat(javax.sound.sampled.AudioFormat format) - -
-          Sets the audio format for this player
- voidsetVolume(float volume) - -
-          Sets the current volume.
- voidshowMetrics() - -
-          Shows metrics for this audio player
- voidstartFirstSampleTimer() - -
-          Starts the first sample timer
- java.lang.StringtoString() - -
-          Returns the name of this audioplayer
- booleanwrite(byte[] audioData) - -
-          Writes the given bytes to the audio stream
- booleanwrite(byte[] bytes, - int offset, - int size) - -
-          Writes the given bytes to the audio stream
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-MultiFile8BitAudioPlayer

-
-public MultiFile8BitAudioPlayer()
-
-
Creates a default audio player for an AudioFileFormat of type - WAVE. Reads the "com.sun.speech.freetts.AudioPlayer.baseName" - property for the base filename to use, and will produce files - of the form <baseName>1.wav. The default value for the - base name is "freetts". -

-

-
- -

-MultiFile8BitAudioPlayer

-
-public MultiFile8BitAudioPlayer(java.lang.String baseName,
-                                javax.sound.sampled.AudioFileFormat.Type type)
-
-
Constructs a MultiFile8BitAudioPlayer -

-

Parameters:
baseName - the base name of the audio file
type - the type of audio output
- - - - - - - - -
-Method Detail
- -

-setAudioFormat

-
-public void setAudioFormat(javax.sound.sampled.AudioFormat format)
-
-
Sets the audio format for this player -

-

-
Specified by:
setAudioFormat in interface AudioPlayer
-
-
-
Parameters:
format - the audio format -
Throws: -
java.lang.UnsupportedOperationException - if the line cannot be opened with - the given format
-
-
-
- -

-getAudioFormat

-
-public javax.sound.sampled.AudioFormat getAudioFormat()
-
-
Gets the audio format for this player -

-

-
Specified by:
getAudioFormat in interface AudioPlayer
-
-
- -
Returns:
format the audio format
-
-
-
- -

-pause

-
-public void pause()
-
-
Pauses audio output -

-

-
Specified by:
pause in interface AudioPlayer
-
-
-
-
-
-
- -

-resume

-
-public void resume()
-
-
Resumes audio output -

-

-
Specified by:
resume in interface AudioPlayer
-
-
-
-
-
-
- -

-startFirstSampleTimer

-
-public void startFirstSampleTimer()
-
-
Starts the first sample timer -

-

-
Specified by:
startFirstSampleTimer in interface AudioPlayer
-
-
-
-
-
-
- -

-cancel

-
-public void cancel()
-
-
Cancels currently playing audio -

-

-
Specified by:
cancel in interface AudioPlayer
-
-
-
-
-
-
- -

-reset

-
-public void reset()
-
-
Prepares for another batch of output. Larger groups of output - (such as all output associated with a single FreeTTSSpeakable) - should be grouped between a reset/drain pair. -

-

-
Specified by:
reset in interface AudioPlayer
-
-
-
-
-
-
- -

-close

-
-public void close()
-
-
Closes this audio player -

-

-
Specified by:
close in interface AudioPlayer
-
-
-
-
-
-
- -

-getVolume

-
-public float getVolume()
-
-
Returns the current volume. -

-

-
Specified by:
getVolume in interface AudioPlayer
-
-
- -
Returns:
the current volume (between 0 and 1)
-
-
-
- -

-setVolume

-
-public void setVolume(float volume)
-
-
Sets the current volume. -

-

-
Specified by:
setVolume in interface AudioPlayer
-
-
-
Parameters:
volume - the current volume (between 0 and 1)
-
-
-
- -

-begin

-
-public void begin(int size)
-
-
Starts the output of a set of data. Audio data for a single - utterance should be grouped between begin/end pairs. -

-

-
Specified by:
begin in interface AudioPlayer
-
-
-
Parameters:
size - the size of data between now and the end
-
-
-
- -

-end

-
-public boolean end()
-
-
Marks the end of a set of data. Audio data for a single - utterance should be groupd between begin/end pairs. -

-

-
Specified by:
end in interface AudioPlayer
-
-
- -
Returns:
true if the audio was output properly, false if the - output was cancelled or interrupted.
-
-
-
- -

-drain

-
-public boolean drain()
-
-
Waits for all queued audio to be played -

-

-
Specified by:
drain in interface AudioPlayer
-
-
- -
Returns:
true if the audio played to completion, false if - the audio was stopped
-
-
-
- -

-getTime

-
-public long getTime()
-
-
Gets the amount of played since the last mark -

-

-
Specified by:
getTime in interface AudioPlayer
-
-
- -
Returns:
the amount of audio in milliseconds
-
-
-
- -

-resetTime

-
-public void resetTime()
-
-
Resets the audio clock -

-

-
Specified by:
resetTime in interface AudioPlayer
-
-
-
-
-
-
- -

-write

-
-public boolean write(byte[] audioData)
-
-
Writes the given bytes to the audio stream -

-

-
Specified by:
write in interface AudioPlayer
-
-
-
Parameters:
audioData - audio data to write to the device -
Returns:
true of the write completed successfully, - false if the write was cancelled.
-
-
-
- -

-write

-
-public boolean write(byte[] bytes,
-                     int offset,
-                     int size)
-
-
Writes the given bytes to the audio stream -

-

-
Specified by:
write in interface AudioPlayer
-
-
-
Parameters:
bytes - audio data to write to the device
offset - the offset into the buffer
size - the size into the buffer -
Returns:
true of the write completed successfully, - false if the write was cancelled.
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Returns the name of this audioplayer -

-

-
-
-
- -
Returns:
the name of the audio player
-
-
-
- -

-showMetrics

-
-public void showMetrics()
-
-
Shows metrics for this audio player -

-

-
Specified by:
showMetrics in interface AudioPlayer
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/audio/MultiFileAudioPlayer.html b/javadoc/com/sun/speech/freetts/audio/MultiFileAudioPlayer.html deleted file mode 100644 index 3161eb8..0000000 --- a/javadoc/com/sun/speech/freetts/audio/MultiFileAudioPlayer.html +++ /dev/null @@ -1,742 +0,0 @@ - - - - - - -MultiFileAudioPlayer (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.audio -
-Class MultiFileAudioPlayer

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.audio.MultiFileAudioPlayer
-
-
-
All Implemented Interfaces:
AudioPlayer
-
-
-
-
public class MultiFileAudioPlayer
extends java.lang.Object
implements AudioPlayer
- -

-Streams audio to multiple files, one per utterance. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
MultiFileAudioPlayer() - -
-          Creates a default audio player for an AudioFileFormat of type - WAVE.
MultiFileAudioPlayer(java.lang.String baseName, - javax.sound.sampled.AudioFileFormat.Type type) - -
-          Constructs a MultiFileAudioPlayer
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidbegin(int size) - -
-          Starts the output of a set of data.
- voidcancel() - -
-          Cancels currently playing audio
- voidclose() - -
-          Closes this audio player
- booleandrain() - -
-          Waits for all queued audio to be played
- booleanend() - -
-          Marks the end of a set of data.
- javax.sound.sampled.AudioFormatgetAudioFormat() - -
-          Gets the audio format for this player
- longgetTime() - -
-          Gets the amount of played since the last mark
- floatgetVolume() - -
-          Returns the current volume.
- voidpause() - -
-          Pauses audio output
- voidreset() - -
-          Prepares for another batch of output.
- voidresetTime() - -
-          Resets the audio clock
- voidresume() - -
-          Resumes audio output
- voidsetAudioFormat(javax.sound.sampled.AudioFormat format) - -
-          Sets the audio format for this player
- voidsetVolume(float volume) - -
-          Sets the current volume.
- voidshowMetrics() - -
-          Shows metrics for this audio player
- voidstartFirstSampleTimer() - -
-          Starts the first sample timer
- java.lang.StringtoString() - -
-          Returns the name of this audioplayer
- booleanwrite(byte[] audioData) - -
-          Writes the given bytes to the audio stream
- booleanwrite(byte[] bytes, - int offset, - int size) - -
-          Writes the given bytes to the audio stream
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-MultiFileAudioPlayer

-
-public MultiFileAudioPlayer()
-
-
Creates a default audio player for an AudioFileFormat of type - WAVE. Reads the "com.sun.speech.freetts.AudioPlayer.baseName" - property for the base filename to use, and will produce files - of the form <baseName>1.wav. The default value for the - base name is "freetts". -

-

-
- -

-MultiFileAudioPlayer

-
-public MultiFileAudioPlayer(java.lang.String baseName,
-                            javax.sound.sampled.AudioFileFormat.Type type)
-
-
Constructs a MultiFileAudioPlayer -

-

Parameters:
baseName - the base name of the audio file
type - the type of audio output
- - - - - - - - -
-Method Detail
- -

-setAudioFormat

-
-public void setAudioFormat(javax.sound.sampled.AudioFormat format)
-
-
Sets the audio format for this player -

-

-
Specified by:
setAudioFormat in interface AudioPlayer
-
-
-
Parameters:
format - the audio format -
Throws: -
java.lang.UnsupportedOperationException - if the line cannot be opened with - the given format
-
-
-
- -

-getAudioFormat

-
-public javax.sound.sampled.AudioFormat getAudioFormat()
-
-
Gets the audio format for this player -

-

-
Specified by:
getAudioFormat in interface AudioPlayer
-
-
- -
Returns:
format the audio format
-
-
-
- -

-pause

-
-public void pause()
-
-
Pauses audio output -

-

-
Specified by:
pause in interface AudioPlayer
-
-
-
-
-
-
- -

-resume

-
-public void resume()
-
-
Resumes audio output -

-

-
Specified by:
resume in interface AudioPlayer
-
-
-
-
-
-
- -

-startFirstSampleTimer

-
-public void startFirstSampleTimer()
-
-
Starts the first sample timer -

-

-
Specified by:
startFirstSampleTimer in interface AudioPlayer
-
-
-
-
-
-
- -

-cancel

-
-public void cancel()
-
-
Cancels currently playing audio -

-

-
Specified by:
cancel in interface AudioPlayer
-
-
-
-
-
-
- -

-reset

-
-public void reset()
-
-
Prepares for another batch of output. Larger groups of output - (such as all output associated with a single FreeTTSSpeakable) - should be grouped between a reset/drain pair. -

-

-
Specified by:
reset in interface AudioPlayer
-
-
-
-
-
-
- -

-close

-
-public void close()
-
-
Closes this audio player -

-

-
Specified by:
close in interface AudioPlayer
-
-
-
-
-
-
- -

-getVolume

-
-public float getVolume()
-
-
Returns the current volume. -

-

-
Specified by:
getVolume in interface AudioPlayer
-
-
- -
Returns:
the current volume (between 0 and 1)
-
-
-
- -

-setVolume

-
-public void setVolume(float volume)
-
-
Sets the current volume. -

-

-
Specified by:
setVolume in interface AudioPlayer
-
-
-
Parameters:
volume - the current volume (between 0 and 1)
-
-
-
- -

-begin

-
-public void begin(int size)
-
-
Starts the output of a set of data. Audio data for a single - utterance should be grouped between begin/end pairs. -

-

-
Specified by:
begin in interface AudioPlayer
-
-
-
Parameters:
size - the size of data between now and the end
-
-
-
- -

-end

-
-public boolean end()
-
-
Marks the end of a set of data. Audio data for a single - utterance should be groupd between begin/end pairs. -

-

-
Specified by:
end in interface AudioPlayer
-
-
- -
Returns:
true if the audio was output properly, false if the - output was cancelled or interrupted.
-
-
-
- -

-drain

-
-public boolean drain()
-
-
Waits for all queued audio to be played -

-

-
Specified by:
drain in interface AudioPlayer
-
-
- -
Returns:
true if the audio played to completion, false if - the audio was stopped
-
-
-
- -

-getTime

-
-public long getTime()
-
-
Gets the amount of played since the last mark -

-

-
Specified by:
getTime in interface AudioPlayer
-
-
- -
Returns:
the amount of audio in milliseconds
-
-
-
- -

-resetTime

-
-public void resetTime()
-
-
Resets the audio clock -

-

-
Specified by:
resetTime in interface AudioPlayer
-
-
-
-
-
-
- -

-write

-
-public boolean write(byte[] audioData)
-
-
Writes the given bytes to the audio stream -

-

-
Specified by:
write in interface AudioPlayer
-
-
-
Parameters:
audioData - audio data to write to the device -
Returns:
true of the write completed successfully, - false if the write was cancelled.
-
-
-
- -

-write

-
-public boolean write(byte[] bytes,
-                     int offset,
-                     int size)
-
-
Writes the given bytes to the audio stream -

-

-
Specified by:
write in interface AudioPlayer
-
-
-
Parameters:
bytes - audio data to write to the device
offset - the offset into the buffer
size - the size into the buffer -
Returns:
true of the write completed successfully, - false if the write was cancelled.
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Returns the name of this audioplayer -

-

-
-
-
- -
Returns:
the name of the audio player
-
-
-
- -

-showMetrics

-
-public void showMetrics()
-
-
Shows metrics for this audio player -

-

-
Specified by:
showMetrics in interface AudioPlayer
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/audio/NullAudioPlayer.html b/javadoc/com/sun/speech/freetts/audio/NullAudioPlayer.html deleted file mode 100644 index f3f124b..0000000 --- a/javadoc/com/sun/speech/freetts/audio/NullAudioPlayer.html +++ /dev/null @@ -1,695 +0,0 @@ - - - - - - -NullAudioPlayer (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.audio -
-Class NullAudioPlayer

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.audio.NullAudioPlayer
-
-
-
All Implemented Interfaces:
AudioPlayer
-
-
-
-
public class NullAudioPlayer
extends java.lang.Object
implements AudioPlayer
- -

-Provides an implementation of AudioPlayer that sends - all audio data to the bit bucket. The NullAudioPlayer - is instrumented to provide timing metrics. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
NullAudioPlayer() - -
-          Constructs a NullAudioPlayer
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidbegin(int size) - -
-          Starts the output of a set of data
- voidcancel() - -
-          Cancels all queued output.
- voidclose() - -
-          Waits for all audio playback to stop, and closes this AudioPlayer.
- booleandrain() - -
-          Waits for all queued audio to be played
- booleanend() - -
-          Marks the end of a set of data
- javax.sound.sampled.AudioFormatgetAudioFormat() - -
-          Retrieves the audio format for this player
- longgetTime() - -
-          Gets the amount of played since the last resetTime - Currently not supported.
- floatgetVolume() - -
-          Returns the current volume.
- voidpause() - -
-          Pauses the audio output
- voidreset() - -
-          Prepares for another batch of output.
- voidresetTime() - -
-          Resets the audio clock
- voidresume() - -
-          Resumes audio output
- voidsetAudioFormat(javax.sound.sampled.AudioFormat format) - -
-          Sets the audio format for this player
- voidsetVolume(float volume) - -
-          Sets the current volume.
- voidshowMetrics() - -
-          Shows metrics for this audio player
- voidstartFirstSampleTimer() - -
-          Starts the first sample timer
- booleanwrite(byte[] audioData) - -
-          Writes the given bytes to the audio stream
- booleanwrite(byte[] bytes, - int offset, - int size) - -
-          Writes the given bytes to the audio stream
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-NullAudioPlayer

-
-public NullAudioPlayer()
-
-
Constructs a NullAudioPlayer -

-

- - - - - - - - -
-Method Detail
- -

-setAudioFormat

-
-public void setAudioFormat(javax.sound.sampled.AudioFormat format)
-
-
Sets the audio format for this player -

-

-
Specified by:
setAudioFormat in interface AudioPlayer
-
-
-
Parameters:
format - the audio format
-
-
-
- -

-getAudioFormat

-
-public javax.sound.sampled.AudioFormat getAudioFormat()
-
-
Retrieves the audio format for this player -

-

-
Specified by:
getAudioFormat in interface AudioPlayer
-
-
- -
Returns:
the current audio format.
-
-
-
- -

-cancel

-
-public void cancel()
-
-
Cancels all queued output. Current 'write' call will return - false -

-

-
Specified by:
cancel in interface AudioPlayer
-
-
-
-
-
-
- -

-pause

-
-public void pause()
-
-
Pauses the audio output -

-

-
Specified by:
pause in interface AudioPlayer
-
-
-
-
-
-
- -

-reset

-
-public void reset()
-
-
Prepares for another batch of output. Larger groups of output - (such as all output associated with a single FreeTTSSpeakable) - should be grouped between a reset/drain pair. -

-

-
Specified by:
reset in interface AudioPlayer
-
-
-
-
-
-
- -

-resume

-
-public void resume()
-
-
Resumes audio output -

-

-
Specified by:
resume in interface AudioPlayer
-
-
-
-
-
-
- -

-close

-
-public void close()
-
-
Waits for all audio playback to stop, and closes this AudioPlayer. -

-

-
Specified by:
close in interface AudioPlayer
-
-
-
-
-
-
- -

-getVolume

-
-public float getVolume()
-
-
Returns the current volume. -

-

-
Specified by:
getVolume in interface AudioPlayer
-
-
- -
Returns:
the current volume (between 0 and 1)
-
-
-
- -

-setVolume

-
-public void setVolume(float volume)
-
-
Sets the current volume. -

-

-
Specified by:
setVolume in interface AudioPlayer
-
-
-
Parameters:
volume - the current volume (between 0 and 1)
-
-
-
- -

-write

-
-public boolean write(byte[] audioData)
-
-
Writes the given bytes to the audio stream -

-

-
Specified by:
write in interface AudioPlayer
-
-
-
Parameters:
audioData - array of audio data -
Returns:
true of the write completed successfully, - false if the write was cancelled.
-
-
-
- -

-begin

-
-public void begin(int size)
-
-
Starts the output of a set of data -

-

-
Specified by:
begin in interface AudioPlayer
-
-
-
Parameters:
size - the size of data between now and the end
-
-
-
- -

-end

-
-public boolean end()
-
-
Marks the end of a set of data -

-

-
Specified by:
end in interface AudioPlayer
-
-
- -
Returns:
true if the audio was output properly, - false if the output was canceled - or interrupted.
-
-
-
- -

-write

-
-public boolean write(byte[] bytes,
-                     int offset,
-                     int size)
-
-
Writes the given bytes to the audio stream -

-

-
Specified by:
write in interface AudioPlayer
-
-
-
Parameters:
bytes - audio data to write to the device
offset - the offset into the buffer
size - the size into the buffer -
Returns:
true of the write completed successfully, - false if the write was cancelled.
-
-
-
- -

-startFirstSampleTimer

-
-public void startFirstSampleTimer()
-
-
Starts the first sample timer -

-

-
Specified by:
startFirstSampleTimer in interface AudioPlayer
-
-
-
-
-
-
- -

-drain

-
-public boolean drain()
-
-
Waits for all queued audio to be played -

-

-
Specified by:
drain in interface AudioPlayer
-
-
- -
Returns:
true if the audio played to completion, - false if the audio was stopped
-
-
-
- -

-getTime

-
-public long getTime()
-
-
Gets the amount of played since the last resetTime - Currently not supported. -

-

-
Specified by:
getTime in interface AudioPlayer
-
-
- -
Returns:
the amount of audio in milliseconds
-
-
-
- -

-resetTime

-
-public void resetTime()
-
-
Resets the audio clock -

-

-
Specified by:
resetTime in interface AudioPlayer
-
-
-
-
-
-
- -

-showMetrics

-
-public void showMetrics()
-
-
Shows metrics for this audio player -

-

-
Specified by:
showMetrics in interface AudioPlayer
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/audio/RawFileAudioPlayer.html b/javadoc/com/sun/speech/freetts/audio/RawFileAudioPlayer.html deleted file mode 100644 index ad0cfe9..0000000 --- a/javadoc/com/sun/speech/freetts/audio/RawFileAudioPlayer.html +++ /dev/null @@ -1,717 +0,0 @@ - - - - - - -RawFileAudioPlayer (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.audio -
-Class RawFileAudioPlayer

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.audio.RawFileAudioPlayer
-
-
-
All Implemented Interfaces:
AudioPlayer
-
-
-
-
public class RawFileAudioPlayer
extends java.lang.Object
implements AudioPlayer
- -

-Provides an implementation of AudioPlayer that sends - all audio data to the given file. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
RawFileAudioPlayer() - -
-          Creates a default audio player for an AudioFileFormat of type - WAVE.
RawFileAudioPlayer(java.lang.String path) - -
-          Constructs a NullAudioPlayer
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidbegin(int size) - -
-          Starts the output of a set of data
- voidcancel() - -
-          Cancels all queued output.
- voidclose() - -
-          Waits for all audio playback to stop, and closes this AudioPlayer.
- booleandrain() - -
-          Waits for all queued audio to be played
- booleanend() - -
-          Marks the end of a set of data
- javax.sound.sampled.AudioFormatgetAudioFormat() - -
-          Retrieves the audio format for this player
- longgetTime() - -
-          Gets the amount of played since the last resetTime - Currently not supported.
- floatgetVolume() - -
-          Returns the current volume.
- voidpause() - -
-          Pauses the audio output
- voidreset() - -
-          Prepares for another batch of output.
- voidresetTime() - -
-          Resets the audio clock
- voidresume() - -
-          Resumes audio output
- voidsetAudioFormat(javax.sound.sampled.AudioFormat format) - -
-          Sets the audio format for this player
- voidsetVolume(float volume) - -
-          Sets the current volume.
- voidshowMetrics() - -
-          Shows metrics for this audio player
- voidstartFirstSampleTimer() - -
-          Starts the first sample timer
- booleanwrite(byte[] audioData) - -
-          Writes the given bytes to the audio stream
- booleanwrite(byte[] bytes, - int offset, - int size) - -
-          Writes the given bytes to the audio stream
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-RawFileAudioPlayer

-
-public RawFileAudioPlayer()
-                   throws java.io.IOException
-
-
Creates a default audio player for an AudioFileFormat of type - WAVE. Reads the "com.sun.speech.freetts.AudioPlayer.baseName" - property for the base filename to use, and will produce files - of the form <baseName>.raw. The default value for the - base name is "freetts". -

-

-
- -

-RawFileAudioPlayer

-
-public RawFileAudioPlayer(java.lang.String path)
-                   throws java.io.IOException
-
-
Constructs a NullAudioPlayer -

-

- - - - - - - - -
-Method Detail
- -

-setAudioFormat

-
-public void setAudioFormat(javax.sound.sampled.AudioFormat format)
-
-
Sets the audio format for this player -

-

-
Specified by:
setAudioFormat in interface AudioPlayer
-
-
-
Parameters:
format - the audio format
-
-
-
- -

-getAudioFormat

-
-public javax.sound.sampled.AudioFormat getAudioFormat()
-
-
Retrieves the audio format for this player -

-

-
Specified by:
getAudioFormat in interface AudioPlayer
-
-
- -
Returns:
the current audio format.
-
-
-
- -

-cancel

-
-public void cancel()
-
-
Cancels all queued output. Current 'write' call will return - false -

-

-
Specified by:
cancel in interface AudioPlayer
-
-
-
-
-
-
- -

-pause

-
-public void pause()
-
-
Pauses the audio output -

-

-
Specified by:
pause in interface AudioPlayer
-
-
-
-
-
-
- -

-reset

-
-public void reset()
-
-
Prepares for another batch of output. Larger groups of output - (such as all output associated with a single FreeTTSSpeakable) - should be grouped between a reset/drain pair. -

-

-
Specified by:
reset in interface AudioPlayer
-
-
-
-
-
-
- -

-resume

-
-public void resume()
-
-
Resumes audio output -

-

-
Specified by:
resume in interface AudioPlayer
-
-
-
-
-
-
- -

-close

-
-public void close()
-
-
Waits for all audio playback to stop, and closes this AudioPlayer. -

-

-
Specified by:
close in interface AudioPlayer
-
-
-
-
-
-
- -

-getVolume

-
-public float getVolume()
-
-
Returns the current volume. -

-

-
Specified by:
getVolume in interface AudioPlayer
-
-
- -
Returns:
the current volume (between 0 and 1)
-
-
-
- -

-setVolume

-
-public void setVolume(float volume)
-
-
Sets the current volume. -

-

-
Specified by:
setVolume in interface AudioPlayer
-
-
-
Parameters:
volume - the current volume (between 0 and 1)
-
-
-
- -

-write

-
-public boolean write(byte[] audioData)
-
-
Writes the given bytes to the audio stream -

-

-
Specified by:
write in interface AudioPlayer
-
-
-
Parameters:
audioData - array of audio data -
Returns:
true of the write completed successfully, - false if the write was cancelled.
-
-
-
- -

-begin

-
-public void begin(int size)
-
-
Starts the output of a set of data -

-

-
Specified by:
begin in interface AudioPlayer
-
-
-
Parameters:
size - the size of data between now and the end
-
-
-
- -

-end

-
-public boolean end()
-
-
Marks the end of a set of data -

-

-
Specified by:
end in interface AudioPlayer
-
-
- -
Returns:
true if the audio was output properly, - false if the output was canceled - or interrupted.
-
-
-
- -

-write

-
-public boolean write(byte[] bytes,
-                     int offset,
-                     int size)
-
-
Writes the given bytes to the audio stream -

-

-
Specified by:
write in interface AudioPlayer
-
-
-
Parameters:
bytes - audio data to write to the device
offset - the offset into the buffer
size - the size into the buffer -
Returns:
true of the write completed successfully, - false if the write was cancelled.
-
-
-
- -

-startFirstSampleTimer

-
-public void startFirstSampleTimer()
-
-
Starts the first sample timer -

-

-
Specified by:
startFirstSampleTimer in interface AudioPlayer
-
-
-
-
-
-
- -

-drain

-
-public boolean drain()
-
-
Waits for all queued audio to be played -

-

-
Specified by:
drain in interface AudioPlayer
-
-
- -
Returns:
true if the audio played to completion, - false if the audio was stopped
-
-
-
- -

-getTime

-
-public long getTime()
-
-
Gets the amount of played since the last resetTime - Currently not supported. -

-

-
Specified by:
getTime in interface AudioPlayer
-
-
- -
Returns:
the amount of audio in milliseconds
-
-
-
- -

-resetTime

-
-public void resetTime()
-
-
Resets the audio clock -

-

-
Specified by:
resetTime in interface AudioPlayer
-
-
-
-
-
-
- -

-showMetrics

-
-public void showMetrics()
-
-
Shows metrics for this audio player -

-

-
Specified by:
showMetrics in interface AudioPlayer
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/audio/SingleFileAudioPlayer.html b/javadoc/com/sun/speech/freetts/audio/SingleFileAudioPlayer.html deleted file mode 100644 index e2394be..0000000 --- a/javadoc/com/sun/speech/freetts/audio/SingleFileAudioPlayer.html +++ /dev/null @@ -1,742 +0,0 @@ - - - - - - -SingleFileAudioPlayer (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.audio -
-Class SingleFileAudioPlayer

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.audio.SingleFileAudioPlayer
-
-
-
All Implemented Interfaces:
AudioPlayer
-
-
-
-
public class SingleFileAudioPlayer
extends java.lang.Object
implements AudioPlayer
- -

-Streams audio to a file. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
SingleFileAudioPlayer() - -
-          Creates a default audio player for an AudioFileFormat of type - WAVE.
SingleFileAudioPlayer(java.lang.String baseName, - javax.sound.sampled.AudioFileFormat.Type type) - -
-          Constructs a FileAudioPlayer
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidbegin(int size) - -
-          Starts the output of a set of data.
- voidcancel() - -
-          Cancels currently playing audio
- voidclose() - -
-          Closes this audio player
- booleandrain() - -
-          Waits for all queued audio to be played
- booleanend() - -
-          Marks the end of a set of data.
- javax.sound.sampled.AudioFormatgetAudioFormat() - -
-          Gets the audio format for this player
- longgetTime() - -
-          Gets the amount of played since the last mark
- floatgetVolume() - -
-          Returns the current volume.
- voidpause() - -
-          Pauses audio output
- voidreset() - -
-          Prepares for another batch of output.
- voidresetTime() - -
-          Resets the audio clock
- voidresume() - -
-          Resumes audio output
- voidsetAudioFormat(javax.sound.sampled.AudioFormat format) - -
-          Sets the audio format for this player
- voidsetVolume(float volume) - -
-          Sets the current volume.
- voidshowMetrics() - -
-          Shows metrics for this audio player
- voidstartFirstSampleTimer() - -
-          Starts the first sample timer
- java.lang.StringtoString() - -
-          Returns the name of this audioplayer
- booleanwrite(byte[] audioData) - -
-          Writes the given bytes to the audio stream
- booleanwrite(byte[] bytes, - int offset, - int size) - -
-          Writes the given bytes to the audio stream
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-SingleFileAudioPlayer

-
-public SingleFileAudioPlayer(java.lang.String baseName,
-                             javax.sound.sampled.AudioFileFormat.Type type)
-
-
Constructs a FileAudioPlayer -

-

Parameters:
baseName - the base name of the audio file
type - the type of audio output
-
- -

-SingleFileAudioPlayer

-
-public SingleFileAudioPlayer()
-
-
Creates a default audio player for an AudioFileFormat of type - WAVE. Reads the "com.sun.speech.freetts.AudioPlayer.baseName" - property for the base filename to use, and will produce a file - of the form <baseName>.wav. The default value for the - base name is "freetts". -

-

- - - - - - - - -
-Method Detail
- -

-setAudioFormat

-
-public void setAudioFormat(javax.sound.sampled.AudioFormat format)
-
-
Sets the audio format for this player -

-

-
Specified by:
setAudioFormat in interface AudioPlayer
-
-
-
Parameters:
format - the audio format -
Throws: -
java.lang.UnsupportedOperationException - if the line cannot be opened with - the given format
-
-
-
- -

-getAudioFormat

-
-public javax.sound.sampled.AudioFormat getAudioFormat()
-
-
Gets the audio format for this player -

-

-
Specified by:
getAudioFormat in interface AudioPlayer
-
-
- -
Returns:
format the audio format
-
-
-
- -

-pause

-
-public void pause()
-
-
Pauses audio output -

-

-
Specified by:
pause in interface AudioPlayer
-
-
-
-
-
-
- -

-resume

-
-public void resume()
-
-
Resumes audio output -

-

-
Specified by:
resume in interface AudioPlayer
-
-
-
-
-
-
- -

-cancel

-
-public void cancel()
-
-
Cancels currently playing audio -

-

-
Specified by:
cancel in interface AudioPlayer
-
-
-
-
-
-
- -

-reset

-
-public void reset()
-
-
Prepares for another batch of output. Larger groups of output - (such as all output associated with a single FreeTTSSpeakable) - should be grouped between a reset/drain pair. -

-

-
Specified by:
reset in interface AudioPlayer
-
-
-
-
-
-
- -

-startFirstSampleTimer

-
-public void startFirstSampleTimer()
-
-
Starts the first sample timer -

-

-
Specified by:
startFirstSampleTimer in interface AudioPlayer
-
-
-
-
-
-
- -

-close

-
-public void close()
-
-
Closes this audio player -

-

-
Specified by:
close in interface AudioPlayer
-
-
-
-
-
-
- -

-getVolume

-
-public float getVolume()
-
-
Returns the current volume. -

-

-
Specified by:
getVolume in interface AudioPlayer
-
-
- -
Returns:
the current volume (between 0 and 1)
-
-
-
- -

-setVolume

-
-public void setVolume(float volume)
-
-
Sets the current volume. -

-

-
Specified by:
setVolume in interface AudioPlayer
-
-
-
Parameters:
volume - the current volume (between 0 and 1)
-
-
-
- -

-begin

-
-public void begin(int size)
-
-
Starts the output of a set of data. Audio data for a single - utterance should be grouped between begin/end pairs. -

-

-
Specified by:
begin in interface AudioPlayer
-
-
-
Parameters:
size - the size of data between now and the end
-
-
-
- -

-end

-
-public boolean end()
-
-
Marks the end of a set of data. Audio data for a single - utterance should be groupd between begin/end pairs. -

-

-
Specified by:
end in interface AudioPlayer
-
-
- -
Returns:
true if the audio was output properly, false if the - output was cancelled or interrupted.
-
-
-
- -

-drain

-
-public boolean drain()
-
-
Waits for all queued audio to be played -

-

-
Specified by:
drain in interface AudioPlayer
-
-
- -
Returns:
true if the audio played to completion, false if - the audio was stopped
-
-
-
- -

-getTime

-
-public long getTime()
-
-
Gets the amount of played since the last mark -

-

-
Specified by:
getTime in interface AudioPlayer
-
-
- -
Returns:
the amount of audio in milliseconds
-
-
-
- -

-resetTime

-
-public void resetTime()
-
-
Resets the audio clock -

-

-
Specified by:
resetTime in interface AudioPlayer
-
-
-
-
-
-
- -

-write

-
-public boolean write(byte[] audioData)
-
-
Writes the given bytes to the audio stream -

-

-
Specified by:
write in interface AudioPlayer
-
-
-
Parameters:
audioData - audio data to write to the device -
Returns:
true of the write completed successfully, - false if the write was cancelled.
-
-
-
- -

-write

-
-public boolean write(byte[] bytes,
-                     int offset,
-                     int size)
-
-
Writes the given bytes to the audio stream -

-

-
Specified by:
write in interface AudioPlayer
-
-
-
Parameters:
bytes - audio data to write to the device
offset - the offset into the buffer
size - the size into the buffer -
Returns:
true of the write completed successfully, - false if the write was cancelled.
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Returns the name of this audioplayer -

-

-
-
-
- -
Returns:
the name of the audio player
-
-
-
- -

-showMetrics

-
-public void showMetrics()
-
-
Shows metrics for this audio player -

-

-
Specified by:
showMetrics in interface AudioPlayer
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/audio/package-frame.html b/javadoc/com/sun/speech/freetts/audio/package-frame.html deleted file mode 100644 index 656ca78..0000000 --- a/javadoc/com/sun/speech/freetts/audio/package-frame.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - -com.sun.speech.freetts.audio (FreeTTS 1.2) - - - - - - - - - - - -com.sun.speech.freetts.audio - - - - -
-Interfaces  - -
-AudioPlayer
- - - - - - -
-Classes  - -
-JavaClipAudioPlayer -
-JavaStreamingAudioPlayer -
-MultiFile8BitAudioPlayer -
-MultiFileAudioPlayer -
-NullAudioPlayer -
-RawFileAudioPlayer -
-SingleFileAudioPlayer
- - - - diff --git a/javadoc/com/sun/speech/freetts/audio/package-summary.html b/javadoc/com/sun/speech/freetts/audio/package-summary.html deleted file mode 100644 index 9fefa63..0000000 --- a/javadoc/com/sun/speech/freetts/audio/package-summary.html +++ /dev/null @@ -1,209 +0,0 @@ - - - - - - -com.sun.speech.freetts.audio (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.sun.speech.freetts.audio -

-Provides support for generic audio output for FreeTTS. -

-See: -
-          Description -

- - - - - - - - - -
-Interface Summary
AudioPlayerProvides an interface to the audio system for use by freetts. -
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
JavaClipAudioPlayerProvides an implementation of AudioPlayer that creates - javax.sound.sampled audio clips and outputs them via the - javax.sound API.
JavaStreamingAudioPlayerStreams audio to java audio.
MultiFile8BitAudioPlayerStreams audio to multiple files as 8-bit samples, one per utterance. -
MultiFileAudioPlayerStreams audio to multiple files, one per utterance.
NullAudioPlayerProvides an implementation of AudioPlayer that sends - all audio data to the bit bucket.
RawFileAudioPlayerProvides an implementation of AudioPlayer that sends - all audio data to the given file.
SingleFileAudioPlayerStreams audio to a file.
-  - -

-

-Package com.sun.speech.freetts.audio Description -

- -

-Provides support for generic audio output for FreeTTS. This package provides a -generic interface for audio output (AudioPlayer) as well -as several implementations of this interface. - - -

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/audio/package-tree.html b/javadoc/com/sun/speech/freetts/audio/package-tree.html deleted file mode 100644 index 9fcf1fc..0000000 --- a/javadoc/com/sun/speech/freetts/audio/package-tree.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - -com.sun.speech.freetts.audio Class Hierarchy (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.sun.speech.freetts.audio -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/cart/CART.html b/javadoc/com/sun/speech/freetts/cart/CART.html deleted file mode 100644 index fcd891b..0000000 --- a/javadoc/com/sun/speech/freetts/cart/CART.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - - - -CART (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.cart -
-Interface CART

-
-
All Known Implementing Classes:
CARTImpl
-
-
-
-
public interface CART
- -

-Generic interface for Classification and Regression Trees (CARTs) based - on the Breiman, Friedman, Olshen, and Stone document "Classification and - Regression Trees." Wadsworth, Belmont, CA, 1984. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voiddumpBinary(java.io.DataOutputStream os) - -
-          Dumps this CART to the output stream.
- java.lang.Objectinterpret(Item item) - -
-          Passes the given item through this CART and returns the - interpretation.
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-interpret

-
-public java.lang.Object interpret(Item item)
-
-
Passes the given item through this CART and returns the - interpretation. -

-

-
Parameters:
item - the item to analyze -
Returns:
the interpretation
-
-
-
- -

-dumpBinary

-
-public void dumpBinary(java.io.DataOutputStream os)
-                throws java.io.IOException
-
-
Dumps this CART to the output stream. -

-

-
Parameters:
os - the output stream -
Throws: -
java.io.IOException - if an error occurs during output
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/cart/CARTImpl.html b/javadoc/com/sun/speech/freetts/cart/CARTImpl.html deleted file mode 100644 index 46fd3b6..0000000 --- a/javadoc/com/sun/speech/freetts/cart/CARTImpl.html +++ /dev/null @@ -1,510 +0,0 @@ - - - - - - -CARTImpl (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.cart -
-Class CARTImpl

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.cart.CARTImpl
-
-
-
All Implemented Interfaces:
CART
-
-
-
-
public class CARTImpl
extends java.lang.Object
implements CART
- -

-Implementation of a Classification and Regression Tree (CART) that is - used more like a binary decision tree, with each node containing a - decision or a final value. The decision nodes in the CART trees - operate on an Item and have the following format: - -

-   NODE feat operand value qfalse 
- 
- -

Where feat is an string that represents a feature - to pass to the findFeature method of an item. - -

The value represents the value to be compared against - the feature obtained from the item via the feat string. - The operand is the operation to do the comparison. The - available operands are as follows: - -

    -
  • < - the feature is less than value -
  • = - the feature is equal to the value -
  • > - the feature is greater than the value -
  • MATCHES - the feature matches the regular expression stored in value -
  • IN - [[[TODO: still guessing because none of the CART's in - Flite seem to use IN]]] the value is in the list defined by the - feature. -
- -

[[[TODO: provide support for the IN operator.]]] - -

For < and >, this CART coerces the value and feature to - float's. For =, this CART coerces the value and feature to string and - checks for string equality. For MATCHES, this CART uses the value as a - regular expression and compares the obtained feature to that. - -

A CART is represented by an array in this implementation. The - qfalse value represents the index of the array to go to if - the comparison does not match. In this implementation, qtrue index - is always implied, and represents the next element in the - array. The root node of the CART is the first element in the array. - -

The interpretations always start at the root node of the CART - and continue until a final node is found. The final nodes have the - following form: - -

-   LEAF value
- 
- -

Where value represents the value of the node. - Reaching a final node indicates the interpretation is over and the - value of the node is the interpretation result. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
CARTImpl(java.io.BufferedReader reader, - int nodes) - -
-          Creates a new CART by reading from the given reader.
CARTImpl(java.net.URL url) - -
-          Creates a new CART by reading from the given URL.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voiddumpBinary(java.io.DataOutputStream os) - -
-          Dumps this CART to the output stream.
-protected  com.sun.speech.freetts.cart.CARTImpl.NodegetNode(java.lang.String type, - java.util.StringTokenizer tokenizer, - int currentNode) - -
-          Gets the node based upon the type and tokenizer.
- java.lang.Objectinterpret(Item item) - -
-          Passes the given item through this CART and returns the - interpretation.
-static CARTloadBinary(java.nio.ByteBuffer bb) - -
-          Loads a CART from the input byte buffer.
-static CARTloadBinary(java.io.DataInputStream is) - -
-          Loads a CART from the input stream.
-protected  voidparseAndAdd(java.lang.String line) - -
-          Creates a node from the given input line and add it to the CART. -
-protected  java.lang.ObjectparseValue(java.lang.String string) - -
-          Coerces a string into a value.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-CARTImpl

-
-public CARTImpl(java.net.URL url)
-         throws java.io.IOException
-
-
Creates a new CART by reading from the given URL. -

-

Parameters:
url - the location of the CART data -
Throws: -
java.io.IOException - if errors occur while reading the data
-
- -

-CARTImpl

-
-public CARTImpl(java.io.BufferedReader reader,
-                int nodes)
-         throws java.io.IOException
-
-
Creates a new CART by reading from the given reader. -

-

Parameters:
reader - the source of the CART data
nodes - the number of nodes to read for this cart -
Throws: -
java.io.IOException - if errors occur while reading the data
- - - - - - - - -
-Method Detail
- -

-dumpBinary

-
-public void dumpBinary(java.io.DataOutputStream os)
-                throws java.io.IOException
-
-
Dumps this CART to the output stream. -

-

-
Specified by:
dumpBinary in interface CART
-
-
-
Parameters:
os - the output stream -
Throws: -
java.io.IOException - if an error occurs during output
-
-
-
- -

-loadBinary

-
-public static CART loadBinary(java.nio.ByteBuffer bb)
-                       throws java.io.IOException
-
-
Loads a CART from the input byte buffer. -

-

-
-
-
-
Parameters:
bb - the byte buffer -
Returns:
the CART -
Throws: -
java.io.IOException - if an error occurs during output - - Note that cart nodes are really saved as strings that - have to be parsed.
-
-
-
- -

-loadBinary

-
-public static CART loadBinary(java.io.DataInputStream is)
-                       throws java.io.IOException
-
-
Loads a CART from the input stream. -

-

-
-
-
-
Parameters:
is - the input stream -
Returns:
the CART -
Throws: -
java.io.IOException - if an error occurs during output - - Note that cart nodes are really saved as strings that - have to be parsed.
-
-
-
- -

-parseAndAdd

-
-protected void parseAndAdd(java.lang.String line)
-
-
Creates a node from the given input line and add it to the CART. - It expects the TOTAL line to come before any of the nodes. -

-

-
-
-
-
Parameters:
line - a line of input to parse
-
-
-
- -

-getNode

-
-protected com.sun.speech.freetts.cart.CARTImpl.Node getNode(java.lang.String type,
-                                                            java.util.StringTokenizer tokenizer,
-                                                            int currentNode)
-
-
Gets the node based upon the type and tokenizer. -

-

-
-
-
-
Parameters:
type - NODE or LEAF
tokenizer - the StringTokenizer containing the data to get
currentNode - the index of the current node we're looking at -
Returns:
the node
-
-
-
- -

-parseValue

-
-protected java.lang.Object parseValue(java.lang.String string)
-
-
Coerces a string into a value. -

-

-
-
-
-
Parameters:
string - of the form "type(value)"; for example, "Float(2.3)" -
Returns:
the value
-
-
-
- -

-interpret

-
-public java.lang.Object interpret(Item item)
-
-
Passes the given item through this CART and returns the - interpretation. -

-

-
Specified by:
interpret in interface CART
-
-
-
Parameters:
item - the item to analyze -
Returns:
the interpretation
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/cart/Durator.html b/javadoc/com/sun/speech/freetts/cart/Durator.html deleted file mode 100644 index adf0a40..0000000 --- a/javadoc/com/sun/speech/freetts/cart/Durator.html +++ /dev/null @@ -1,368 +0,0 @@ - - - - - - -Durator (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.cart -
-Class Durator

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.cart.Durator
-
-
-
All Implemented Interfaces:
UtteranceProcessor
-
-
-
-
public class Durator
extends java.lang.Object
implements UtteranceProcessor
- -

-Determines duration timing for - Relation.SEGMENT relations in an utterance. - Annotates the Relation.SEGMENT relation with an - "end" time feature. - -

[[[TODO: The mean words-per-minute rate should become part - of the CART data. For now, it is passed into the constructor.]]] -

- -

-

-
See Also:
Relation.SEGMENT
-
- -

- - - - - - - - - - - - - - - - - - -
-Field Summary
-protected  CARTcart - -
-          The CART used for this duration UtteranceProcessor.
-protected  PhoneDurationsdurations - -
-          The PhoneDurations used for this duration UtteranceProcessor. -
-  - - - - - - - - - - -
-Constructor Summary
Durator(CART cart, - float meanRate, - PhoneDurations durations) - -
-          Creates a new duration UtteranceProcessor with the given - CART and phone durations.
-  - - - - - - - - - - - - - - - -
-Method Summary
- voidprocessUtterance(Utterance utterance) - -
-          Annotates the Relation.SEGMENT relations with - cumulative "end" time - features based on phone durations.
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-cart

-
-protected final CART cart
-
-
The CART used for this duration UtteranceProcessor. It is - passed into the constructor. -

-

-
-
-
- -

-durations

-
-protected final PhoneDurations durations
-
-
The PhoneDurations used for this duration UtteranceProcessor. - It is passed into the constructor. -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-Durator

-
-public Durator(CART cart,
-               float meanRate,
-               PhoneDurations durations)
-
-
Creates a new duration UtteranceProcessor with the given - CART and phone durations. -

-

Parameters:
cart - contains zscore duration data
meanRate - the mean words per minute rate of the CART data
durations - contains mean and standard deviation phone durations
- - - - - - - - -
-Method Detail
- -

-processUtterance

-
-public void processUtterance(Utterance utterance)
-                      throws ProcessException
-
-
Annotates the Relation.SEGMENT relations with - cumulative "end" time - features based on phone durations. Expects the CART to return - a zscore for each phone, which specifies the number of standard - deviations from the mean. This is coupled with a phone - durations table that returns the mean and standard deviation - for phones. -

-

-
Specified by:
processUtterance in interface UtteranceProcessor
-
-
-
Parameters:
utterance - the utterance to process -
Throws: -
ProcessException - if a problem is encountered during the - processing of the utterance
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/cart/Intonator.html b/javadoc/com/sun/speech/freetts/cart/Intonator.html deleted file mode 100644 index 73eaa8e..0000000 --- a/javadoc/com/sun/speech/freetts/cart/Intonator.html +++ /dev/null @@ -1,364 +0,0 @@ - - - - - - -Intonator (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.cart -
-Class Intonator

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.cart.Intonator
-
-
-
All Implemented Interfaces:
UtteranceProcessor
-
-
-
-
public class Intonator
extends java.lang.Object
implements UtteranceProcessor
- -

-Annotates the Relation.SYLLABLE relations of an - utterance with "accent" - and "endtone" features. Though not required, a typical use of - this is to use the ToBI (tones and break indeces) scheme for - transcribing intonation and accent in English, developed by Janet - Pierrehumbert and Mary Beckman. This implementation is independent - of the ToBI scheme: ToBI annotations are not - used by this class, but are merely copied from the CART result - to the "accent" and "endtone" features of the - Relation.SYLLABLE relation. -

- -

-


- -

- - - - - - - - - - - - - - - - - - -
-Field Summary
-protected  CARTaccentCart - -
-          The accent CART used for this Intonation UtteranceProcessor.
-protected  CARTtoneCart - -
-          The tone CART used for this Intonation UtteranceProcessor.
-  - - - - - - - - - - -
-Constructor Summary
Intonator(CART accentCart, - CART toneCart) - -
-          Creates a new Intonation UtteranceProcessor with the given - CARTs.
-  - - - - - - - - - - - - - - - -
-Method Summary
- voidprocessUtterance(Utterance utterance) - -
-          Annotates the Relation.SYLLABLE relations of an - utterance with "accent" - and "endtone" features.
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-accentCart

-
-protected CART accentCart
-
-
The accent CART used for this Intonation UtteranceProcessor. It is - passed into the constructor. -

-

-
-
-
- -

-toneCart

-
-protected CART toneCart
-
-
The tone CART used for this Intonation UtteranceProcessor. It is - passed into the constructor. -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-Intonator

-
-public Intonator(CART accentCart,
-                 CART toneCart)
-
-
Creates a new Intonation UtteranceProcessor with the given - CARTs. -

-

Parameters:
accentCart - the CART for doing accents
toneCart - the CART for doing end tones
- - - - - - - - -
-Method Detail
- -

-processUtterance

-
-public void processUtterance(Utterance utterance)
-                      throws ProcessException
-
-
Annotates the Relation.SYLLABLE relations of an - utterance with "accent" - and "endtone" features. Depends upon "NONE" being returned by - either the accent or tone CART to indicate there isn't an - intonation feature for a syllable. -

-

-
Specified by:
processUtterance in interface UtteranceProcessor
-
-
-
Parameters:
utterance - the utterance to process/tokenize -
Throws: -
ProcessException - if an IOException is thrown during the - processing of the utterance
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/cart/Phraser.html b/javadoc/com/sun/speech/freetts/cart/Phraser.html deleted file mode 100644 index c44e6eb..0000000 --- a/javadoc/com/sun/speech/freetts/cart/Phraser.html +++ /dev/null @@ -1,336 +0,0 @@ - - - - - - -Phraser (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.cart -
-Class Phraser

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.cart.Phraser
-
-
-
All Implemented Interfaces:
UtteranceProcessor
-
-
-
-
public class Phraser
extends java.lang.Object
implements UtteranceProcessor
- -

-Creates a Relation.PHRASE relation, grouping - Relation.WORD relations by breaks. -

- -

-

-
See Also:
Relation.PHRASE, -Relation.WORD
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-protected  CARTcart - -
-          The CART used for this Phrasing UtteranceProcessor.
-  - - - - - - - - - - -
-Constructor Summary
Phraser(CART cart) - -
-          Creates a new Phrasing UtteranceProcessor with the given - CART.
-  - - - - - - - - - - - - - - - -
-Method Summary
- voidprocessUtterance(Utterance utterance) - -
-          Creates a Relation.PHRASE relation, grouping - Relation.WORD relations by breaks. -
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-cart

-
-protected final CART cart
-
-
The CART used for this Phrasing UtteranceProcessor. It is - passed into the constructor. -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-Phraser

-
-public Phraser(CART cart)
-
-
Creates a new Phrasing UtteranceProcessor with the given - CART. The phrasing CART is expected to return "BB" values - for big breaks. -

-

Parameters:
cart - a phrasing CART
- - - - - - - - -
-Method Detail
- -

-processUtterance

-
-public void processUtterance(Utterance utterance)
-                      throws ProcessException
-
-
Creates a Relation.PHRASE relation, grouping - Relation.WORD relations by breaks. - Depends upon a phrasing CART that returns strings containing - "BB" for big breaks. -

-

-
Specified by:
processUtterance in interface UtteranceProcessor
-
-
-
Parameters:
utterance - the utterance to process -
Throws: -
ProcessException - if a problem is encountered during the - processing of the utterance
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/cart/package-frame.html b/javadoc/com/sun/speech/freetts/cart/package-frame.html deleted file mode 100644 index 6822a96..0000000 --- a/javadoc/com/sun/speech/freetts/cart/package-frame.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - -com.sun.speech.freetts.cart (FreeTTS 1.2) - - - - - - - - - - - -com.sun.speech.freetts.cart - - - - -
-Interfaces  - -
-CART
- - - - - - -
-Classes  - -
-CARTImpl -
-Durator -
-Intonator -
-Phraser
- - - - diff --git a/javadoc/com/sun/speech/freetts/cart/package-summary.html b/javadoc/com/sun/speech/freetts/cart/package-summary.html deleted file mode 100644 index c8dbdfe..0000000 --- a/javadoc/com/sun/speech/freetts/cart/package-summary.html +++ /dev/null @@ -1,204 +0,0 @@ - - - - - - -com.sun.speech.freetts.cart (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.sun.speech.freetts.cart -

-Provides interface and implementations of several Classification -and Regression Trees (CART) based on the Breiman, Friedman, Olshen, -and Stone document "Classification and Regression Trees." - -

-See: -
-          Description -

- - - - - - - - - -
-Interface Summary
CARTGeneric interface for Classification and Regression Trees (CARTs) based - on the Breiman, Friedman, Olshen, and Stone document "Classification and - Regression Trees."
-  - -

- - - - - - - - - - - - - - - - - - - - - -
-Class Summary
CARTImplImplementation of a Classification and Regression Tree (CART) that is - used more like a binary decision tree, with each node containing a - decision or a final value.
DuratorDetermines duration timing for - Relation.SEGMENT relations in an utterance. -
IntonatorAnnotates the Relation.SYLLABLE relations of an - utterance with "accent" - and "endtone" features.
PhraserCreates a Relation.PHRASE relation, grouping - Relation.WORD relations by breaks.
-  - -

-

-Package com.sun.speech.freetts.cart Description -

- -

-Provides interface and implementations of several Classification -and Regression Trees (CART) based on the Breiman, Friedman, Olshen, -and Stone document "Classification and Regression Trees." -Wadsworth, Belmont, CA, 1984. - - -

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/cart/package-tree.html b/javadoc/com/sun/speech/freetts/cart/package-tree.html deleted file mode 100644 index e8c8c9d..0000000 --- a/javadoc/com/sun/speech/freetts/cart/package-tree.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - -com.sun.speech.freetts.cart Class Hierarchy (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.sun.speech.freetts.cart -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

-
    -
  • interface com.sun.speech.freetts.cart.CART
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/clunits/ClusterUnitDatabase.html b/javadoc/com/sun/speech/freetts/clunits/ClusterUnitDatabase.html deleted file mode 100644 index 61c4bfe..0000000 --- a/javadoc/com/sun/speech/freetts/clunits/ClusterUnitDatabase.html +++ /dev/null @@ -1,283 +0,0 @@ - - - - - - -ClusterUnitDatabase (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.clunits -
-Class ClusterUnitDatabase

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.clunits.ClusterUnitDatabase
-
-
-
-
public class ClusterUnitDatabase
extends java.lang.Object
- -

-Provides support for the cluster unit database. The use of the - cluster unit database is confined to this clunits package. This - class provides a main program that can be used to convert from a - text version of the database to a binary version of the database. - - The ClusterUnitDataBase can be loaded from a text or a binary - source. The binary form of the database loads much faster and - therefore is generally used in a deployed system. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleancompare(ClusterUnitDatabase other) - -
-          Determines if two databases are identical.
-static voidmain(java.lang.String[] args) - -
-          Manipulates a ClusterUnitDatabase. - -
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-compare

-
-public boolean compare(ClusterUnitDatabase other)
-
-
Determines if two databases are identical. -

-

-
Parameters:
other - the database to compare this one to -
Returns:
true if the databases are identical
-
-
-
- -

-main

-
-public static void main(java.lang.String[] args)
-
-
Manipulates a ClusterUnitDatabase. - -

- Usage -

- java com.sun.speech.freetts.clunits.ClusterUnitDatabase - [options] -

- Options -

-

    -
  • -src path provides a directory - path to the source text for the database -
  • -dest path provides a directory - for where to place the resulting binaries -
  • -generate_binary [filename] reads - in the text version of the database and generates - the binary version of the database. -
  • -compare Loads the text and - binary versions of the database and compares them to - see if they are equivalent. -
  • -showTimes shows timings for any - loading, comparing or dumping operation -
-

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/clunits/ClusterUnitPitchmarkGenerator.html b/javadoc/com/sun/speech/freetts/clunits/ClusterUnitPitchmarkGenerator.html deleted file mode 100644 index 5538798..0000000 --- a/javadoc/com/sun/speech/freetts/clunits/ClusterUnitPitchmarkGenerator.html +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - -ClusterUnitPitchmarkGenerator (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.clunits -
-Class ClusterUnitPitchmarkGenerator

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.clunits.ClusterUnitPitchmarkGenerator
-
-
-
All Implemented Interfaces:
UtteranceProcessor
-
-
-
-
public class ClusterUnitPitchmarkGenerator
extends java.lang.Object
implements UtteranceProcessor
- -

-Calculates the pitchmarks. This class is an UtteranceProcessor that - calculates target pitchmarks for the given utterance and adds the - target_lpcres relation to the utterance with the pitchmark - information. -

- -

-

-
See Also:
LPCResult
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
ClusterUnitPitchmarkGenerator() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- voidprocessUtterance(Utterance utterance) - -
-          Calculates the pitchmarks for the utterance and adds them as - an LPCResult to the Utterance in a relation named - "target_lpcres".
- java.lang.StringtoString() - -
-          Retrieves the name of this utteranceProcessor.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-ClusterUnitPitchmarkGenerator

-
-public ClusterUnitPitchmarkGenerator()
-
-
- - - - - - - - -
-Method Detail
- -

-processUtterance

-
-public void processUtterance(Utterance utterance)
-                      throws ProcessException
-
-
Calculates the pitchmarks for the utterance and adds them as - an LPCResult to the Utterance in a relation named - "target_lpcres". -

-

-
Specified by:
processUtterance in interface UtteranceProcessor
-
-
-
Parameters:
utterance - the utterance to process -
Throws: -
ProcessException - if an error occurs while processing - the utterance
See Also:
LPCResult
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Retrieves the name of this utteranceProcessor. -

-

-
-
-
- -
Returns:
the name of the utteranceProcessor
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/clunits/ClusterUnitSelector.html b/javadoc/com/sun/speech/freetts/clunits/ClusterUnitSelector.html deleted file mode 100644 index 6035239..0000000 --- a/javadoc/com/sun/speech/freetts/clunits/ClusterUnitSelector.html +++ /dev/null @@ -1,396 +0,0 @@ - - - - - - -ClusterUnitSelector (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.clunits -
-Class ClusterUnitSelector

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.clunits.ClusterUnitSelector
-
-
-
All Implemented Interfaces:
UtteranceProcessor
-
-
-
-
public class ClusterUnitSelector
extends java.lang.Object
implements UtteranceProcessor
- -

-Generates the Unit Relation of an Utterance from the - Segment Relation. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
ClusterUnitSelector(java.net.URL url) - -
-          Constructs a ClusterUnitSelector.
ClusterUnitSelector(java.net.URL url, - de.dfki.lt.freetts.ClusterUnitNamer unitNamer) - -
-          Constructs a ClusterUnitSelector.
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- SampleInfogetSampleInfo() - -
-          Get the sample info for the underlying database.
- voidprocessUtterance(Utterance utterance) - -
-          Generates the Unit Relation from the Segment Relation. -
-protected  voidsetUnitName(Item seg) - -
-          Sets the cluster unit name given the segment.
- java.lang.StringtoString() - -
-          Retrieves the string representation of this object.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-ClusterUnitSelector

-
-public ClusterUnitSelector(java.net.URL url)
-                    throws java.io.IOException
-
-
Constructs a ClusterUnitSelector. -

-

Parameters:
url - the URL for the unit database. If the URL path ends - with a '.bin' it is assumed that the DB is a binary database, - otherwise, its assumed that its a text database1 -
Throws: -
java.io.IOException - if an error occurs while loading the - database
-
- -

-ClusterUnitSelector

-
-public ClusterUnitSelector(java.net.URL url,
-                           de.dfki.lt.freetts.ClusterUnitNamer unitNamer)
-                    throws java.io.IOException
-
-
Constructs a ClusterUnitSelector. -

-

Parameters:
url - the URL for the unit database. If the URL path ends - with a '.bin' it is assumed that the DB is a binary database, - otherwise, its assumed that its a text database1
unitNamer - an optional unit namer, specifying how the cluster - units are called in the voice database referenced by url. If this is null, - an ldom unit naming scheme will be used (e.g., 'ae_afternoon' for the - phoneme 'ae' in the word 'afternoon'. -
Throws: -
java.io.IOException - if an error occurs while loading the - database
- - - - - - - - -
-Method Detail
- -

-getSampleInfo

-
-public SampleInfo getSampleInfo()
-
-
Get the sample info for the underlying database. -

-

-
-
-
- -
Returns:
the sample info object
-
-
-
- -

-processUtterance

-
-public void processUtterance(Utterance utterance)
-                      throws ProcessException
-
-
Generates the Unit Relation from the Segment Relation. -
Implementation note:
- Populates the segment relation with segment names of the form: - XX_YY where XX is the segment name (typically a phoneme) - and YY is the word that the segment is in (stripped and - lower case). - - The first step in cluster unit selection is to determine the unit - type for each unit in the utterance. The unit type for - selection in the simple talking clock example (cmu_time_awb) is - done per phone. The unit type consists of the phone - name followed by the word the phone comes from (e.g., n_now for - the phone 'n' in the word 'now'). - - Invoke the Viterbi algorithm (via a viterbi class) that - selects the proper units for the segment and adds that to - each segment item. - - For each segment, create a unit and attach features based - upon the selected units. -

-

-
Specified by:
processUtterance in interface UtteranceProcessor
-
-
-
Parameters:
utterance - the utterance to generate the Unit Relation -
Throws: -
ProcessException - if an IOException is thrown during the - processing of the utterance
-
-
-
- -

-setUnitName

-
-protected void setUnitName(Item seg)
-
-
Sets the cluster unit name given the segment. -

-

-
-
-
-
Parameters:
seg - the segment item that gets the name
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Retrieves the string representation of this object. -

-

-
-
-
- -
Returns:
the string representation of this object
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/clunits/package-frame.html b/javadoc/com/sun/speech/freetts/clunits/package-frame.html deleted file mode 100644 index 615b8ce..0000000 --- a/javadoc/com/sun/speech/freetts/clunits/package-frame.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - -com.sun.speech.freetts.clunits (FreeTTS 1.2) - - - - - - - - - - - -com.sun.speech.freetts.clunits - - - - -
-Classes  - -
-ClusterUnitDatabase -
-ClusterUnitPitchmarkGenerator -
-ClusterUnitSelector
- - - - diff --git a/javadoc/com/sun/speech/freetts/clunits/package-summary.html b/javadoc/com/sun/speech/freetts/clunits/package-summary.html deleted file mode 100644 index 3595b18..0000000 --- a/javadoc/com/sun/speech/freetts/clunits/package-summary.html +++ /dev/null @@ -1,178 +0,0 @@ - - - - - - -com.sun.speech.freetts.clunits (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.sun.speech.freetts.clunits -

-Support for cluster unit selection of audio data as described in the -Black and Taylor document "Automatically clustering similar units for -unit selection in speech synthesis", published in Proceedings of the -Eurospeech 1997, Rhodes, Greece -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - -
-Class Summary
ClusterUnitDatabaseProvides support for the cluster unit database.
ClusterUnitPitchmarkGeneratorCalculates the pitchmarks.
ClusterUnitSelectorGenerates the Unit Relation of an Utterance from the - Segment Relation.
-  - -

-

-Package com.sun.speech.freetts.clunits Description -

- -

-Support for cluster unit selection of audio data as described in the -Black and Taylor document "Automatically clustering similar units for -unit selection in speech synthesis", published in Proceedings of the -Eurospeech 1997, Rhodes, Greece. - - -

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/clunits/package-tree.html b/javadoc/com/sun/speech/freetts/clunits/package-tree.html deleted file mode 100644 index e9d9226..0000000 --- a/javadoc/com/sun/speech/freetts/clunits/package-tree.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - -com.sun.speech.freetts.clunits Class Hierarchy (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.sun.speech.freetts.clunits -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/diphone/AliasDiphone.html b/javadoc/com/sun/speech/freetts/diphone/AliasDiphone.html deleted file mode 100644 index f1cadae..0000000 --- a/javadoc/com/sun/speech/freetts/diphone/AliasDiphone.html +++ /dev/null @@ -1,554 +0,0 @@ - - - - - - -AliasDiphone (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.diphone -
-Class AliasDiphone

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.diphone.Diphone
-      extended bycom.sun.speech.freetts.diphone.AliasDiphone
-
-
-
-
public class AliasDiphone
extends Diphone
- -

-Represent an alias diphone which is just another name for an - already-existing original diphone. This can be used just like a - "real" diphone. -

- -

-

-
Author:
-
Marc Schröder
-
-
- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class com.sun.speech.freetts.diphone.Diphone
ALIAS_MAGIC, MAGIC, NAME_LENGTH
-  - - - - - - - - - - -
-Constructor Summary
AliasDiphone(java.lang.String name, - java.lang.String originalName) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voiddump() - -
-          dumps out this Diphone.
- voiddumpBinary(java.nio.ByteBuffer bb) - -
-          Dumps the diphone to the given channel.
- voiddumpBinary(java.io.DataOutputStream os) - -
-          Dumps the diphone to the given channel.
- intgetMidPoint() - -
-          Returns the midpoint index. the midpoint index is the sample - that divides the diphone into the first and second parts.
- java.lang.StringgetOriginalName() - -
-          Get the name of the original name that this alias points to.
- intgetPbPositionMillis() - -
-          Returns the midpoint index. the midpoint index is the sample - that divides the diphone into the first and second parts.
- Sample[]getSamples() - -
-          Returns the samples associated with this diphone.
- SamplegetSamples(int which) - -
-          Returns a particular sample.
- intgetUnitSize(int unitPart) - -
-          Returns the total number of residuals in the given part for this - diphone.
- SamplenearestSample(float uIndex, - int unitPart) - -
-          Returns the sample that is closest to uIndex.
- voidsetOriginalDiphone(Diphone original) - -
-          Associate the actual diphone object of the original with this alias.
- - - - - - - -
Methods inherited from class com.sun.speech.freetts.diphone.Diphone
getName, loadBinary, loadBinary
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-AliasDiphone

-
-public AliasDiphone(java.lang.String name,
-                    java.lang.String originalName)
-
-
Parameters:
name - The alias name to use for the existing diphone
originalName - the original name of the diphone.
- - - - - - - - -
-Method Detail
- -

-getOriginalName

-
-public java.lang.String getOriginalName()
-
-
Get the name of the original name that this alias points to. -

-

-
-
-
-
- -

-setOriginalDiphone

-
-public void setOriginalDiphone(Diphone original)
-
-
Associate the actual diphone object of the original with this alias. -

-

-
Parameters:
original - a diphone object whose getName() must return the same - as our getOriginalName(). -
Throws: -
java.lang.IllegalArgumentException - if the diphone to be registered as the - original has a name which is different from this AliasDiphone's original name - as returned by getOriginalName().
-
-
-
- -

-getSamples

-
-public Sample[] getSamples()
-
-
Returns the samples associated with this diphone. -

-

-
Overrides:
getSamples in class Diphone
-
-
- -
Returns:
the samples associated with this diphone
-
-
-
- -

-getSamples

-
-public Sample getSamples(int which)
-
-
Returns a particular sample. -

-

-
Overrides:
getSamples in class Diphone
-
-
-
Parameters:
which - which sample to return -
Returns:
the desired sample
-
-
-
- -

-getMidPoint

-
-public int getMidPoint()
-
-
Returns the midpoint index. the midpoint index is the sample - that divides the diphone into the first and second parts. -

-

-
Overrides:
getMidPoint in class Diphone
-
-
- -
Returns:
the midpoint index.
-
-
-
- -

-getPbPositionMillis

-
-public int getPbPositionMillis()
-
-
Returns the midpoint index. the midpoint index is the sample - that divides the diphone into the first and second parts. -

-

-
Overrides:
getPbPositionMillis in class Diphone
-
-
- -
Returns:
the midpoint index.
-
-
-
- -

-nearestSample

-
-public Sample nearestSample(float uIndex,
-                            int unitPart)
-
-
Returns the sample that is closest to uIndex. -

-

-
Overrides:
nearestSample in class Diphone
-
-
-
Parameters:
uIndex - the desired index
unitPart - do we want the first have (1) or the second - half (2) -
Returns:
the sample nearest to the given index in the given - part
-
-
-
- -

-getUnitSize

-
-public int getUnitSize(int unitPart)
-
-
Returns the total number of residuals in the given part for this - diphone. -

-

-
Overrides:
getUnitSize in class Diphone
-
-
-
Parameters:
unitPart - indicates which part is of interest (1 or 2) -
Returns:
the number of residuals in the specified part
-
-
-
- -

-dump

-
-public void dump()
-
-
dumps out this Diphone. -

-

-
Overrides:
dump in class Diphone
-
-
-
-
-
-
- -

-dumpBinary

-
-public void dumpBinary(java.nio.ByteBuffer bb)
-                throws java.io.IOException
-
-
Dumps the diphone to the given channel. -

-

-
Overrides:
dumpBinary in class Diphone
-
-
-
Parameters:
bb - the ByteBuffer to write to -
Throws: -
java.io.IOException - if IO error occurs
-
-
-
- -

-dumpBinary

-
-public void dumpBinary(java.io.DataOutputStream os)
-                throws java.io.IOException
-
-
Dumps the diphone to the given channel. -

-

-
Overrides:
dumpBinary in class Diphone
-
-
-
Parameters:
os - the DataOutputStream to write to -
Throws: -
java.io.IOException - if IO error occurs
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/diphone/Diphone.html b/javadoc/com/sun/speech/freetts/diphone/Diphone.html deleted file mode 100644 index c3b8334..0000000 --- a/javadoc/com/sun/speech/freetts/diphone/Diphone.html +++ /dev/null @@ -1,618 +0,0 @@ - - - - - - -Diphone (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.diphone -
-Class Diphone

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.diphone.Diphone
-
-
-
Direct Known Subclasses:
AliasDiphone
-
-
-
-
public class Diphone
extends java.lang.Object
- -

-Represents two adjacent phones. A diphone is defined by its name, - the set of audio data, and information used to help stitch diphones - together. This class is immutable. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-protected static intALIAS_MAGIC - -
-           
-protected static intMAGIC - -
-           
-protected static intNAME_LENGTH - -
-           
-  - - - - - - - - - - - - - - - -
-Constructor Summary
-protected Diphone(java.lang.String name) - -
-          Constructor to be used only by subclasses who do not use the - variables except for the name
- Diphone(java.lang.String name, - Sample[] samples, - int midPoint) - -
-          Creates a diphone with the given name, samples and midpoint.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voiddump() - -
-          dumps out this Diphone.
- voiddumpBinary(java.nio.ByteBuffer bb) - -
-          Dumps the diphone to the given channel.
- voiddumpBinary(java.io.DataOutputStream os) - -
-          Dumps the diphone to the given channel.
- intgetMidPoint() - -
-          Returns the midpoint index. the midpoint index is the sample - that divides the diphone into the first and second parts.
- java.lang.StringgetName() - -
-          Gets the name of the diphone.
- intgetPbPositionMillis() - -
-          Returns the midpoint index. the midpoint index is the sample - that divides the diphone into the first and second parts.
- Sample[]getSamples() - -
-          Returns the samples associated with this diphone.
- SamplegetSamples(int which) - -
-          Returns a particular sample.
- intgetUnitSize(int unitPart) - -
-          Returns the total number of residuals in the given part for this - diphone.
-static DiphoneloadBinary(java.nio.ByteBuffer bb) - -
-          Loads a new diphone from the given buffer.
-static DiphoneloadBinary(java.io.DataInputStream dis) - -
-          Loads a new diphone from the given DataInputStream.
- SamplenearestSample(float uIndex, - int unitPart) - -
-          Returns the sample that is closest to uIndex.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-MAGIC

-
-protected static final int MAGIC
-
-
-
See Also:
Constant Field Values
-
-
- -

-ALIAS_MAGIC

-
-protected static final int ALIAS_MAGIC
-
-
-
See Also:
Constant Field Values
-
-
- -

-NAME_LENGTH

-
-protected static final int NAME_LENGTH
-
-
-
See Also:
Constant Field Values
-
- - - - - - - - -
-Constructor Detail
- -

-Diphone

-
-public Diphone(java.lang.String name,
-               Sample[] samples,
-               int midPoint)
-
-
Creates a diphone with the given name, samples and midpoint. -

-

Parameters:
name - the name of the diphone
samples - the set of samples for the diphone
midPoint - the index of the sample midpoint
-
- -

-Diphone

-
-protected Diphone(java.lang.String name)
-
-
Constructor to be used only by subclasses who do not use the - variables except for the name -

-

Parameters:
name - the name of the diphone
- - - - - - - - -
-Method Detail
- -

-getSamples

-
-public Sample[] getSamples()
-
-
Returns the samples associated with this diphone. -

-

- -
Returns:
the samples associated with this diphone
-
-
-
- -

-getSamples

-
-public Sample getSamples(int which)
-
-
Returns a particular sample. -

-

-
Parameters:
which - which sample to return -
Returns:
the desired sample
-
-
-
- -

-getName

-
-public java.lang.String getName()
-
-
Gets the name of the diphone. -

-

- -
Returns:
the name of the diphone
-
-
-
- -

-getMidPoint

-
-public int getMidPoint()
-
-
Returns the midpoint index. the midpoint index is the sample - that divides the diphone into the first and second parts. -

-

- -
Returns:
the midpoint index.
-
-
-
- -

-getPbPositionMillis

-
-public int getPbPositionMillis()
-
-
Returns the midpoint index. the midpoint index is the sample - that divides the diphone into the first and second parts. -

-

- -
Returns:
the midpoint index.
-
-
-
- -

-nearestSample

-
-public Sample nearestSample(float uIndex,
-                            int unitPart)
-
-
Returns the sample that is closest to uIndex. -

-

-
Parameters:
uIndex - the desired index
unitPart - do we want the first have (1) or the second - half (2) -
Returns:
the sample nearest to the given index in the given - part
-
-
-
- -

-getUnitSize

-
-public int getUnitSize(int unitPart)
-
-
Returns the total number of residuals in the given part for this - diphone. -

-

-
Parameters:
unitPart - indicates which part is of interest (1 or 2) -
Returns:
the number of residuals in the specified part
-
-
-
- -

-dump

-
-public void dump()
-
-
dumps out this Diphone. -

-

-
-
-
-
- -

-dumpBinary

-
-public void dumpBinary(java.nio.ByteBuffer bb)
-                throws java.io.IOException
-
-
Dumps the diphone to the given channel. -

-

-
Parameters:
bb - the ByteBuffer to write to -
Throws: -
java.io.IOException - if IO error occurs
-
-
-
- -

-dumpBinary

-
-public void dumpBinary(java.io.DataOutputStream os)
-                throws java.io.IOException
-
-
Dumps the diphone to the given channel. -

-

-
Parameters:
os - the DataOutputStream to write to -
Throws: -
java.io.IOException - if IO error occurs
-
-
-
- -

-loadBinary

-
-public static Diphone loadBinary(java.nio.ByteBuffer bb)
-                          throws java.io.IOException
-
-
Loads a new diphone from the given buffer. -

-

-
Parameters:
bb - the byte buffer to load the diphone from -
Returns:
the new diphone -
Throws: -
java.io.IOException - if IO error occurs
-
-
-
- -

-loadBinary

-
-public static Diphone loadBinary(java.io.DataInputStream dis)
-                          throws java.io.IOException
-
-
Loads a new diphone from the given DataInputStream. -

-

-
Parameters:
dis - the datainput stream to load the diphone from -
Returns:
the new diphone -
Throws: -
java.io.IOException - if IO error occurs
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/diphone/DiphonePitchmarkGenerator.html b/javadoc/com/sun/speech/freetts/diphone/DiphonePitchmarkGenerator.html deleted file mode 100644 index 71ff7bb..0000000 --- a/javadoc/com/sun/speech/freetts/diphone/DiphonePitchmarkGenerator.html +++ /dev/null @@ -1,301 +0,0 @@ - - - - - - -DiphonePitchmarkGenerator (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.diphone -
-Class DiphonePitchmarkGenerator

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.diphone.DiphonePitchmarkGenerator
-
-
-
All Implemented Interfaces:
UtteranceProcessor
-
-
-
-
public class DiphonePitchmarkGenerator
extends java.lang.Object
implements UtteranceProcessor
- -

-Calculates pitchmarks. This is an utterance processor that expects - the utterance to have a target relation. It will create an - LPCResult and add it to the utterance based upon features of the - target relation. -

- -

-

-
See Also:
LPCResult, -Relation, -SampleInfo
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
DiphonePitchmarkGenerator() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- voidprocessUtterance(Utterance utterance) - -
-          Generates the LPCResult for this utterance.
- java.lang.StringtoString() - -
-          Returns a string representation of this object.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DiphonePitchmarkGenerator

-
-public DiphonePitchmarkGenerator()
-
-
- - - - - - - - -
-Method Detail
- -

-processUtterance

-
-public void processUtterance(Utterance utterance)
-                      throws ProcessException
-
-
Generates the LPCResult for this utterance. -

-

-
Specified by:
processUtterance in interface UtteranceProcessor
-
-
-
Parameters:
utterance - the utterance to process -
Throws: -
ProcessException - if an error occurs while processing - the utterance -
java.lang.IllegalStateException - if the given utterance has no - relation named Relation.TARGET or a feature named - SampleInfo.UTT_NAME
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Returns a string representation of this object. -

-

-
-
-
- -
Returns:
a string representation of this object
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/diphone/DiphoneUnitDatabase.html b/javadoc/com/sun/speech/freetts/diphone/DiphoneUnitDatabase.html deleted file mode 100644 index 58b2a1c..0000000 --- a/javadoc/com/sun/speech/freetts/diphone/DiphoneUnitDatabase.html +++ /dev/null @@ -1,453 +0,0 @@ - - - - - - -DiphoneUnitDatabase (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.diphone -
-Class DiphoneUnitDatabase

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.diphone.DiphoneUnitDatabase
-
-
-
-
public class DiphoneUnitDatabase
extends java.lang.Object
- -

-Represents and manages the unit data for all diphones. The diphone - data set is stored in a set of data files. These data are loaded by this - class into internal data structures before diphone synthesis can - occur. -

-The diphone data set is one of the largest sets of data that - needs to be loaded by the synthesizer and therefore can add to the - overall startup time for any system using this database. For - certain applications, the startup time is a critical spec that - needs to be optimized, while for other applications, startup time - is inconsequential. This class provides settings (via system - properties) that control how the database is to be loaded so that - applications can tune for quick startup or optimal run time. -

- This class serves also as a testbed for comparing performance of - the traditional java binary I/O and the new io ( java.nio ) - package. -

-

A diphone database can be loaded from a text data file, or a - binary datafile. The binary version loads significantly faster - than the text version. Additionally, a binary index can be - generated and used to reduce overall memory footprint. -

-

- A DiphoneUnitDatabase contains an array of frames, and an aray of - residuals. The frames are the samples of the wave, and the - residuals are for linear predictive coding use. This is called - "cst_sts" (a struct) in flite. -

- Note that if 'com.sun.speech.freetts.useNewIO' is set to true and - the input type is binary, than the JDK1.4+ new IO api is used to - load the database. -

- The system property -

-	com.sun.speech.freetts.diphone.UnitDatabase.cacheType 
- 
- - can be set to one of: - -
    -
  • preload: database is loaded at startup -
  • demand: database is loaded on demand -
  • hard: database is loaded on demand but cached -
  • soft: database is loaded on demand but cached with soft references -
- - This cacheType setting controls how the database is - loaded. The default is to 'preload' the database. This setting - gives best runtime performance but with longer initial startup - cost. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
DiphoneUnitDatabase(java.net.URL url, - boolean isBinary) - -
-          Creates the DiphoneUnitDatabase from the given input stream.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleancompare(DiphoneUnitDatabase other) - -
-          Compares this database to another.
- voiddump() - -
-          Dumps the diphone database.
- voiddumpBinary(java.lang.String path) - -
-          Dumps a binary form of the database.
- java.lang.StringgetName() - -
-          Returns the name of this DiphoneUnitDatabase.
- DiphonegetUnit(java.lang.String unitName) - -
-          Looks up the diphone with the given name.
-static voidmain(java.lang.String[] args) - -
-          Manipulates a DiphoneUnitDatabase.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DiphoneUnitDatabase

-
-public DiphoneUnitDatabase(java.net.URL url,
-                           boolean isBinary)
-                    throws java.io.IOException
-
-
Creates the DiphoneUnitDatabase from the given input stream. -

-

Parameters:
url - the location of the database
isBinary - if true the database is in - binary format; otherwise it is in text format -
Throws: -
java.io.IOException - if there is trouble opening the DB
- - - - - - - - -
-Method Detail
- -

-getUnit

-
-public Diphone getUnit(java.lang.String unitName)
-
-
Looks up the diphone with the given name. -

-

-
Parameters:
unitName - the name of the diphone to look for -
Returns:
the diphone or the defaultDiphone if not found.
-
-
-
- -

-getName

-
-public java.lang.String getName()
-
-
Returns the name of this DiphoneUnitDatabase. -

-

-
-
-
-
- -

-dump

-
-public void dump()
-
-
Dumps the diphone database. -

-

-
-
-
-
- -

-dumpBinary

-
-public void dumpBinary(java.lang.String path)
-
-
Dumps a binary form of the database. -

-

-
Parameters:
path - the path to dump the file to
-
-
-
- -

-compare

-
-public boolean compare(DiphoneUnitDatabase other)
-
-
Compares this database to another. This is used for testing. - With this method we can load up two databases (one perhaps from - a text source and one from a binary source) and compare to - verify that the dbs are identical -

-

-
Parameters:
other - the other database -
Returns:
true if the DBs are identical; - otherwise false
-
-
-
- -

-main

-
-public static void main(java.lang.String[] args)
-
-
Manipulates a DiphoneUnitDatabase. This program is typically - used to generate the binary form (with index) of the - DiphoneUnitDatabase from the text form. Additionally, this program - can be used to compare two databases to see if they are - identical (used for testing). - -

- Usage -

- java com.sun.speech.freetts.diphone.DiphoneUnitDatabase - [options] -

- Options -

-

    -
  • -src path provides a directory - path to the source text for the database -
  • -dest path provides a directory - for where to place the resulting binaries -
  • -generate_binary [filename] - reads in the text - version of the database and generates the binary - version of the database. -
  • -compare Loads the text and - binary versions of the database and compares them to - see if they are equivalent. -
  • -showTimes shows timings for any - loading, comparing or dumping operation -
-

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/diphone/DiphoneUnitSelector.html b/javadoc/com/sun/speech/freetts/diphone/DiphoneUnitSelector.html deleted file mode 100644 index e4e8d6e..0000000 --- a/javadoc/com/sun/speech/freetts/diphone/DiphoneUnitSelector.html +++ /dev/null @@ -1,325 +0,0 @@ - - - - - - -DiphoneUnitSelector (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.diphone -
-Class DiphoneUnitSelector

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.diphone.DiphoneUnitSelector
-
-
-
All Implemented Interfaces:
UtteranceProcessor
-
-
-
-
public class DiphoneUnitSelector
extends java.lang.Object
implements UtteranceProcessor
- -

-Generates the Unit Relation of an Utterance from the - Segment Relation. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
DiphoneUnitSelector(java.net.URL url) - -
-          Constructs a DiphoneUnitSelector.
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- SampleInfogetSampleInfo() - -
-          Get the sample info for the underlying database.
- voidprocessUtterance(Utterance utterance) - -
-          Generates the Unit Relation from the Segment Relation.
- java.lang.StringtoString() - -
-          Returns a string representation of this object.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DiphoneUnitSelector

-
-public DiphoneUnitSelector(java.net.URL url)
-                    throws java.io.IOException
-
-
Constructs a DiphoneUnitSelector. -

-

Parameters:
url - the URL for the unit database. If the URL path ends - with a '.bin' it is assumed that the DB is a binary database, - otherwise, its assumed that its a text database1 -
Throws: -
java.io.IOException - if an error occurs while loading the - database
- - - - - - - - -
-Method Detail
- -

-getSampleInfo

-
-public SampleInfo getSampleInfo()
-
-
Get the sample info for the underlying database. -

-

-
-
-
- -
Returns:
the sample info object
-
-
-
- -

-processUtterance

-
-public void processUtterance(Utterance utterance)
-                      throws ProcessException
-
-
Generates the Unit Relation from the Segment Relation. -

-

-
Specified by:
processUtterance in interface UtteranceProcessor
-
-
-
Parameters:
utterance - the utterance to generate the Unit Relation -
Throws: -
ProcessException - if an IOException is thrown during the - processing of the utterance
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Returns a string representation of this object. -

-

-
-
-
- -
Returns:
a string representation of this object
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/diphone/package-frame.html b/javadoc/com/sun/speech/freetts/diphone/package-frame.html deleted file mode 100644 index 0067aaf..0000000 --- a/javadoc/com/sun/speech/freetts/diphone/package-frame.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - -com.sun.speech.freetts.diphone (FreeTTS 1.2) - - - - - - - - - - - -com.sun.speech.freetts.diphone - - - - -
-Classes  - -
-AliasDiphone -
-Diphone -
-DiphonePitchmarkGenerator -
-DiphoneUnitDatabase -
-DiphoneUnitSelector
- - - - diff --git a/javadoc/com/sun/speech/freetts/diphone/package-summary.html b/javadoc/com/sun/speech/freetts/diphone/package-summary.html deleted file mode 100644 index 17df03f..0000000 --- a/javadoc/com/sun/speech/freetts/diphone/package-summary.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - -com.sun.speech.freetts.diphone (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.sun.speech.freetts.diphone -

-Support for diphones encoded using residual excited linear prediction (RELP) -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
AliasDiphoneRepresent an alias diphone which is just another name for an - already-existing original diphone.
DiphoneRepresents two adjacent phones.
DiphonePitchmarkGeneratorCalculates pitchmarks.
DiphoneUnitDatabaseRepresents and manages the unit data for all diphones.
DiphoneUnitSelectorGenerates the Unit Relation of an Utterance from the - Segment Relation.
-  - -

-

-Package com.sun.speech.freetts.diphone Description -

- -

-Support for diphones encoded using residual excited linear prediction (RELP). - - -

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/diphone/package-tree.html b/javadoc/com/sun/speech/freetts/diphone/package-tree.html deleted file mode 100644 index f440179..0000000 --- a/javadoc/com/sun/speech/freetts/diphone/package-tree.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - -com.sun.speech.freetts.diphone Class Hierarchy (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.sun.speech.freetts.diphone -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/ContourGenerator.html b/javadoc/com/sun/speech/freetts/en/ContourGenerator.html deleted file mode 100644 index d27f40c..0000000 --- a/javadoc/com/sun/speech/freetts/en/ContourGenerator.html +++ /dev/null @@ -1,329 +0,0 @@ - - - - - - -ContourGenerator (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en -
-Class ContourGenerator

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.ContourGenerator
-
-
-
All Implemented Interfaces:
UtteranceProcessor
-
-
-
-
public class ContourGenerator
extends java.lang.Object
implements UtteranceProcessor
- -

-Calculates the F0 curve for an utterance based on the Black and - Hunt article "Generating F0 Contours from ToBI Labels Using Linear - Regression," ICSLP96, vol. 3, pp 1385-1388, Philadelphia, - PA. 1996. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
ContourGenerator(java.net.URL url, - float modelMean, - float modelStddev) - -
-          Creates a ContourGenerator utterance processor.
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  voidparseAndAdd(java.util.List list, - java.lang.String line) - -
-          Parses the line into an F0ModelTerm.
- voidprocessUtterance(Utterance utterance) - -
-          Generates the F0 contour for the utterance.
- java.lang.StringtoString() - -
-          Returns the string representation of the object.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-ContourGenerator

-
-public ContourGenerator(java.net.URL url,
-                        float modelMean,
-                        float modelStddev)
-                 throws java.io.IOException
-
-
Creates a ContourGenerator utterance processor. -

-

Parameters:
url - source of the data
modelMean - the average frequency
modelStddev - the std deviation of the frequency -
Throws: -
java.io.IOException - if an error occurs while loading data
- - - - - - - - -
-Method Detail
- -

-processUtterance

-
-public void processUtterance(Utterance utterance)
-                      throws ProcessException
-
-
Generates the F0 contour for the utterance. -

-

-
Specified by:
processUtterance in interface UtteranceProcessor
-
-
-
Parameters:
utterance - the utterance to process -
Throws: -
ProcessException - if an IOException is - thrown during the processing of the utterance
-
-
-
- -

-parseAndAdd

-
-protected void parseAndAdd(java.util.List list,
-                           java.lang.String line)
-
-
Parses the line into an F0ModelTerm. -

-

-
-
-
-
Parameters:
list - resulting F0ModelTerm is added to this list
line - the string to parse
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Returns the string representation of the object. -

-

-
-
-
- -
Returns:
the string representation of the object
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/PartOfSpeechTagger.html b/javadoc/com/sun/speech/freetts/en/PartOfSpeechTagger.html deleted file mode 100644 index 053d15b..0000000 --- a/javadoc/com/sun/speech/freetts/en/PartOfSpeechTagger.html +++ /dev/null @@ -1,295 +0,0 @@ - - - - - - -PartOfSpeechTagger (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en -
-Class PartOfSpeechTagger

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.PartOfSpeechTagger
-
-
-
All Implemented Interfaces:
UtteranceProcessor
-
-
-
-
public class PartOfSpeechTagger
extends java.lang.Object
implements UtteranceProcessor
- -

-Tags the words in the utterance with their part-of-speech. - Currently this does nothing. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
PartOfSpeechTagger() - -
-          Constructs a PartOfSpeechTagger
-  - - - - - - - - - - - - - - - -
-Method Summary
- voidprocessUtterance(Utterance utterance) - -
-          Tags the utterance with part-of-speech information.
- java.lang.StringtoString() - -
-          Returns the string representation of the object
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-PartOfSpeechTagger

-
-public PartOfSpeechTagger()
-
-
Constructs a PartOfSpeechTagger -

-

- - - - - - - - -
-Method Detail
- -

-processUtterance

-
-public void processUtterance(Utterance utterance)
-                      throws ProcessException
-
-
Tags the utterance with part-of-speech information. Currently - this processor does nothing. -

-

-
Specified by:
processUtterance in interface UtteranceProcessor
-
-
-
Parameters:
utterance - the utterance to process/tokenize -
Throws: -
ProcessException - if an error occurs while - processing of the utterance
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Returns the string representation of the object -

-

-
-
-
- -
Returns:
the string representation of the object
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/PauseGenerator.html b/javadoc/com/sun/speech/freetts/en/PauseGenerator.html deleted file mode 100644 index d9aaa74..0000000 --- a/javadoc/com/sun/speech/freetts/en/PauseGenerator.html +++ /dev/null @@ -1,293 +0,0 @@ - - - - - - -PauseGenerator (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en -
-Class PauseGenerator

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.PauseGenerator
-
-
-
All Implemented Interfaces:
UtteranceProcessor
-
-
-
-
public class PauseGenerator
extends java.lang.Object
implements UtteranceProcessor
- -

-Annotates an utterance with pause information. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
PauseGenerator() - -
-          Constructs a PauseGenerator
-  - - - - - - - - - - - - - - - -
-Method Summary
- voidprocessUtterance(Utterance utterance) - -
-          Annotates an utterance with pause information.
- java.lang.StringtoString() - -
-          Returns the string representation of the object
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-PauseGenerator

-
-public PauseGenerator()
-
-
Constructs a PauseGenerator -

-

- - - - - - - - -
-Method Detail
- -

-processUtterance

-
-public void processUtterance(Utterance utterance)
-                      throws ProcessException
-
-
Annotates an utterance with pause information. -

-

-
Specified by:
processUtterance in interface UtteranceProcessor
-
-
-
Parameters:
utterance - the utterance to process -
Throws: -
ProcessException - if an error occurs while - processing of the utterance
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Returns the string representation of the object -

-

-
-
-
- -
Returns:
the string representation of the object
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/PostLexicalAnalyzer.html b/javadoc/com/sun/speech/freetts/en/PostLexicalAnalyzer.html deleted file mode 100644 index 756dbbe..0000000 --- a/javadoc/com/sun/speech/freetts/en/PostLexicalAnalyzer.html +++ /dev/null @@ -1,293 +0,0 @@ - - - - - - -PostLexicalAnalyzer (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en -
-Class PostLexicalAnalyzer

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.PostLexicalAnalyzer
-
-
-
All Implemented Interfaces:
UtteranceProcessor
-
-
-
-
public class PostLexicalAnalyzer
extends java.lang.Object
implements UtteranceProcessor
- -

-Annotates the utterance with post lexical information. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
PostLexicalAnalyzer() - -
-          Constructs a PostLexicalAnalyzer
-  - - - - - - - - - - - - - - - -
-Method Summary
- voidprocessUtterance(Utterance utterance) - -
-          Performs the post lexical processing.
- java.lang.StringtoString() - -
-          Returns the string representation of the object
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-PostLexicalAnalyzer

-
-public PostLexicalAnalyzer()
-
-
Constructs a PostLexicalAnalyzer -

-

- - - - - - - - -
-Method Detail
- -

-processUtterance

-
-public void processUtterance(Utterance utterance)
-                      throws ProcessException
-
-
Performs the post lexical processing. -

-

-
Specified by:
processUtterance in interface UtteranceProcessor
-
-
-
Parameters:
utterance - the utterance to process -
Throws: -
ProcessException - if an error occurs while - processing of the utterance
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Returns the string representation of the object -

-

-
-
-
- -
Returns:
the string representation of the object
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/TokenizerImpl.html b/javadoc/com/sun/speech/freetts/en/TokenizerImpl.html deleted file mode 100644 index d196c9d..0000000 --- a/javadoc/com/sun/speech/freetts/en/TokenizerImpl.html +++ /dev/null @@ -1,674 +0,0 @@ - - - - - - -TokenizerImpl (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en -
-Class TokenizerImpl

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.TokenizerImpl
-
-
-
All Implemented Interfaces:
Tokenizer
-
-
-
-
public class TokenizerImpl
extends java.lang.Object
implements Tokenizer
- -

-Implements the tokenizer interface. Breaks an input sequence of - characters into a set of tokens. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static java.lang.StringDEFAULT_POSTPUNCTUATION_SYMBOLS - -
-          A string containing the default post-punctuation characters.
-static java.lang.StringDEFAULT_PREPUNCTUATION_SYMBOLS - -
-          A string containing the default pre-punctuation characters.
-static java.lang.StringDEFAULT_SINGLE_CHAR_SYMBOLS - -
-          A string containing the default single characters.
-static java.lang.StringDEFAULT_WHITESPACE_SYMBOLS - -
-          A string containing the default whitespace characters.
-static intEOF - -
-          A constant indicating that the end of the stream has been read.
-  - - - - - - - - - - - - - - - - -
-Constructor Summary
TokenizerImpl() - -
-          Constructs a Tokenizer.
TokenizerImpl(java.io.Reader file) - -
-          Creates a tokenizer that will return tokens from - the given file.
TokenizerImpl(java.lang.String string) - -
-          Creates a tokenizer that will return tokens from - the given string.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetErrorDescription() - -
-          if hasErrors returns true, this will return a - description of the error encountered, otherwise - it will return null
- TokengetNextToken() - -
-          Returns the next token.
- booleanhasErrors() - -
-          Returns true if there were errors while reading tokens
- booleanhasMoreTokens() - -
-          Returns true if there are more tokens, - false otherwise.
- booleanisBreak() - -
-          Determines if the current token should start a new sentence.
- voidsetInputReader(java.io.Reader reader) - -
-          Sets the input reader
- voidsetInputText(java.lang.String inputString) - -
-          Sets the text to tokenize.
- voidsetPostpunctuationSymbols(java.lang.String symbols) - -
-          Sets the postpunctuation symbols of this Tokenizer to the given - symbols.
- voidsetPrepunctuationSymbols(java.lang.String symbols) - -
-          Sets the prepunctuation symbols of this Tokenizer to the given - symbols.
- voidsetSingleCharSymbols(java.lang.String symbols) - -
-          Sets the single character symbols of this Tokenizer to the given - symbols.
- voidsetWhitespaceSymbols(java.lang.String symbols) - -
-          Sets the whitespace symbols of this Tokenizer to the given symbols.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-EOF

-
-public static final int EOF
-
-
A constant indicating that the end of the stream has been read. -

-

-
See Also:
Constant Field Values
-
-
- -

-DEFAULT_WHITESPACE_SYMBOLS

-
-public static final java.lang.String DEFAULT_WHITESPACE_SYMBOLS
-
-
A string containing the default whitespace characters. -

-

-
See Also:
Constant Field Values
-
-
- -

-DEFAULT_SINGLE_CHAR_SYMBOLS

-
-public static final java.lang.String DEFAULT_SINGLE_CHAR_SYMBOLS
-
-
A string containing the default single characters. -

-

-
See Also:
Constant Field Values
-
-
- -

-DEFAULT_PREPUNCTUATION_SYMBOLS

-
-public static final java.lang.String DEFAULT_PREPUNCTUATION_SYMBOLS
-
-
A string containing the default pre-punctuation characters. -

-

-
See Also:
Constant Field Values
-
-
- -

-DEFAULT_POSTPUNCTUATION_SYMBOLS

-
-public static final java.lang.String DEFAULT_POSTPUNCTUATION_SYMBOLS
-
-
A string containing the default post-punctuation characters. -

-

-
See Also:
Constant Field Values
-
- - - - - - - - -
-Constructor Detail
- -

-TokenizerImpl

-
-public TokenizerImpl()
-
-
Constructs a Tokenizer. -

-

-
- -

-TokenizerImpl

-
-public TokenizerImpl(java.lang.String string)
-
-
Creates a tokenizer that will return tokens from - the given string. -

-

Parameters:
string - the string to tokenize
-
- -

-TokenizerImpl

-
-public TokenizerImpl(java.io.Reader file)
-
-
Creates a tokenizer that will return tokens from - the given file. -

-

Parameters:
file - where to read the input from
- - - - - - - - -
-Method Detail
- -

-setWhitespaceSymbols

-
-public void setWhitespaceSymbols(java.lang.String symbols)
-
-
Sets the whitespace symbols of this Tokenizer to the given symbols. -

-

-
Specified by:
setWhitespaceSymbols in interface Tokenizer
-
-
-
Parameters:
symbols - the whitespace symbols
-
-
-
- -

-setSingleCharSymbols

-
-public void setSingleCharSymbols(java.lang.String symbols)
-
-
Sets the single character symbols of this Tokenizer to the given - symbols. -

-

-
Specified by:
setSingleCharSymbols in interface Tokenizer
-
-
-
Parameters:
symbols - the single character symbols
-
-
-
- -

-setPrepunctuationSymbols

-
-public void setPrepunctuationSymbols(java.lang.String symbols)
-
-
Sets the prepunctuation symbols of this Tokenizer to the given - symbols. -

-

-
Specified by:
setPrepunctuationSymbols in interface Tokenizer
-
-
-
Parameters:
symbols - the prepunctuation symbols
-
-
-
- -

-setPostpunctuationSymbols

-
-public void setPostpunctuationSymbols(java.lang.String symbols)
-
-
Sets the postpunctuation symbols of this Tokenizer to the given - symbols. -

-

-
Specified by:
setPostpunctuationSymbols in interface Tokenizer
-
-
-
Parameters:
symbols - the postpunctuation symbols
-
-
-
- -

-setInputText

-
-public void setInputText(java.lang.String inputString)
-
-
Sets the text to tokenize. -

-

-
Specified by:
setInputText in interface Tokenizer
-
-
-
Parameters:
inputString - the string to tokenize
-
-
-
- -

-setInputReader

-
-public void setInputReader(java.io.Reader reader)
-
-
Sets the input reader -

-

-
Specified by:
setInputReader in interface Tokenizer
-
-
-
Parameters:
reader - the input source
-
-
-
- -

-getNextToken

-
-public Token getNextToken()
-
-
Returns the next token. -

-

-
Specified by:
getNextToken in interface Tokenizer
-
-
- -
Returns:
the next token if it exists, - null if no more tokens
-
-
-
- -

-hasMoreTokens

-
-public boolean hasMoreTokens()
-
-
Returns true if there are more tokens, - false otherwise. -

-

-
Specified by:
hasMoreTokens in interface Tokenizer
-
-
- -
Returns:
true if there are more tokens - false otherwise
-
-
-
- -

-hasErrors

-
-public boolean hasErrors()
-
-
Returns true if there were errors while reading tokens -

-

-
Specified by:
hasErrors in interface Tokenizer
-
-
- -
Returns:
true if there were errors; - false otherwise
-
-
-
- -

-getErrorDescription

-
-public java.lang.String getErrorDescription()
-
-
if hasErrors returns true, this will return a - description of the error encountered, otherwise - it will return null -

-

-
Specified by:
getErrorDescription in interface Tokenizer
-
-
- -
Returns:
a description of the last error that occurred.
-
-
-
- -

-isBreak

-
-public boolean isBreak()
-
-
Determines if the current token should start a new sentence. -

-

-
Specified by:
isBreak in interface Tokenizer
-
-
- -
Returns:
true if a new sentence should be started
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/package-frame.html b/javadoc/com/sun/speech/freetts/en/package-frame.html deleted file mode 100644 index b100358..0000000 --- a/javadoc/com/sun/speech/freetts/en/package-frame.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - -com.sun.speech.freetts.en (FreeTTS 1.2) - - - - - - - - - - - -com.sun.speech.freetts.en - - - - -
-Classes  - -
-ContourGenerator -
-PartOfSpeechTagger -
-PauseGenerator -
-PostLexicalAnalyzer -
-TokenizerImpl
- - - - diff --git a/javadoc/com/sun/speech/freetts/en/package-summary.html b/javadoc/com/sun/speech/freetts/en/package-summary.html deleted file mode 100644 index b83e81f..0000000 --- a/javadoc/com/sun/speech/freetts/en/package-summary.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - -com.sun.speech.freetts.en (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.sun.speech.freetts.en -

-Support for English. -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
ContourGeneratorCalculates the F0 curve for an utterance based on the Black and - Hunt article "Generating F0 Contours from ToBI Labels Using Linear - Regression," ICSLP96, vol.
PartOfSpeechTaggerTags the words in the utterance with their part-of-speech. -
PauseGeneratorAnnotates an utterance with pause information.
PostLexicalAnalyzerAnnotates the utterance with post lexical information.
TokenizerImplImplements the tokenizer interface.
-  - -

-

-Package com.sun.speech.freetts.en Description -

- -

-Support for English. Classes in this package should provide -support specific to the English language. Variant-specific -support such as US should be placed in sub-packages. - - -

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/package-tree.html b/javadoc/com/sun/speech/freetts/en/package-tree.html deleted file mode 100644 index 9836c88..0000000 --- a/javadoc/com/sun/speech/freetts/en/package-tree.html +++ /dev/null @@ -1,148 +0,0 @@ - - - - - - -com.sun.speech.freetts.en Class Hierarchy (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.sun.speech.freetts.en -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/CMUArcticVoice.html b/javadoc/com/sun/speech/freetts/en/us/CMUArcticVoice.html deleted file mode 100644 index adf163d..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/CMUArcticVoice.html +++ /dev/null @@ -1,348 +0,0 @@ - - - - - - -CMUArcticVoice (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -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
- UtteranceProcessorgetUnitSelector() - -
-          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, 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, startBatch
- - - - - - - -
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
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/CMUClusterUnitVoice.html b/javadoc/com/sun/speech/freetts/en/us/CMUClusterUnitVoice.html deleted file mode 100644 index 0f23416..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/CMUClusterUnitVoice.html +++ /dev/null @@ -1,498 +0,0 @@ - - - - - - -CMUClusterUnitVoice (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class CMUClusterUnitVoice

-
-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
-
-
-
All Implemented Interfaces:
de.dfki.lt.freetts.ConcatenativeVoice, Dumpable, UtteranceProcessor
-
-
-
Direct Known Subclasses:
CMUArcticVoice, CMUTimeVoice
-
-
-
-
public class CMUClusterUnitVoice
extends CMUVoice
implements de.dfki.lt.freetts.ConcatenativeVoice
- -

-Defines voice that does cluster unit selection. -

- -

-


- -

- - - - - - - - - - - - - - -
-Field Summary
-protected  java.net.URLdatabase - -
-           
- - - - - - - -
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
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
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.net.URLgetDatabase() - -
-          Gets the url to the database that defines the unit data for this - voice.
- UtteranceProcessorgetPitchmarkGenerator() - -
-          Returns the pitch mark generator to be used by this voice. -
- UtteranceProcessorgetUnitConcatenator() - -
-          Returns the unit concatenator to be used by this voice. -
- UtteranceProcessorgetUnitSelector() - -
-          Returns the unit selector to be used by this voice. -
-protected  voidsetupFeatureSet() - -
-          Sets up the FeatureSet for this Voice.
- java.lang.StringtoString() - -
-          Converts this object to a string
- - - - - - - -
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, 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, startBatch
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-database

-
-protected java.net.URL database
-
-
-
-
- - - - - - - - -
-Constructor Detail
- -

-CMUClusterUnitVoice

-
-public 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 -

-

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
- -

-getDatabase

-
-public java.net.URL getDatabase()
-
-
Gets the url to the database that defines the unit data for this - voice. -

-

-
Specified by:
getDatabase in interface de.dfki.lt.freetts.ConcatenativeVoice
-
-
- -
Returns:
a url to the database
-
-
-
- -

-setupFeatureSet

-
-protected void setupFeatureSet()
-                        throws java.io.IOException
-
-
Sets up the FeatureSet for this Voice. -

-

-
Overrides:
setupFeatureSet in class CMUVoice
-
-
- -
Throws: -
java.io.IOException - if an I/O error occurs
-
-
-
- -

-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 CMUVoice
-
-
- -
Returns:
the post lexical processor -
Throws: -
java.io.IOException - if an IO error occurs while getting - processor
-
-
-
- -

-getPitchmarkGenerator

-
-public UtteranceProcessor getPitchmarkGenerator()
-                                         throws java.io.IOException
-
-
Returns the pitch mark generator to be used by this voice. - Derived voices typically override this to customize behaviors. - There is no default unit selector -

-

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

-getUnitConcatenator

-
-public UtteranceProcessor getUnitConcatenator()
-                                       throws java.io.IOException
-
-
Returns the unit concatenator to be used by this voice. - Derived voices typically override this to customize behaviors. - There is no default unit selector -

-

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

-toString

-
-public java.lang.String toString()
-
-
Converts this object to a string -

-

-
Overrides:
toString in class CMUVoice
-
-
- -
Returns:
a string representation of this object
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/CMUDiphoneVoice.html b/javadoc/com/sun/speech/freetts/en/us/CMUDiphoneVoice.html deleted file mode 100644 index 2692563..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/CMUDiphoneVoice.html +++ /dev/null @@ -1,546 +0,0 @@ - - - - - - -CMUDiphoneVoice (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class CMUDiphoneVoice

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.Voice
-      extended bycom.sun.speech.freetts.en.us.CMUVoice
-          extended bycom.sun.speech.freetts.en.us.CMUDiphoneVoice
-
-
-
All Implemented Interfaces:
de.dfki.lt.freetts.ConcatenativeVoice, Dumpable, UtteranceProcessor
-
-
-
-
public class CMUDiphoneVoice
extends CMUVoice
implements de.dfki.lt.freetts.ConcatenativeVoice
- -

-Defines an unlimited-domain diphone synthesis based voice -

- -

-


- -

- - - - - - - - - - - - - - -
-Field Summary
-protected  java.net.URLdatabase - -
-           
- - - - - - - -
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
CMUDiphoneVoice() - -
-          Creates a simple voice.
CMUDiphoneVoice(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 voice
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.net.URLgetDatabase() - -
-          Gets the url to the database that defines the unit data for this - voice.
- UtteranceProcessorgetPitchmarkGenerator() - -
-          Returns the pitch mark generator to be used by this voice. -
-protected  UtteranceProcessorgetPostLexicalAnalyzer() - -
-          Returns the post lexical processor to be used by this voice. -
- UtteranceProcessorgetUnitConcatenator() - -
-          Returns the unit concatenator to be used by this voice. -
- UtteranceProcessorgetUnitSelector() - -
-          Returns the unit selector to be used by this voice. -
-protected  voidsetupFeatureSet() - -
-          Sets the FeatureSet for this Voice.
- java.lang.StringtoString() - -
-          Converts this object to a string
- - - - - - - -
Methods inherited from class com.sun.speech.freetts.en.us.CMUVoice
getAudioOutput, getPhoneFeature, getTokenizer, loader, setupFeatureProcessors, setupUtteranceProcessors
- - - - - - - -
Methods inherited from class com.sun.speech.freetts.Voice
addFeatureProcessor, 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, startBatch
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-database

-
-protected java.net.URL database
-
-
-
-
- - - - - - - - -
-Constructor Detail
- -

-CMUDiphoneVoice

-
-public CMUDiphoneVoice()
-
-
Creates a simple voice. This is merely for backwards - compatibility with versions of FreeTTS earlier than v1.2 - (i.e., before the voice manager was introduced). -

-

-
- -

-CMUDiphoneVoice

-
-public CMUDiphoneVoice(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 voice -

-

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 - a url to the unit database file for this voice
- - - - - - - - -
-Method Detail
- -

-getDatabase

-
-public java.net.URL getDatabase()
-
-
Gets the url to the database that defines the unit data for this - voice. -

-

-
Specified by:
getDatabase in interface de.dfki.lt.freetts.ConcatenativeVoice
-
-
- -
Returns:
a url to the database
-
-
-
- -

-setupFeatureSet

-
-protected void setupFeatureSet()
-                        throws java.io.IOException
-
-
Sets the FeatureSet for this Voice. -

-

-
Overrides:
setupFeatureSet in class CMUVoice
-
-
- -
Throws: -
java.io.IOException - if an I/O error occurs
-
-
-
- -

-getPostLexicalAnalyzer

-
-protected UtteranceProcessor getPostLexicalAnalyzer()
-                                             throws java.io.IOException
-
-
Returns the post lexical processor to be used by this voice. - Derived voices typically override this to customize behaviors. -

-

-
Overrides:
getPostLexicalAnalyzer in class CMUVoice
-
-
- -
Returns:
the Unit selector -
Throws: -
java.io.IOException - if an IO error occurs while getting - processor
-
-
-
- -

-getPitchmarkGenerator

-
-public UtteranceProcessor getPitchmarkGenerator()
-                                         throws java.io.IOException
-
-
Returns the pitch mark generator to be used by this voice. - Derived voices typically override this to customize behaviors. - This voice uses a DiphonePitchMark generator to generate - pitchmarks. -

-

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

-getUnitConcatenator

-
-public UtteranceProcessor getUnitConcatenator()
-                                       throws java.io.IOException
-
-
Returns the unit concatenator to be used by this voice. - Derived voices typically override this to customize behaviors. - This voice uses a relp.UnitConcatenator to concatenate units. -

-

-
Specified by:
getUnitConcatenator in interface de.dfki.lt.freetts.ConcatenativeVoice
Overrides:
getUnitConcatenator in class CMUVoice
-
-
- -
Returns:
the unit concatenator processor -
Throws: -
java.io.IOException - if an IO error occurs while getting - processor
-
-
-
- -

-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 the DiphoneUnitSelector to select units. The - unit selector requires the name of a diphone database. If no - diphone database has been specified then an Error is thrown. -

-

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

-toString

-
-public java.lang.String toString()
-
-
Converts this object to a string -

-

-
Overrides:
toString in class CMUVoice
-
-
- -
Returns:
a string representation of this object
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/CMULexicon.html b/javadoc/com/sun/speech/freetts/en/us/CMULexicon.html deleted file mode 100644 index 195ca69..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/CMULexicon.html +++ /dev/null @@ -1,561 +0,0 @@ - - - - - - -CMULexicon (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class CMULexicon

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.lexicon.LexiconImpl
-      extended bycom.sun.speech.freetts.en.us.CMULexicon
-
-
-
All Implemented Interfaces:
Lexicon
-
-
-
Direct Known Subclasses:
CMUTimeLexicon
-
-
-
-
public class CMULexicon
extends LexiconImpl
- -

-Provides a CMU lexicon-specific implementation of a Lexicon that is - stored in a text file. -

- -

-


- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class com.sun.speech.freetts.lexicon.LexiconImpl
tokenizeOnLoad, tokenizeOnLookup
-  - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
CMULexicon() - -
-          Creates the default CMU Lexicon which is a binary lexicon
CMULexicon(java.lang.String basename) - -
-          Creates the CMU Lexicon which is a binary lexicon
CMULexicon(java.lang.String basename, - boolean useBinaryIO) - -
-           
CMULexicon(java.net.URL compiledURL, - java.net.URL addendaURL, - java.net.URL letterToSoundURL, - boolean binary) - -
-          Creates a CMULexicon based upon the given compiled and addenda - DBs and the given letter to sound rules
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static CMULexicongetInstance(boolean useBinaryIO) - -
-          Get the CMULexicon.
-static CMULexicongetInstance(java.lang.String basename, - boolean useBinaryIO) - -
-          Get the CMULexicon.
-protected static intgetSonority(java.lang.String phone) - -
-          Determines the sonority for the given phone.
-protected static booleanhasVowel(java.util.List phones) - -
-          Determines if there is a vowel in given list of phones.
-protected static booleanhasVowel(java.lang.String[] phones, - int index) - -
-          Determines if there is a vowel in the remainder of the array, - starting at the given index.
-protected static booleanisSilence(java.lang.String phone) - -
-          Determines if the given phone represents a silent phone.
- booleanisSyllableBoundary(java.util.List syllablePhones, - java.lang.String[] wordPhones, - int currentWordPhone) - -
-          Determines if the currentPhone represents a new syllable - boundary.
-protected static booleanisVowel(java.lang.String phone) - -
-          Determines if the given phone is a vowel
-static voidmain(java.lang.String[] args) - -
-          Provides test code for the CMULexicon. -
- - - - - - - -
Methods inherited from class com.sun.speech.freetts.lexicon.LexiconImpl
addAddendum, compare, createLexicon, dumpBinary, fixPartOfSpeech, getPhones, getPhones, getPhones, getPhones, getPhones, isLoaded, load, loadTextLexicon, parseAndAdd, removeAddendum, setLexiconParameters
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-CMULexicon

-
-public CMULexicon(java.net.URL compiledURL,
-                  java.net.URL addendaURL,
-                  java.net.URL letterToSoundURL,
-                  boolean binary)
-
-
Creates a CMULexicon based upon the given compiled and addenda - DBs and the given letter to sound rules -

-

Parameters:
compiledURL - the compiled database is loaded from here
addendaURL - the database addenda is loaded from here
letterToSoundURL - the letter to sound rules are loaded - from here
binary - if true the input data are loaded as - binary ; otherwise if false the input - data are loaded as text.
-
- -

-CMULexicon

-
-public CMULexicon()
-
-
Creates the default CMU Lexicon which is a binary lexicon -

-

-
- -

-CMULexicon

-
-public CMULexicon(java.lang.String basename)
-
-
Creates the CMU Lexicon which is a binary lexicon -

-

Parameters:
basename - the basename for the lexicon.
-
- -

-CMULexicon

-
-public CMULexicon(java.lang.String basename,
-                  boolean useBinaryIO)
-
-
- - - - - - - - -
-Method Detail
- -

-getInstance

-
-public static CMULexicon getInstance(boolean useBinaryIO)
-                              throws java.io.IOException
-
-
Get the CMULexicon. -

-

-
Parameters:
useBinaryIO - if true use binary IO to load DB -
Throws: -
java.io.IOException - if problems occurred while reading the data
-
-
-
- -

-getInstance

-
-public static CMULexicon getInstance(java.lang.String basename,
-                                     boolean useBinaryIO)
-                              throws java.io.IOException
-
-
Get the CMULexicon. -

-

-
Parameters:
useBinaryIO - if true use binary IO to load DB -
Throws: -
java.io.IOException - if problems occurred while reading the data
-
-
-
- -

-isSyllableBoundary

-
-public boolean isSyllableBoundary(java.util.List syllablePhones,
-                                  java.lang.String[] wordPhones,
-                                  int currentWordPhone)
-
-
Determines if the currentPhone represents a new syllable - boundary. -

-

-
Parameters:
syllablePhones - the phones in the current syllable so far
wordPhones - the phones for the whole word
currentWordPhone - the word phone in question -
Returns:
true if the word phone in question is on a - syllable boundary; otherwise false.
-
-
-
- -

-isSilence

-
-protected static boolean isSilence(java.lang.String phone)
-
-
Determines if the given phone represents a silent phone. -

-

-
Parameters:
phone - the phone to test -
Returns:
true if the phone represents a silent - phone; otherwise false.
-
-
-
- -

-hasVowel

-
-protected static boolean hasVowel(java.lang.String[] phones,
-                                  int index)
-
-
Determines if there is a vowel in the remainder of the array, - starting at the given index. -

-

-
Parameters:
phones - the set of phones to check
index - start checking at this index -
Returns:
true if a vowel is found; - otherwise false.
-
-
-
- -

-hasVowel

-
-protected static boolean hasVowel(java.util.List phones)
-
-
Determines if there is a vowel in given list of phones. -

-

-
Parameters:
phones - the list of phones -
Returns:
true if a vowel is found; - otherwise false.
-
-
-
- -

-isVowel

-
-protected static boolean isVowel(java.lang.String phone)
-
-
Determines if the given phone is a vowel -

-

-
Parameters:
phone - the phone to test -
Returns:
true if phone is a vowel - otherwise false.
-
-
-
- -

-getSonority

-
-protected static int getSonority(java.lang.String phone)
-
-
Determines the sonority for the given phone. -

-

-
Parameters:
phone - the phone of interest -
Returns:
an integer that classifies phone transitions
-
-
-
- -

-main

-
-public static void main(java.lang.String[] args)
-
-
Provides test code for the CMULexicon. -
Usage:
-
-  com.sun.speech.freetts.en.us.CMULexicon [options]
-
- Where options is any combination of:
-
- -src path
- -dest path
- -generate_binary [base_name]
- -compare
- -showtimes
-
- 
-

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/CMUTimeLexicon.html b/javadoc/com/sun/speech/freetts/en/us/CMUTimeLexicon.html deleted file mode 100644 index 2831a20..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/CMUTimeLexicon.html +++ /dev/null @@ -1,264 +0,0 @@ - - - - - - -CMUTimeLexicon (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class CMUTimeLexicon

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.lexicon.LexiconImpl
-      extended bycom.sun.speech.freetts.en.us.CMULexicon
-          extended bycom.sun.speech.freetts.en.us.CMUTimeLexicon
-
-
-
All Implemented Interfaces:
Lexicon
-
-
-
-
public class CMUTimeLexicon
extends CMULexicon
- -

-Provides a CMU time lexicon-specific implementation of a Lexicon. - stored in a text file. -

- -

-


- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class com.sun.speech.freetts.lexicon.LexiconImpl
tokenizeOnLoad, tokenizeOnLookup
-  - - - - - - - - - - -
-Constructor Summary
CMUTimeLexicon() - -
-          Creates a default CMUTimeLexicon which is a binary lexicon
-  - - - - - - - - - - -
Methods inherited from class com.sun.speech.freetts.en.us.CMULexicon
getInstance, getInstance, getSonority, hasVowel, hasVowel, isSilence, isSyllableBoundary, isVowel, main
- - - - - - - -
Methods inherited from class com.sun.speech.freetts.lexicon.LexiconImpl
addAddendum, compare, createLexicon, dumpBinary, fixPartOfSpeech, getPhones, getPhones, getPhones, getPhones, getPhones, isLoaded, load, loadTextLexicon, parseAndAdd, removeAddendum, setLexiconParameters
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-CMUTimeLexicon

-
-public CMUTimeLexicon()
-
-
Creates a default CMUTimeLexicon which is a binary lexicon -

-

- - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/CMUTimeVoice.html b/javadoc/com/sun/speech/freetts/en/us/CMUTimeVoice.html deleted file mode 100644 index 6eb7e5c..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/CMUTimeVoice.html +++ /dev/null @@ -1,378 +0,0 @@ - - - - - - -CMUTimeVoice (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class CMUTimeVoice

-
-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.CMUTimeVoice
-
-
-
All Implemented Interfaces:
de.dfki.lt.freetts.ConcatenativeVoice, Dumpable, UtteranceProcessor
-
-
-
-
public class CMUTimeVoice
extends CMUClusterUnitVoice
- -

-Defines limited domain synthesis voice that specializes - in telling the time. This is based on data created by - the example time domain voice in FestVox. -

- -

-


- -

- - - - - - - - - - -
-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
CMUTimeVoice(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
-  - - - - - - - - - - - - - - - -
-Method Summary
-protected  UtteranceProcessorgetPostLexicalAnalyzer() - -
-          The FestVox voice does not take advantage of any post lexical - processing.
- java.lang.StringtoString() - -
-          Converts this object to a string
- - - - - - - -
Methods inherited from class com.sun.speech.freetts.en.us.CMUClusterUnitVoice
getDatabase, getPitchmarkGenerator, getUnitConcatenator, getUnitSelector, setupFeatureSet
- - - - - - - -
Methods inherited from class com.sun.speech.freetts.en.us.CMUVoice
getAudioOutput, getPhoneFeature, getTokenizer, loader, setupFeatureProcessors, setupUtteranceProcessors
- - - - - - - -
Methods inherited from class com.sun.speech.freetts.Voice
addFeatureProcessor, 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, startBatch
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-CMUTimeVoice

-
-public CMUTimeVoice(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 -

-

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
- -

-getPostLexicalAnalyzer

-
-protected UtteranceProcessor getPostLexicalAnalyzer()
-                                             throws java.io.IOException
-
-
The FestVox voice does not take advantage of any post lexical - processing. As a result, it doesn't end up getting certain - units that are expected by the typical post lexical processing. - For example, if "the" is followed by a word that begins with - a vowel, the typical post lexical processing will change its - pronunciation from "dh ax" to "dh iy". We don't want this - in this voice. -

-

-
Overrides:
getPostLexicalAnalyzer in class CMUVoice
-
-
- -
Returns:
the post lexical analyzer in use by this voice -
Throws: -
java.io.IOException - if an IO error occurs while getting - processor
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Converts this object to a string -

-

-
Overrides:
toString in class CMUClusterUnitVoice
-
-
- -
Returns:
a string representation of this object
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/CMUVoice.html b/javadoc/com/sun/speech/freetts/en/us/CMUVoice.html deleted file mode 100644 index 320103d..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/CMUVoice.html +++ /dev/null @@ -1,609 +0,0 @@ - - - - - - -CMUVoice (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class CMUVoice

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.Voice
-      extended bycom.sun.speech.freetts.en.us.CMUVoice
-
-
-
All Implemented Interfaces:
Dumpable, UtteranceProcessor
-
-
-
Direct Known Subclasses:
CMUClusterUnitVoice, CMUDiphoneVoice, MbrolaVoice
-
-
-
-
public abstract class CMUVoice
extends Voice
- -

-Provides generic support for a CMU Voice -

- -

-


- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
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
CMUVoice(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) - -
-          Creates a simple voice
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  UtteranceProcessorgetAudioOutput() - -
-          Returns the AudioOutput processor to be used by this voice - Derived voices typically override this to customize behaviors.
- java.lang.StringgetPhoneFeature(java.lang.String phone, - java.lang.String featureName) - -
-          Given a phoneme and a feature name, return the feature
-protected  UtteranceProcessorgetPitchmarkGenerator() - -
-          Returns the pitch mark generator to be used by this voice - Derived voices typically override this to customize behaviors.
-protected  UtteranceProcessorgetPostLexicalAnalyzer() - -
-          Returns the post lexical processor to be used by this voice. -
- TokenizergetTokenizer() - -
-          Gets a tokenizer for this voice
-protected  UtteranceProcessorgetUnitConcatenator() - -
-          Returns the unit concatenator to be used by this voice - Derived voices typically override this to customize behaviors.
-protected  UtteranceProcessorgetUnitSelector() - -
-          Returns the unit selector to be used by this voice - Derived voices typically override this to customize behaviors.
-protected  voidloader() - -
-          Called by Voice during loading, derived voices - should override this to provide customized loading.
-protected  voidsetupFeatureProcessors() - -
-          Sets up the FeatureProcessors for this Voice.
-protected  voidsetupFeatureSet() - -
-          Sets up the FeatureSet for this Voice.
-protected  voidsetupUtteranceProcessors() - -
-          Sets up the utterance processors for this voice.
- java.lang.StringtoString() - -
-          Converts this object to its String representation
- - - - - - - -
Methods inherited from class com.sun.speech.freetts.Voice
addFeatureProcessor, 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, startBatch
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-CMUVoice

-
-public CMUVoice(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)
-
-
Creates a simple voice -

-

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
- - - - - - - - -
-Method Detail
- -

-loader

-
-protected void loader()
-               throws java.io.IOException
-
-
Called by Voice during loading, derived voices - should override this to provide customized loading. -

-

-
Specified by:
loader in class Voice
-
-
- -
Throws: -
java.io.IOException
-
-
-
- -

-setupFeatureSet

-
-protected void setupFeatureSet()
-                        throws java.io.IOException
-
-
Sets up the FeatureSet for this Voice. -

-

- -
Throws: -
java.io.IOException - if an I/O error occurs
-
-
-
- -

-setupUtteranceProcessors

-
-protected void setupUtteranceProcessors()
-                                 throws java.io.IOException
-
-
Sets up the utterance processors for this voice. Subclasses - should define this method to setup the utterance processors for - the voice. -

-

- -
Throws: -
java.io.IOException - throws an IOException if an error occurs
-
-
-
- -

-getPostLexicalAnalyzer

-
-protected UtteranceProcessor getPostLexicalAnalyzer()
-                                             throws java.io.IOException
-
-
Returns the post lexical processor to be used by this voice. - Derived voices typically override this to customize behaviors. -

-

- -
Returns:
the post lexical analyzer in use by this voice -
Throws: -
java.io.IOException - if an IO error occurs while getting - processor
-
-
-
- -

-getUnitSelector

-
-protected UtteranceProcessor getUnitSelector()
-                                      throws java.io.IOException
-
-
Returns the unit selector to be used by this voice - Derived voices typically override this to customize behaviors. -

-

- -
Returns:
the unit selector in use by this voice -
Throws: -
java.io.IOException - if an IO error occurs while getting - processor
-
-
-
- -

-getPitchmarkGenerator

-
-protected UtteranceProcessor getPitchmarkGenerator()
-                                            throws java.io.IOException
-
-
Returns the pitch mark generator to be used by this voice - Derived voices typically override this to customize behaviors. -

-

- -
Returns:
the pitch mark generator to be used by this voice -
Throws: -
java.io.IOException - if an IO error occurs while getting - processor
-
-
-
- -

-getUnitConcatenator

-
-protected UtteranceProcessor getUnitConcatenator()
-                                          throws java.io.IOException
-
-
Returns the unit concatenator to be used by this voice - Derived voices typically override this to customize behaviors. -

-

- -
Returns:
the Unit concatenator -
Throws: -
java.io.IOException - if an IO error occurs while getting - processor
-
-
-
- -

-setupFeatureProcessors

-
-protected void setupFeatureProcessors()
-                               throws java.io.IOException
-
-
Sets up the FeatureProcessors for this Voice. -

-

- -
Throws: -
java.io.IOException - if an I/O error occurs
-
-
-
- -

-getPhoneFeature

-
-public java.lang.String getPhoneFeature(java.lang.String phone,
-                                        java.lang.String featureName)
-
-
Given a phoneme and a feature name, return the feature -

-

-
Overrides:
getPhoneFeature in class Voice
-
-
-
Parameters:
phone - the phoneme of interest
featureName - the name of the feature of interest -
Returns:
the feature with the given name
-
-
-
- -

-getAudioOutput

-
-protected UtteranceProcessor getAudioOutput()
-                                     throws java.io.IOException
-
-
Returns the AudioOutput processor to be used by this voice - Derived voices typically override this to customize behaviors. -

-

-
Specified by:
getAudioOutput in class Voice
-
-
- -
Returns:
the audio output processor -
Throws: -
java.io.IOException - if an IO error occurs while getting - processor
-
-
-
- -

-getTokenizer

-
-public Tokenizer getTokenizer()
-
-
Gets a tokenizer for this voice -

-

-
Specified by:
getTokenizer in class Voice
-
-
- -
Returns:
the tokenizer
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Converts this object to its String representation -

-

-
Overrides:
toString in class Voice
-
-
- -
Returns:
the string representation of this object
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.Accented.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.Accented.html deleted file mode 100644 index 380f96e..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.Accented.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -FeatureProcessors.Accented (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.Accented

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.Accented
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.Accented
extends java.lang.Object
implements FeatureProcessor
- -

-Checks to see if the given syllable is accented. - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.Accented() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item item) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.Accented

-
-public FeatureProcessors.Accented()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item item)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
item - the item to process -
Returns:
"1" if the syllable is accented; otherwise "0" -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.AccentedSylIn.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.AccentedSylIn.html deleted file mode 100644 index 8c3e683..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.AccentedSylIn.html +++ /dev/null @@ -1,273 +0,0 @@ - - - - - - -FeatureProcessors.AccentedSylIn (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.AccentedSylIn

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.AccentedSylIn
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.AccentedSylIn
extends java.lang.Object
implements FeatureProcessor
- -

-Counts the number of accented syllables since the last major break. - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.AccentedSylIn() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item item) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.AccentedSylIn

-
-public FeatureProcessors.AccentedSylIn()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item item)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
item - the item to process -
Returns:
the number of accented syllables since the last - major break -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.Gpos.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.Gpos.html deleted file mode 100644 index f8a59b6..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.Gpos.html +++ /dev/null @@ -1,275 +0,0 @@ - - - - - - -FeatureProcessors.Gpos (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.Gpos

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.Gpos
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.Gpos
extends java.lang.Object
implements FeatureProcessor
- -

-Returns a guess of the part-of-speech. - - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.Gpos(PartOfSpeech pos) - -
-          Creates a GPOS with the given part-of-speech table
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item item) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.Gpos

-
-public FeatureProcessors.Gpos(PartOfSpeech pos)
-
-
Creates a GPOS with the given part-of-speech table -

-

Parameters:
pos - part of speech determiner
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item item)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
item - the item to process -
Returns:
a guess at the part-of-speech for the item -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.LastAccent.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.LastAccent.html deleted file mode 100644 index 9f66fb2..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.LastAccent.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -FeatureProcessors.LastAccent (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.LastAccent

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.LastAccent
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.LastAccent
extends java.lang.Object
implements FeatureProcessor
- -

-Find the last accented syllable - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.LastAccent() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item item) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.LastAccent

-
-public FeatureProcessors.LastAccent()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item item)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
item - the item to process -
Returns:
the count of the last accented syllable -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.MonthRange.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.MonthRange.html deleted file mode 100644 index 5a2f37e..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.MonthRange.html +++ /dev/null @@ -1,275 +0,0 @@ - - - - - - -FeatureProcessors.MonthRange (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.MonthRange

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.MonthRange
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.MonthRange
extends java.lang.Object
implements FeatureProcessor
- -

-Returns true ("1") if the given item is a number between 0 and - 32 exclusive, otherwise, returns "0". - string) - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.MonthRange() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item item) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.MonthRange

-
-public FeatureProcessors.MonthRange()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item item)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
item - the item to process -
Returns:
returns "1" if the given item is a number between 0 - and 32 (exclusive) otherwise returns "0" -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.NumDigits.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.NumDigits.html deleted file mode 100644 index 85c04c2..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.NumDigits.html +++ /dev/null @@ -1,273 +0,0 @@ - - - - - - -FeatureProcessors.NumDigits (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.NumDigits

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.NumDigits
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.NumDigits
extends java.lang.Object
implements FeatureProcessor
- -

-Returns the length of the string. (generally this is a digit - string) - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.NumDigits() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item item) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.NumDigits

-
-public FeatureProcessors.NumDigits()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item item)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
item - the item to process -
Returns:
the length of the string -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PH_CPlace.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PH_CPlace.html deleted file mode 100644 index 568b49a..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PH_CPlace.html +++ /dev/null @@ -1,274 +0,0 @@ - - - - - - -FeatureProcessors.PH_CPlace (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.PH_CPlace

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.PH_CPlace
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.PH_CPlace
extends java.lang.Object
implements FeatureProcessor
- -

-Return consonant cplace - l-labial a-alveolar p-palatal b-labio_dental d-dental v-velar - - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.PH_CPlace() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item item) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.PH_CPlace

-
-public FeatureProcessors.PH_CPlace()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item item)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
item - the item to process -
Returns:
consonant cplace -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PH_CType.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PH_CType.html deleted file mode 100644 index 8cedef6..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PH_CType.html +++ /dev/null @@ -1,274 +0,0 @@ - - - - - - -FeatureProcessors.PH_CType (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.PH_CType

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.PH_CType
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.PH_CType
extends java.lang.Object
implements FeatureProcessor
- -

-Return consonant type - s-stop f-fricative a-affricative n-nasal * l-liquid - - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.PH_CType() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item item) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.PH_CType

-
-public FeatureProcessors.PH_CType()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item item)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
item - the item to process -
Returns:
consonant type -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PH_CVox.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PH_CVox.html deleted file mode 100644 index 8b6b421..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PH_CVox.html +++ /dev/null @@ -1,274 +0,0 @@ - - - - - - -FeatureProcessors.PH_CVox (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.PH_CVox

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.PH_CVox
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.PH_CVox
extends java.lang.Object
implements FeatureProcessor
- -

-Return consonant voicing - +=on -=off - - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.PH_CVox() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item item) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.PH_CVox

-
-public FeatureProcessors.PH_CVox()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item item)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
item - the item to process -
Returns:
consonant voicing -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PH_VC.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PH_VC.html deleted file mode 100644 index b9a98fe..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PH_VC.html +++ /dev/null @@ -1,274 +0,0 @@ - - - - - - -FeatureProcessors.PH_VC (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.PH_VC

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.PH_VC
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.PH_VC
extends java.lang.Object
implements FeatureProcessor
- -

-Return vowel or consonant - +=on -=off - - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.PH_VC() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item item) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.PH_VC

-
-public FeatureProcessors.PH_VC()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item item)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
item - the item to process -
Returns:
vowel or consonant -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PH_VFront.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PH_VFront.html deleted file mode 100644 index 1d90f53..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PH_VFront.html +++ /dev/null @@ -1,274 +0,0 @@ - - - - - - -FeatureProcessors.PH_VFront (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.PH_VFront

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.PH_VFront
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.PH_VFront
extends java.lang.Object
implements FeatureProcessor
- -

-Return vowel frontness - 1-front 2-mid 3-back - - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.PH_VFront() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item item) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.PH_VFront

-
-public FeatureProcessors.PH_VFront()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item item)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
item - the item to process -
Returns:
vowel frontness -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PH_VHeight.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PH_VHeight.html deleted file mode 100644 index 73e890a..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PH_VHeight.html +++ /dev/null @@ -1,274 +0,0 @@ - - - - - - -FeatureProcessors.PH_VHeight (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.PH_VHeight

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.PH_VHeight
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.PH_VHeight
extends java.lang.Object
implements FeatureProcessor
- -

-Return vowel height - 1-high 2-mid 3-low - - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.PH_VHeight() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item item) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.PH_VHeight

-
-public FeatureProcessors.PH_VHeight()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item item)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
item - the item to process -
Returns:
vowel height -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PH_VLength.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PH_VLength.html deleted file mode 100644 index 0d95a4b..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PH_VLength.html +++ /dev/null @@ -1,274 +0,0 @@ - - - - - - -FeatureProcessors.PH_VLength (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.PH_VLength

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.PH_VLength
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.PH_VLength
extends java.lang.Object
implements FeatureProcessor
- -

-Return vowel length - s-short l-long d-dipthong a-schwa - - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.PH_VLength() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item item) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.PH_VLength

-
-public FeatureProcessors.PH_VLength()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item item)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
item - the item to process -
Returns:
vowel length -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PH_VRnd.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PH_VRnd.html deleted file mode 100644 index dce75e5..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PH_VRnd.html +++ /dev/null @@ -1,274 +0,0 @@ - - - - - - -FeatureProcessors.PH_VRnd (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.PH_VRnd

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.PH_VRnd
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.PH_VRnd
extends java.lang.Object
implements FeatureProcessor
- -

-Return vowel rnd (lip rounding) - lip rounding +=on -=off - - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.PH_VRnd() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item item) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.PH_VRnd

-
-public FeatureProcessors.PH_VRnd()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item item)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
item - the item to process -
Returns:
volwel rnd -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PosInSyl.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PosInSyl.html deleted file mode 100644 index 0e229af..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PosInSyl.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -FeatureProcessors.PosInSyl (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.PosInSyl

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.PosInSyl
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.PosInSyl
extends java.lang.Object
implements FeatureProcessor
- -

-Finds the position of the phoneme in the syllable - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.PosInSyl() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item item) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.PosInSyl

-
-public FeatureProcessors.PosInSyl()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item item)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
item - the item to process -
Returns:
the position of the phoneme in the syllable -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PositionType.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PositionType.html deleted file mode 100644 index 9035503..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.PositionType.html +++ /dev/null @@ -1,273 +0,0 @@ - - - - - - -FeatureProcessors.PositionType (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.PositionType

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.PositionType
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.PositionType
extends java.lang.Object
implements FeatureProcessor
- -

-Classifies the the syllable as single, initial, mid or final. - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.PositionType() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item item) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.PositionType

-
-public FeatureProcessors.PositionType()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item item)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
item - the item to process -
Returns:
classifies the syllable as "single", "final", - "initial" or "mid" -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegCodaFric.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegCodaFric.html deleted file mode 100644 index 7a26276..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegCodaFric.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -FeatureProcessors.SegCodaFric (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.SegCodaFric

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.SegCodaFric
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.SegCodaFric
extends java.lang.Object
implements FeatureProcessor
- -

-Checks for fricative - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.SegCodaFric() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item seg) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.SegCodaFric

-
-public FeatureProcessors.SegCodaFric()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item seg)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
seg - the item to process -
Returns:
"1" if fricative; else "0" -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegCodaGlide.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegCodaGlide.html deleted file mode 100644 index 8ef138b..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegCodaGlide.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -FeatureProcessors.SegCodaGlide (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.SegCodaGlide

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.SegCodaGlide
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.SegCodaGlide
extends java.lang.Object
implements FeatureProcessor
- -

-Checks for coda glide - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.SegCodaGlide() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item seg) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.SegCodaGlide

-
-public FeatureProcessors.SegCodaGlide()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item seg)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
seg - the item to process -
Returns:
if coda stop "1"; otherwise "0" -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegCodaNasal.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegCodaNasal.html deleted file mode 100644 index ce620f6..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegCodaNasal.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -FeatureProcessors.SegCodaNasal (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.SegCodaNasal

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.SegCodaNasal
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.SegCodaNasal
extends java.lang.Object
implements FeatureProcessor
- -

-Checks for coda nasal - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.SegCodaNasal() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item seg) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.SegCodaNasal

-
-public FeatureProcessors.SegCodaNasal()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item seg)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
seg - the item to process -
Returns:
if coda stop "1"; otherwise "0" -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegCodaStop.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegCodaStop.html deleted file mode 100644 index 97b1c6e..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegCodaStop.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -FeatureProcessors.SegCodaStop (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.SegCodaStop

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.SegCodaStop
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.SegCodaStop
extends java.lang.Object
implements FeatureProcessor
- -

-Checks for coda stop - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.SegCodaStop() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item seg) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.SegCodaStop

-
-public FeatureProcessors.SegCodaStop()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item seg)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
seg - the item to process -
Returns:
if coda stop "1"; otherwise "0" -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegOnsetCoda.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegOnsetCoda.html deleted file mode 100644 index 268ffae..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegOnsetCoda.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -FeatureProcessors.SegOnsetCoda (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.SegOnsetCoda

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.SegOnsetCoda
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.SegOnsetCoda
extends java.lang.Object
implements FeatureProcessor
- -

-Checks for onset coda - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.SegOnsetCoda() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item seg) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.SegOnsetCoda

-
-public FeatureProcessors.SegOnsetCoda()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item seg)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
seg - the item to process -
Returns:
if onset coda "1"; otherwise "0" -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegOnsetFric.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegOnsetFric.html deleted file mode 100644 index c6dc7bb..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegOnsetFric.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -FeatureProcessors.SegOnsetFric (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.SegOnsetFric

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.SegOnsetFric
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.SegOnsetFric
extends java.lang.Object
implements FeatureProcessor
- -

-Checks for fricative - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.SegOnsetFric() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item seg) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.SegOnsetFric

-
-public FeatureProcessors.SegOnsetFric()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item seg)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
seg - the item to process -
Returns:
"1" if fricative; else "0" -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegOnsetGlide.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegOnsetGlide.html deleted file mode 100644 index a423271..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegOnsetGlide.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -FeatureProcessors.SegOnsetGlide (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.SegOnsetGlide

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.SegOnsetGlide
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.SegOnsetGlide
extends java.lang.Object
implements FeatureProcessor
- -

-Checks for onset glide - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.SegOnsetGlide() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item seg) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.SegOnsetGlide

-
-public FeatureProcessors.SegOnsetGlide()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item seg)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
seg - the item to process -
Returns:
if coda stop "1"; otherwise "0" -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegOnsetNasal.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegOnsetNasal.html deleted file mode 100644 index 52780b8..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegOnsetNasal.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -FeatureProcessors.SegOnsetNasal (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.SegOnsetNasal

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.SegOnsetNasal
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.SegOnsetNasal
extends java.lang.Object
implements FeatureProcessor
- -

-Checks for onset nasal - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.SegOnsetNasal() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item seg) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.SegOnsetNasal

-
-public FeatureProcessors.SegOnsetNasal()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item seg)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
seg - the item to process -
Returns:
if Onset Stop "1"; otherwise "0" -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegOnsetStop.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegOnsetStop.html deleted file mode 100644 index ebc657b..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegOnsetStop.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -FeatureProcessors.SegOnsetStop (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.SegOnsetStop

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.SegOnsetStop
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.SegOnsetStop
extends java.lang.Object
implements FeatureProcessor
- -

-Checks for onset stop - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.SegOnsetStop() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item seg) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.SegOnsetStop

-
-public FeatureProcessors.SegOnsetStop()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item seg)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
seg - the item to process -
Returns:
if Onset Stop "1"; otherwise "0" -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegmentDuration.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegmentDuration.html deleted file mode 100644 index e7e24a2..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SegmentDuration.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -FeatureProcessors.SegmentDuration (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.SegmentDuration

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.SegmentDuration
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.SegmentDuration
extends java.lang.Object
implements FeatureProcessor
- -

-Returns the duration of the given segment - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.SegmentDuration() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item seg) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.SegmentDuration

-
-public FeatureProcessors.SegmentDuration()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item seg)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
seg - the item to process -
Returns:
the duration of the segment as a string. -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.StressedSylIn.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.StressedSylIn.html deleted file mode 100644 index 14a1b7b..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.StressedSylIn.html +++ /dev/null @@ -1,273 +0,0 @@ - - - - - - -FeatureProcessors.StressedSylIn (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.StressedSylIn

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.StressedSylIn
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.StressedSylIn
extends java.lang.Object
implements FeatureProcessor
- -

-Counts the number of stressed syllables since the last major break. - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.StressedSylIn() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item item) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.StressedSylIn

-
-public FeatureProcessors.StressedSylIn()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item item)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
item - the item to process -
Returns:
the number of stresses syllables since the last - major break -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.StressedSylOut.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.StressedSylOut.html deleted file mode 100644 index e88fe4e..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.StressedSylOut.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -FeatureProcessors.StressedSylOut (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.StressedSylOut

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.StressedSylOut
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.StressedSylOut
extends java.lang.Object
implements FeatureProcessor
- -

-Counts the number of stressed syllables until the next major break. - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.StressedSylOut() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item item) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.StressedSylOut

-
-public FeatureProcessors.StressedSylOut()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item item)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
item - the item to process -
Returns:
the number of stressed syllables until the next major break -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SubPhrases.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SubPhrases.html deleted file mode 100644 index 41bf9c7..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SubPhrases.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -FeatureProcessors.SubPhrases (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.SubPhrases

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.SubPhrases
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.SubPhrases
extends java.lang.Object
implements FeatureProcessor
- -

-Counts the number of phrases before this one. - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.SubPhrases() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item item) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.SubPhrases

-
-public FeatureProcessors.SubPhrases()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item item)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
item - the item to process -
Returns:
the number of phrases before this one -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SylBreak.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SylBreak.html deleted file mode 100644 index 0c6cf57..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SylBreak.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -FeatureProcessors.SylBreak (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.SylBreak

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.SylBreak
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.SylBreak
extends java.lang.Object
implements FeatureProcessor
- -

-Determines the break level after this syllable - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.SylBreak() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item syl) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.SylBreak

-
-public FeatureProcessors.SylBreak()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item syl)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
syl - the item to process -
Returns:
the break level after this syllable -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SylCodaSize.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SylCodaSize.html deleted file mode 100644 index ddeca78..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SylCodaSize.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -FeatureProcessors.SylCodaSize (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.SylCodaSize

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.SylCodaSize
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.SylCodaSize
extends java.lang.Object
implements FeatureProcessor
- -

-Determines the coda size - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.SylCodaSize() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item syl) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.SylCodaSize

-
-public FeatureProcessors.SylCodaSize()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item syl)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
syl - the item to process -
Returns:
coda size -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SylIn.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SylIn.html deleted file mode 100644 index 6db7811..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SylIn.html +++ /dev/null @@ -1,273 +0,0 @@ - - - - - - -FeatureProcessors.SylIn (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.SylIn

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.SylIn
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.SylIn
extends java.lang.Object
implements FeatureProcessor
- -

-Counts the number of stressed syllables since the last major break. - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.SylIn() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item item) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.SylIn

-
-public FeatureProcessors.SylIn()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item item)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
item - the item to process -
Returns:
the number of stressed syllables since the last - major break -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SylOnsetSize.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SylOnsetSize.html deleted file mode 100644 index 9b14928..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SylOnsetSize.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -FeatureProcessors.SylOnsetSize (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.SylOnsetSize

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.SylOnsetSize
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.SylOnsetSize
extends java.lang.Object
implements FeatureProcessor
- -

-Determines the onset size of this syllable - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.SylOnsetSize() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item syl) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.SylOnsetSize

-
-public FeatureProcessors.SylOnsetSize()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item syl)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
syl - the item to process -
Returns:
onset size of this syllable -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SylOut.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SylOut.html deleted file mode 100644 index d044aaa..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.SylOut.html +++ /dev/null @@ -1,273 +0,0 @@ - - - - - - -FeatureProcessors.SylOut (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.SylOut

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.SylOut
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.SylOut
extends java.lang.Object
implements FeatureProcessor
- -

-Counts the number of stressed syllables since the last major break. - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.SylOut() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item item) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.SylOut

-
-public FeatureProcessors.SylOut()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item item)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
item - the item to process -
Returns:
the number of stressed syllables since the last - major break -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.TokenPosGuess.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.TokenPosGuess.html deleted file mode 100644 index aee54df..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.TokenPosGuess.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -FeatureProcessors.TokenPosGuess (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.TokenPosGuess

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.TokenPosGuess
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.TokenPosGuess
extends java.lang.Object
implements FeatureProcessor
- -

-Attempts to guess the part of speech. - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.TokenPosGuess() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item item) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.TokenPosGuess

-
-public FeatureProcessors.TokenPosGuess()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item item)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
item - the item to process -
Returns:
a guess at the part of speech -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.WordBreak.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.WordBreak.html deleted file mode 100644 index 0dcb46d..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.WordBreak.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -FeatureProcessors.WordBreak (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.WordBreak

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.WordBreak
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.WordBreak
extends java.lang.Object
implements FeatureProcessor
- -

-Determines the word break. - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.WordBreak() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item word) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.WordBreak

-
-public FeatureProcessors.WordBreak()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item word)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
word - the item to process -
Returns:
the break level for this word -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.WordNumSyls.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.WordNumSyls.html deleted file mode 100644 index 0b009fd..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.WordNumSyls.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -FeatureProcessors.WordNumSyls (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.WordNumSyls

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.WordNumSyls
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.WordNumSyls
extends java.lang.Object
implements FeatureProcessor
- -

-Returns as an Integer the number of syllables in the given - word. This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.WordNumSyls() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item item) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.WordNumSyls

-
-public FeatureProcessors.WordNumSyls()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item item)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
item - the item to process -
Returns:
the number of syllables in the given word -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.WordPunc.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.WordPunc.html deleted file mode 100644 index d046c13..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.WordPunc.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -FeatureProcessors.WordPunc (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors.WordPunc

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.WordPunc
-
-
-
All Implemented Interfaces:
FeatureProcessor
-
-
-
Enclosing class:
FeatureProcessors
-
-
-
-
public static class FeatureProcessors.WordPunc
extends java.lang.Object
implements FeatureProcessor
- -

-Determines the word punctuation. - This is a feature processor. A feature processor takes an item, - performs some sort of processing on the item and returns an object. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FeatureProcessors.WordPunc() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- java.lang.Stringprocess(Item word) - -
-          Performs some processing on the given item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FeatureProcessors.WordPunc

-
-public FeatureProcessors.WordPunc()
-
-
- - - - - - - - -
-Method Detail
- -

-process

-
-public java.lang.String process(Item word)
-                         throws ProcessException
-
-
Performs some processing on the given item. -

-

-
Specified by:
process in interface FeatureProcessor
-
-
-
Parameters:
word - the item to process -
Returns:
the punctuation for this word -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.html b/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.html deleted file mode 100644 index cd4e1eb..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/FeatureProcessors.html +++ /dev/null @@ -1,651 +0,0 @@ - - - - - - -FeatureProcessors (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class FeatureProcessors

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.FeatureProcessors
-
-
-
-
public class FeatureProcessors
extends java.lang.Object
- -

-Provides the set of feature processors that are used by this - language as part of the CART processing. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Nested Class Summary
-static classFeatureProcessors.Accented - -
-          Checks to see if the given syllable is accented. -
-static classFeatureProcessors.AccentedSylIn - -
-          Counts the number of accented syllables since the last major break. -
-static classFeatureProcessors.Gpos - -
-          Returns a guess of the part-of-speech. - -
-static classFeatureProcessors.LastAccent - -
-          Find the last accented syllable - This is a feature processor.
-static classFeatureProcessors.MonthRange - -
-          Returns true ("1") if the given item is a number between 0 and - 32 exclusive, otherwise, returns "0". -
-static classFeatureProcessors.NumDigits - -
-          Returns the length of the string.
-static classFeatureProcessors.PH_CPlace - -
-          Return consonant cplace - l-labial a-alveolar p-palatal b-labio_dental d-dental v-velar - - This is a feature processor.
-static classFeatureProcessors.PH_CType - -
-          Return consonant type - s-stop f-fricative a-affricative n-nasal * l-liquid - - This is a feature processor.
-static classFeatureProcessors.PH_CVox - -
-          Return consonant voicing - +=on -=off - - This is a feature processor.
-static classFeatureProcessors.PH_VC - -
-          Return vowel or consonant - +=on -=off - - This is a feature processor.
-static classFeatureProcessors.PH_VFront - -
-          Return vowel frontness - 1-front 2-mid 3-back - - This is a feature processor.
-static classFeatureProcessors.PH_VHeight - -
-          Return vowel height - 1-high 2-mid 3-low - - This is a feature processor.
-static classFeatureProcessors.PH_VLength - -
-          Return vowel length - s-short l-long d-dipthong a-schwa - - This is a feature processor.
-static classFeatureProcessors.PH_VRnd - -
-          Return vowel rnd (lip rounding) - lip rounding +=on -=off - - This is a feature processor.
-static classFeatureProcessors.PosInSyl - -
-          Finds the position of the phoneme in the syllable - This is a feature processor.
-static classFeatureProcessors.PositionType - -
-          Classifies the the syllable as single, initial, mid or final. -
-static classFeatureProcessors.SegCodaFric - -
-          Checks for fricative - This is a feature processor.
-static classFeatureProcessors.SegCodaGlide - -
-          Checks for coda glide - This is a feature processor.
-static classFeatureProcessors.SegCodaNasal - -
-          Checks for coda nasal - This is a feature processor.
-static classFeatureProcessors.SegCodaStop - -
-          Checks for coda stop - This is a feature processor.
-static classFeatureProcessors.SegmentDuration - -
-          Returns the duration of the given segment - This is a feature processor.
-static classFeatureProcessors.SegOnsetCoda - -
-          Checks for onset coda - This is a feature processor.
-static classFeatureProcessors.SegOnsetFric - -
-          Checks for fricative - This is a feature processor.
-static classFeatureProcessors.SegOnsetGlide - -
-          Checks for onset glide - This is a feature processor.
-static classFeatureProcessors.SegOnsetNasal - -
-          Checks for onset nasal - This is a feature processor.
-static classFeatureProcessors.SegOnsetStop - -
-          Checks for onset stop - This is a feature processor.
-static classFeatureProcessors.StressedSylIn - -
-          Counts the number of stressed syllables since the last major break. -
-static classFeatureProcessors.StressedSylOut - -
-          Counts the number of stressed syllables until the next major break. -
-static classFeatureProcessors.SubPhrases - -
-          Counts the number of phrases before this one. -
-static classFeatureProcessors.SylBreak - -
-          Determines the break level after this syllable - This is a feature processor.
-static classFeatureProcessors.SylCodaSize - -
-          Determines the coda size - This is a feature processor.
-static classFeatureProcessors.SylIn - -
-          Counts the number of stressed syllables since the last major break. -
-static classFeatureProcessors.SylOnsetSize - -
-          Determines the onset size of this syllable - This is a feature processor.
-static classFeatureProcessors.SylOut - -
-          Counts the number of stressed syllables since the last major break. -
-static classFeatureProcessors.TokenPosGuess - -
-          Attempts to guess the part of speech. -
-static classFeatureProcessors.WordBreak - -
-          Determines the word break. -
-static classFeatureProcessors.WordNumSyls - -
-          Returns as an Integer the number of syllables in the given - word.
-static classFeatureProcessors.WordPunc - -
-          Determines the word punctuation. -
-  - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static java.lang.StringgetPhoneFeature(Item item, - java.lang.String featureName) - -
-          Gets the phoneset feature with the given name
-static java.lang.StringwordBreak(Item item) - -
-          Classifies the type of word break
-static java.lang.StringwordPunc(Item item) - -
-          Gets the punctuation associated with the word
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-getPhoneFeature

-
-public static java.lang.String getPhoneFeature(Item item,
-                                               java.lang.String featureName)
-
-
Gets the phoneset feature with the given name -

-

-
Parameters:
item - item the phoneme of interest
featureName - the feature of interest -
Returns:
the phone feature for the item
-
-
-
- -

-wordBreak

-
-public static java.lang.String wordBreak(Item item)
-                                  throws ProcessException
-
-
Classifies the type of word break -

-

-
Parameters:
item - the item to process -
Returns:
"4" for a big break, "3" for a break; otherwise "1" -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
-
- -

-wordPunc

-
-public static java.lang.String wordPunc(Item item)
-                                 throws ProcessException
-
-
Gets the punctuation associated with the word -

-

-
Parameters:
item - the word to process -
Returns:
the punctuation associated with the word -
Throws: -
ProcessException - if an exception occurred during the - processing
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/NumberExpander.html b/javadoc/com/sun/speech/freetts/en/us/NumberExpander.html deleted file mode 100644 index 78334d3..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/NumberExpander.html +++ /dev/null @@ -1,396 +0,0 @@ - - - - - - -NumberExpander (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class NumberExpander

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.NumberExpander
-
-
-
-
public class NumberExpander
extends java.lang.Object
- -

-Expands Strings containing digits characters into - a list of words representing those digits. - - It translates the following code from flite: - lang/usEnglish/us_expand.c -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static voidexpandDigits(java.lang.String numberString, - WordRelation wordRelation) - -
-          Expands given token to list of words pronouncing it as digits
-static voidexpandID(java.lang.String numberString, - WordRelation wordRelation) - -
-          Expands the given number string as pairs as in years or IDs
-static voidexpandLetters(java.lang.String letters, - WordRelation wordRelation) - -
-          Expands the given string of letters as a list of single char symbols.
-static voidexpandNumber(java.lang.String numberString, - WordRelation wordRelation) - -
-          Expands a digit string into a list of English words of those digits. -
-static voidexpandOrdinal(java.lang.String rawNumberString, - WordRelation wordRelation) - -
-          Expands the digit string of an ordinal number.
-static voidexpandReal(java.lang.String numberString, - WordRelation wordRelation) - -
-          Expands the given number string as a real number.
-static intexpandRoman(java.lang.String roman) - -
-          Returns the integer value of the given string of Roman numerals.
-static booleanisDigit(char ch) - -
-          Returns true if the given character is a digit (0-9 only).
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-expandNumber

-
-public static void expandNumber(java.lang.String numberString,
-                                WordRelation wordRelation)
-
-
Expands a digit string into a list of English words of those digits. - For example, "1234" expands to "one two three four" -

-

-
Parameters:
numberString - the digit string to expand.
wordRelation - words are added to this Relation
-
-
-
- -

-expandDigits

-
-public static void expandDigits(java.lang.String numberString,
-                                WordRelation wordRelation)
-
-
Expands given token to list of words pronouncing it as digits -

-

-
Parameters:
numberString - the string which is the number to expand
wordRelation - words are added to this Relation
-
-
-
- -

-expandOrdinal

-
-public static void expandOrdinal(java.lang.String rawNumberString,
-                                 WordRelation wordRelation)
-
-
Expands the digit string of an ordinal number. -

-

-
Parameters:
rawNumberString - the string which is the number to expand
wordRelation - words are added to this Relation
-
-
-
- -

-expandID

-
-public static void expandID(java.lang.String numberString,
-                            WordRelation wordRelation)
-
-
Expands the given number string as pairs as in years or IDs -

-

-
Parameters:
numberString - the string which is the number to expand
wordRelation - words are added to this Relation
-
-
-
- -

-expandReal

-
-public static void expandReal(java.lang.String numberString,
-                              WordRelation wordRelation)
-
-
Expands the given number string as a real number. -

-

-
Parameters:
numberString - the string which is the real number to expand
wordRelation - words are added to this Relation
-
-
-
- -

-expandLetters

-
-public static void expandLetters(java.lang.String letters,
-                                 WordRelation wordRelation)
-
-
Expands the given string of letters as a list of single char symbols. -

-

-
Parameters:
letters - the string of letters to expand
wordRelation - words are added to this Relation
-
-
-
- -

-expandRoman

-
-public static int expandRoman(java.lang.String roman)
-
-
Returns the integer value of the given string of Roman numerals. -

-

-
Parameters:
roman - the string of Roman numbers -
Returns:
the integer value
-
-
-
- -

-isDigit

-
-public static boolean isDigit(char ch)
-
-
Returns true if the given character is a digit (0-9 only). -

-

-
Parameters:
ch - the character to test -
Returns:
true or false
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/PrefixFSM.html b/javadoc/com/sun/speech/freetts/en/us/PrefixFSM.html deleted file mode 100644 index c3b3be2..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/PrefixFSM.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - -PrefixFSM (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class PrefixFSM

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.PronounceableFSM
-      extended bycom.sun.speech.freetts.en.us.PrefixFSM
-
-
-
-
public class PrefixFSM
extends PronounceableFSM
- -

-Implements a finite state machine that checks if a given string - is a prefix. -

- -

-


- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class com.sun.speech.freetts.en.us.PronounceableFSM
scanFromFront, transitions, vocabularySize
-  - - - - - - - - - - -
-Constructor Summary
PrefixFSM(java.net.URL url) - -
-          Constructs a PrefixFSM.
-  - - - - - - - - - - -
Methods inherited from class com.sun.speech.freetts.en.us.PronounceableFSM
accept
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-PrefixFSM

-
-public PrefixFSM(java.net.URL url)
-          throws java.io.IOException
-
-
Constructs a PrefixFSM. -

-

- - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/PronounceableFSM.html b/javadoc/com/sun/speech/freetts/en/us/PronounceableFSM.html deleted file mode 100644 index 67117fd..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/PronounceableFSM.html +++ /dev/null @@ -1,364 +0,0 @@ - - - - - - -PronounceableFSM (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class PronounceableFSM

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.PronounceableFSM
-
-
-
Direct Known Subclasses:
PrefixFSM, SuffixFSM
-
-
-
-
public class PronounceableFSM
extends java.lang.Object
- -

-Implements a finite state machine that checks if a given string - is pronounceable. If it is pronounceable, the method - accept() will return true. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-protected  booleanscanFromFront - -
-          Whether we should scan the input string from the front.
-protected  int[]transitions - -
-          The transitions of this FSM
-protected  intvocabularySize - -
-          The vocabulary size.
-  - - - - - - - - - - - - - -
-Constructor Summary
PronounceableFSM(int vocabularySize, - int[] transitions, - boolean scanFromFront) - -
-          Constructs a PronounceableFSM with the given attributes.
PronounceableFSM(java.net.URL url, - boolean scanFromFront) - -
-          Constructs a PronounceableFSM with information in the given URL.
-  - - - - - - - - - - - -
-Method Summary
- booleanaccept(java.lang.String inputString) - -
-          Checks to see if this finite state machine accepts the given - input string.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-vocabularySize

-
-protected int vocabularySize
-
-
The vocabulary size. -

-

-
-
-
- -

-transitions

-
-protected int[] transitions
-
-
The transitions of this FSM -

-

-
-
-
- -

-scanFromFront

-
-protected boolean scanFromFront
-
-
Whether we should scan the input string from the front. -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-PronounceableFSM

-
-public PronounceableFSM(java.net.URL url,
-                        boolean scanFromFront)
-                 throws java.io.IOException
-
-
Constructs a PronounceableFSM with information in the given URL. -

-

Parameters:
url - the URL that contains the FSM specification
scanFromFront - indicates whether this FSM should scan the input - string from the front, or from the back
-
- -

-PronounceableFSM

-
-public PronounceableFSM(int vocabularySize,
-                        int[] transitions,
-                        boolean scanFromFront)
-
-
Constructs a PronounceableFSM with the given attributes. -

-

Parameters:
vocabularySize - the vocabulary size of the FSM
transitions - the transitions of the FSM
scanFromFront - indicates whether this FSM should scan the input - string from the front, or from the back
- - - - - - - - -
-Method Detail
- -

-accept

-
-public boolean accept(java.lang.String inputString)
-
-
Checks to see if this finite state machine accepts the given - input string. -

-

-
Parameters:
inputString - the input string to be tested -
Returns:
true if this FSM accepts, false if it rejects
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/SuffixFSM.html b/javadoc/com/sun/speech/freetts/en/us/SuffixFSM.html deleted file mode 100644 index 47ba817..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/SuffixFSM.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - -SuffixFSM (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class SuffixFSM

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.PronounceableFSM
-      extended bycom.sun.speech.freetts.en.us.SuffixFSM
-
-
-
-
public class SuffixFSM
extends PronounceableFSM
- -

-Implements a finite state machine that checks if a given string - is a suffix. -

- -

-


- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class com.sun.speech.freetts.en.us.PronounceableFSM
scanFromFront, transitions, vocabularySize
-  - - - - - - - - - - -
-Constructor Summary
SuffixFSM(java.net.URL url) - -
-          Constructs a SuffixFSM.
-  - - - - - - - - - - -
Methods inherited from class com.sun.speech.freetts.en.us.PronounceableFSM
accept
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-SuffixFSM

-
-public SuffixFSM(java.net.URL url)
-          throws java.io.IOException
-
-
Constructs a SuffixFSM. -

-

- - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/TokenToWords.html b/javadoc/com/sun/speech/freetts/en/us/TokenToWords.html deleted file mode 100644 index 70c649a..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/TokenToWords.html +++ /dev/null @@ -1,412 +0,0 @@ - - - - - - -TokenToWords (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class TokenToWords

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.TokenToWords
-
-
-
All Implemented Interfaces:
UtteranceProcessor
-
-
-
-
public class TokenToWords
extends java.lang.Object
implements UtteranceProcessor
- -

-Converts the Tokens (in US English words) in an - Utterance into a list of words. It puts the produced list back - into the Utterance. Usually, the tokens that gets expanded are numbers - like "23" (to "twenty" "three"). -

* It translates the following code from flite: -
- - lang/usenglish/us_text.c - -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
TokenToWords(CART usNumbersCART, - PronounceableFSM prefixFSM, - PronounceableFSM suffixFSM) - -
-          Constructs a default USTokenWordProcessor.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ItemgetTokenItem() - -
-          Returns the currently processing token Item.
- booleanisPronounceable(java.lang.String word) - -
-          Returns true if the given word is pronounceable. -
-static booleankingLike(Item tokenItem) - -
-          Returns true if the given token item contains a token that is - in a king-like context, e.g., "King" or "Louis".
- voidprocessUtterance(Utterance utterance) - -
-          process the utterance
-static booleansectionLike(Item tokenItem) - -
-          Returns true if the given token item contains a token that is - in a section-like context, e.g., "chapter" or "act".
- java.lang.StringtoString() - -
-          Converts this object to its String representation
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-TokenToWords

-
-public TokenToWords(CART usNumbersCART,
-                    PronounceableFSM prefixFSM,
-                    PronounceableFSM suffixFSM)
-
-
Constructs a default USTokenWordProcessor. It uses the USEnglish - regular expression set (USEngRegExp) by default. -

-

Parameters:
usNumbersCART - the cart to use to classify numbers
- - - - - - - - -
-Method Detail
- -

-getTokenItem

-
-public Item getTokenItem()
-
-
Returns the currently processing token Item. -

-

-
-
-
- -
Returns:
the current token Item; null if no item
-
-
-
- -

-processUtterance

-
-public void processUtterance(Utterance utterance)
-                      throws ProcessException
-
-
process the utterance -

-

-
Specified by:
processUtterance in interface UtteranceProcessor
-
-
-
Parameters:
utterance - the utterance contain the tokens -
Throws: -
ProcessException - if an IOException is thrown during the - processing of the utterance
-
-
-
- -

-kingLike

-
-public static boolean kingLike(Item tokenItem)
-
-
Returns true if the given token item contains a token that is - in a king-like context, e.g., "King" or "Louis". -

-

-
-
-
-
Parameters:
tokenItem - the token item to check -
Returns:
true or false
-
-
-
- -

-sectionLike

-
-public static boolean sectionLike(Item tokenItem)
-
-
Returns true if the given token item contains a token that is - in a section-like context, e.g., "chapter" or "act". -

-

-
-
-
-
Parameters:
tokenItem - the token item to check -
Returns:
true or false
-
-
-
- -

-isPronounceable

-
-public boolean isPronounceable(java.lang.String word)
-
-
Returns true if the given word is pronounceable. - This method is originally called us_aswd() in Flite 1.1. -

-

-
-
-
-
Parameters:
word - the word to test -
Returns:
true if the word is pronounceable, false otherwise
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Converts this object to its String representation -

-

-
-
-
- -
Returns:
the string representation of this object
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/USEnglish.html b/javadoc/com/sun/speech/freetts/en/us/USEnglish.html deleted file mode 100644 index 36903c4..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/USEnglish.html +++ /dev/null @@ -1,1257 +0,0 @@ - - - - - - -USEnglish (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class USEnglish

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.USEnglish
-
-
-
-
public class USEnglish
extends java.lang.Object
- -

-Provides the definitions for US English whitespace, punctuations, - prepunctuation, and postpunctuation symbols. It also contains a set of - Regular Expressions for the US English language. - With regular expressions, it specifies what are whitespace, - letters in the alphabet, uppercase and lowercase letters, alphanumeric - characters, identifiers, integers, doubles, digits, and 'comma and int'. - - It translates the following code from flite: - src/regex/cst_regex.c - lang/usenglish/us_text.c -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static java.lang.StringPREPUNCTUATION_SYMBOLS - -
-          pre-punctuation regular expression pattern
-static java.lang.StringPUNCTUATION_SYMBOLS - -
-          punctuation regular expression pattern
-static java.lang.StringRX_ALPHABET - -
-          letter regular expression pattern
-static java.lang.StringRX_ALPHANUMERIC - -
-          alphanumeric regular expression pattern
-static java.lang.StringRX_COMMAINT - -
-          comma separated integer regular expression pattern
-static java.lang.StringRX_DEFAULT_DIGITS2DASH - -
-          default digits2dash (e.g. 999-999-999) regular expression
-static java.lang.StringRX_DEFAULT_DIGITSSLASHDIGITS - -
-          default digits/digits (e.g. 999/999) regular expression
-static java.lang.StringRX_DEFAULT_DRST - -
-          default drst "Dr.
-static java.lang.StringRX_DEFAULT_FOUR_DIGIT - -
-          default 4-digit number
-static java.lang.StringRX_DEFAULT_HAS_VOWEL - -
-          default has-vowel regular expression
-static java.lang.StringRX_DEFAULT_ILLION - -
-          default -illion regular expression
-static java.lang.StringRX_DEFAULT_NUMBER_TIME - -
-          default number time regular expression
-static java.lang.StringRX_DEFAULT_NUMESS - -
-          default numess
-static java.lang.StringRX_DEFAULT_ROMAN_NUMBER - -
-          default Roman numerals regular expression
-static java.lang.StringRX_DEFAULT_SEVEN_DIGIT_PHONE_NUMBER - -
-          default 7-digit phone number
-static java.lang.StringRX_DEFAULT_THREE_DIGIT - -
-          default 3-digit number
-static java.lang.StringRX_DEFAULT_US_EN_ALPHABET - -
-          default letter regular expression pattern
-static java.lang.StringRX_DEFAULT_US_EN_ALPHANUMERIC - -
-          default alpha-numeric regular expression pattern
-static java.lang.StringRX_DEFAULT_US_EN_COMMAINT - -
-          default integer with commas regular expression pattern
-static java.lang.StringRX_DEFAULT_US_EN_DIGITS - -
-          default digits regular expression pattern
-static java.lang.StringRX_DEFAULT_US_EN_DOTTED_ABBREV - -
-          default dotted abbreviation regular expression pattern
-static java.lang.StringRX_DEFAULT_US_EN_DOUBLE - -
-          default double regular expression pattern
-static java.lang.StringRX_DEFAULT_US_EN_IDENTIFIER - -
-          default identifier regular expression pattern
-static java.lang.StringRX_DEFAULT_US_EN_INT - -
-          default integer regular expression pattern
-static java.lang.StringRX_DEFAULT_US_EN_LOWERCASE - -
-          default lowercase regular expression pattern
-static java.lang.StringRX_DEFAULT_US_EN_ORDINAL_NUMBER - -
-          default ordinal number regular expression pattern
-static java.lang.StringRX_DEFAULT_US_EN_UPPERCASE - -
-          default uppercase regular expression pattern
-static java.lang.StringRX_DEFAULT_US_EN_WHITESPACE - -
-          default whitespace regular expression pattern
-static java.lang.StringRX_DEFAULT_US_MONEY - -
-          default US money regular expression
-static java.lang.StringRX_DIGITS - -
-          digits regular expression pattern
-static java.lang.StringRX_DIGITS2DASH - -
-          digits2dash (e.g. 999-999-999) regular expression
-static java.lang.StringRX_DIGITSSLASHDIGITS - -
-          digits/digits (e.g. 999/999) regular expression
-static java.lang.StringRX_DOTTED_ABBREV - -
-          dotted abbreviation regular expression pattern
-static java.lang.StringRX_DOUBLE - -
-          double regular expression pattern
-static java.lang.StringRX_DRST - -
-          drst "Dr.
-static java.lang.StringRX_FOUR_DIGIT - -
-          4-digit number
-static java.lang.StringRX_HAS_VOWEL - -
-          has-vowel regular expression
-static java.lang.StringRX_IDENTIFIER - -
-          identifier regular expression pattern
-static java.lang.StringRX_ILLION - -
-          -illion regular expression
-static java.lang.StringRX_INT - -
-          integer regular expression pattern
-static java.lang.StringRX_LOWERCASE - -
-          lowercase regular expression pattern
-static java.lang.StringRX_NUMBER_TIME - -
-          number time regular expression
-static java.lang.StringRX_NUMESS - -
-          default numess
-static java.lang.StringRX_ORDINAL_NUMBER - -
-          ordinal number regular expression pattern
-static java.lang.StringRX_ROMAN_NUMBER - -
-          Roman numerals regular expression
-static java.lang.StringRX_SEVEN_DIGIT_PHONE_NUMBER - -
-          7-digit phone number
-static java.lang.StringRX_THREE_DIGIT - -
-          3-digit number
-static java.lang.StringRX_UPPERCASE - -
-          uppercase regular expression pattern
-static java.lang.StringRX_US_MONEY - -
-          US money regular expression
-static java.lang.StringRX_WHITESPACE - -
-          whitespace regular expression pattern
-static java.lang.StringSINGLE_CHAR_SYMBOLS - -
-          single char symbols regular expression pattern
-static java.lang.StringWHITESPACE_SYMBOLS - -
-          whitespace symbols regular expression pattern
-  - - - - - - - - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-RX_DEFAULT_US_EN_WHITESPACE

-
-public static final java.lang.String RX_DEFAULT_US_EN_WHITESPACE
-
-
default whitespace regular expression pattern -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_DEFAULT_US_EN_ALPHABET

-
-public static final java.lang.String RX_DEFAULT_US_EN_ALPHABET
-
-
default letter regular expression pattern -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_DEFAULT_US_EN_UPPERCASE

-
-public static final java.lang.String RX_DEFAULT_US_EN_UPPERCASE
-
-
default uppercase regular expression pattern -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_DEFAULT_US_EN_LOWERCASE

-
-public static final java.lang.String RX_DEFAULT_US_EN_LOWERCASE
-
-
default lowercase regular expression pattern -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_DEFAULT_US_EN_ALPHANUMERIC

-
-public static final java.lang.String RX_DEFAULT_US_EN_ALPHANUMERIC
-
-
default alpha-numeric regular expression pattern -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_DEFAULT_US_EN_IDENTIFIER

-
-public static final java.lang.String RX_DEFAULT_US_EN_IDENTIFIER
-
-
default identifier regular expression pattern -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_DEFAULT_US_EN_INT

-
-public static final java.lang.String RX_DEFAULT_US_EN_INT
-
-
default integer regular expression pattern -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_DEFAULT_US_EN_DOUBLE

-
-public static final java.lang.String RX_DEFAULT_US_EN_DOUBLE
-
-
default double regular expression pattern -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_DEFAULT_US_EN_COMMAINT

-
-public static final java.lang.String RX_DEFAULT_US_EN_COMMAINT
-
-
default integer with commas regular expression pattern -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_DEFAULT_US_EN_DIGITS

-
-public static final java.lang.String RX_DEFAULT_US_EN_DIGITS
-
-
default digits regular expression pattern -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_DEFAULT_US_EN_DOTTED_ABBREV

-
-public static final java.lang.String RX_DEFAULT_US_EN_DOTTED_ABBREV
-
-
default dotted abbreviation regular expression pattern -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_DEFAULT_US_EN_ORDINAL_NUMBER

-
-public static final java.lang.String RX_DEFAULT_US_EN_ORDINAL_NUMBER
-
-
default ordinal number regular expression pattern -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_DEFAULT_HAS_VOWEL

-
-public static final java.lang.String RX_DEFAULT_HAS_VOWEL
-
-
default has-vowel regular expression -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_DEFAULT_US_MONEY

-
-public static final java.lang.String RX_DEFAULT_US_MONEY
-
-
default US money regular expression -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_DEFAULT_ILLION

-
-public static final java.lang.String RX_DEFAULT_ILLION
-
-
default -illion regular expression -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_DEFAULT_DIGITS2DASH

-
-public static final java.lang.String RX_DEFAULT_DIGITS2DASH
-
-
default digits2dash (e.g. 999-999-999) regular expression -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_DEFAULT_DIGITSSLASHDIGITS

-
-public static final java.lang.String RX_DEFAULT_DIGITSSLASHDIGITS
-
-
default digits/digits (e.g. 999/999) regular expression -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_DEFAULT_NUMBER_TIME

-
-public static final java.lang.String RX_DEFAULT_NUMBER_TIME
-
-
default number time regular expression -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_DEFAULT_ROMAN_NUMBER

-
-public static final java.lang.String RX_DEFAULT_ROMAN_NUMBER
-
-
default Roman numerals regular expression -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_DEFAULT_DRST

-
-public static final java.lang.String RX_DEFAULT_DRST
-
-
default drst "Dr. St" regular expression -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_DEFAULT_NUMESS

-
-public static final java.lang.String RX_DEFAULT_NUMESS
-
-
default numess -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_DEFAULT_SEVEN_DIGIT_PHONE_NUMBER

-
-public static final java.lang.String RX_DEFAULT_SEVEN_DIGIT_PHONE_NUMBER
-
-
default 7-digit phone number -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_DEFAULT_FOUR_DIGIT

-
-public static final java.lang.String RX_DEFAULT_FOUR_DIGIT
-
-
default 4-digit number -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_DEFAULT_THREE_DIGIT

-
-public static final java.lang.String RX_DEFAULT_THREE_DIGIT
-
-
default 3-digit number -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_WHITESPACE

-
-public static java.lang.String RX_WHITESPACE
-
-
whitespace regular expression pattern -

-

-
-
-
- -

-RX_ALPHABET

-
-public static java.lang.String RX_ALPHABET
-
-
letter regular expression pattern -

-

-
-
-
- -

-RX_UPPERCASE

-
-public static java.lang.String RX_UPPERCASE
-
-
uppercase regular expression pattern -

-

-
-
-
- -

-RX_LOWERCASE

-
-public static java.lang.String RX_LOWERCASE
-
-
lowercase regular expression pattern -

-

-
-
-
- -

-RX_ALPHANUMERIC

-
-public static java.lang.String RX_ALPHANUMERIC
-
-
alphanumeric regular expression pattern -

-

-
-
-
- -

-RX_IDENTIFIER

-
-public static java.lang.String RX_IDENTIFIER
-
-
identifier regular expression pattern -

-

-
-
-
- -

-RX_INT

-
-public static java.lang.String RX_INT
-
-
integer regular expression pattern -

-

-
-
-
- -

-RX_DOUBLE

-
-public static java.lang.String RX_DOUBLE
-
-
double regular expression pattern -

-

-
-
-
- -

-RX_COMMAINT

-
-public static java.lang.String RX_COMMAINT
-
-
comma separated integer regular expression pattern -

-

-
-
-
- -

-RX_DIGITS

-
-public static java.lang.String RX_DIGITS
-
-
digits regular expression pattern -

-

-
-
-
- -

-RX_DOTTED_ABBREV

-
-public static java.lang.String RX_DOTTED_ABBREV
-
-
dotted abbreviation regular expression pattern -

-

-
-
-
- -

-RX_ORDINAL_NUMBER

-
-public static java.lang.String RX_ORDINAL_NUMBER
-
-
ordinal number regular expression pattern -

-

-
-
-
- -

-RX_HAS_VOWEL

-
-public static final java.lang.String RX_HAS_VOWEL
-
-
has-vowel regular expression -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_US_MONEY

-
-public static final java.lang.String RX_US_MONEY
-
-
US money regular expression -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_ILLION

-
-public static final java.lang.String RX_ILLION
-
-
-illion regular expression -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_DIGITS2DASH

-
-public static final java.lang.String RX_DIGITS2DASH
-
-
digits2dash (e.g. 999-999-999) regular expression -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_DIGITSSLASHDIGITS

-
-public static final java.lang.String RX_DIGITSSLASHDIGITS
-
-
digits/digits (e.g. 999/999) regular expression -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_NUMBER_TIME

-
-public static final java.lang.String RX_NUMBER_TIME
-
-
number time regular expression -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_ROMAN_NUMBER

-
-public static final java.lang.String RX_ROMAN_NUMBER
-
-
Roman numerals regular expression -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_DRST

-
-public static final java.lang.String RX_DRST
-
-
drst "Dr. St" regular expression -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_NUMESS

-
-public static final java.lang.String RX_NUMESS
-
-
default numess -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_SEVEN_DIGIT_PHONE_NUMBER

-
-public static final java.lang.String RX_SEVEN_DIGIT_PHONE_NUMBER
-
-
7-digit phone number -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_FOUR_DIGIT

-
-public static final java.lang.String RX_FOUR_DIGIT
-
-
4-digit number -

-

-
See Also:
Constant Field Values
-
-
- -

-RX_THREE_DIGIT

-
-public static final java.lang.String RX_THREE_DIGIT
-
-
3-digit number -

-

-
See Also:
Constant Field Values
-
-
- -

-PUNCTUATION_SYMBOLS

-
-public static final java.lang.String PUNCTUATION_SYMBOLS
-
-
punctuation regular expression pattern -

-

-
See Also:
Constant Field Values
-
-
- -

-PREPUNCTUATION_SYMBOLS

-
-public static final java.lang.String PREPUNCTUATION_SYMBOLS
-
-
pre-punctuation regular expression pattern -

-

-
See Also:
Constant Field Values
-
-
- -

-SINGLE_CHAR_SYMBOLS

-
-public static final java.lang.String SINGLE_CHAR_SYMBOLS
-
-
single char symbols regular expression pattern -

-

-
See Also:
Constant Field Values
-
-
- -

-WHITESPACE_SYMBOLS

-
-public static final java.lang.String WHITESPACE_SYMBOLS
-
-
whitespace symbols regular expression pattern -

-

-
See Also:
Constant Field Values
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/WordRelation.html b/javadoc/com/sun/speech/freetts/en/us/WordRelation.html deleted file mode 100644 index da6874d..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/WordRelation.html +++ /dev/null @@ -1,319 +0,0 @@ - - - - - - -WordRelation (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.en.us -
-Class WordRelation

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.en.us.WordRelation
-
-
-
-
public class WordRelation
extends java.lang.Object
- -

-Helper class to add words and breaks into a Relation object. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddBreak() - -
-          Adds a break as a feature to the last item in the list.
- voidaddWord(java.lang.String word) - -
-          Adds a word as an Item to this WordRelation object.
-static WordRelationcreateWordRelation(Utterance utterance, - TokenToWords tokenToWords) - -
-          Creates a WordRelation object with the given utterance and - TokenToWords.
- ItemgetTail() - -
-          Returns the last item in this WordRelation.
- voidsetLastWord(java.lang.String word) - -
-          Sets the last Item in this WordRelation to the given word.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-createWordRelation

-
-public static WordRelation createWordRelation(Utterance utterance,
-                                              TokenToWords tokenToWords)
-
-
Creates a WordRelation object with the given utterance and - TokenToWords. -

-

-
Parameters:
utterance - the Utterance from which to create a Relation
tokenToWords - the TokenToWords object to use -
Returns:
a WordRelation object
-
-
-
- -

-addBreak

-
-public void addBreak()
-
-
Adds a break as a feature to the last item in the list. -

-

-
-
-
-
- -

-addWord

-
-public void addWord(java.lang.String word)
-
-
Adds a word as an Item to this WordRelation object. -

-

-
Parameters:
word - the word to add
-
-
-
- -

-setLastWord

-
-public void setLastWord(java.lang.String word)
-
-
Sets the last Item in this WordRelation to the given word. -

-

-
Parameters:
word - the word to set
-
-
-
- -

-getTail

-
-public Item getTail()
-
-
Returns the last item in this WordRelation. -

-

- -
Returns:
the last item
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/package-frame.html b/javadoc/com/sun/speech/freetts/en/us/package-frame.html deleted file mode 100644 index 77294cd..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/package-frame.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - -com.sun.speech.freetts.en.us (FreeTTS 1.2) - - - - - - - - - - - -com.sun.speech.freetts.en.us - - - - -
-Classes  - -
-CMUArcticVoice -
-CMUClusterUnitVoice -
-CMUDiphoneVoice -
-CMULexicon -
-CMUTimeLexicon -
-CMUTimeVoice -
-CMUVoice -
-FeatureProcessors -
-FeatureProcessors.Accented -
-FeatureProcessors.AccentedSylIn -
-FeatureProcessors.Gpos -
-FeatureProcessors.LastAccent -
-FeatureProcessors.MonthRange -
-FeatureProcessors.NumDigits -
-FeatureProcessors.PH_CPlace -
-FeatureProcessors.PH_CType -
-FeatureProcessors.PH_CVox -
-FeatureProcessors.PH_VC -
-FeatureProcessors.PH_VFront -
-FeatureProcessors.PH_VHeight -
-FeatureProcessors.PH_VLength -
-FeatureProcessors.PH_VRnd -
-FeatureProcessors.PosInSyl -
-FeatureProcessors.PositionType -
-FeatureProcessors.SegCodaFric -
-FeatureProcessors.SegCodaGlide -
-FeatureProcessors.SegCodaNasal -
-FeatureProcessors.SegCodaStop -
-FeatureProcessors.SegmentDuration -
-FeatureProcessors.SegOnsetCoda -
-FeatureProcessors.SegOnsetFric -
-FeatureProcessors.SegOnsetGlide -
-FeatureProcessors.SegOnsetNasal -
-FeatureProcessors.SegOnsetStop -
-FeatureProcessors.StressedSylIn -
-FeatureProcessors.StressedSylOut -
-FeatureProcessors.SubPhrases -
-FeatureProcessors.SylBreak -
-FeatureProcessors.SylCodaSize -
-FeatureProcessors.SylIn -
-FeatureProcessors.SylOnsetSize -
-FeatureProcessors.SylOut -
-FeatureProcessors.TokenPosGuess -
-FeatureProcessors.WordBreak -
-FeatureProcessors.WordNumSyls -
-FeatureProcessors.WordPunc -
-NumberExpander -
-PrefixFSM -
-PronounceableFSM -
-SuffixFSM -
-TokenToWords -
-USEnglish -
-WordRelation
- - - - diff --git a/javadoc/com/sun/speech/freetts/en/us/package-summary.html b/javadoc/com/sun/speech/freetts/en/us/package-summary.html deleted file mode 100644 index 331f650..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/package-summary.html +++ /dev/null @@ -1,439 +0,0 @@ - - - - - - -com.sun.speech.freetts.en.us (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.sun.speech.freetts.en.us -

-Support for US English -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
CMUArcticVoiceExperimental class that selects units for the - CMU ARCTIC voices.
CMUClusterUnitVoiceDefines voice that does cluster unit selection.
CMUDiphoneVoiceDefines an unlimited-domain diphone synthesis based voice
CMULexiconProvides a CMU lexicon-specific implementation of a Lexicon that is - stored in a text file.
CMUTimeLexiconProvides a CMU time lexicon-specific implementation of a Lexicon. -
CMUTimeVoiceDefines limited domain synthesis voice that specializes - in telling the time.
CMUVoiceProvides generic support for a CMU Voice
FeatureProcessorsProvides the set of feature processors that are used by this - language as part of the CART processing.
FeatureProcessors.AccentedChecks to see if the given syllable is accented. -
FeatureProcessors.AccentedSylInCounts the number of accented syllables since the last major break. -
FeatureProcessors.GposReturns a guess of the part-of-speech. - -
FeatureProcessors.LastAccentFind the last accented syllable - This is a feature processor.
FeatureProcessors.MonthRangeReturns true ("1") if the given item is a number between 0 and - 32 exclusive, otherwise, returns "0". -
FeatureProcessors.NumDigitsReturns the length of the string.
FeatureProcessors.PH_CPlaceReturn consonant cplace - l-labial a-alveolar p-palatal b-labio_dental d-dental v-velar - - This is a feature processor.
FeatureProcessors.PH_CTypeReturn consonant type - s-stop f-fricative a-affricative n-nasal * l-liquid - - This is a feature processor.
FeatureProcessors.PH_CVoxReturn consonant voicing - +=on -=off - - This is a feature processor.
FeatureProcessors.PH_VCReturn vowel or consonant - +=on -=off - - This is a feature processor.
FeatureProcessors.PH_VFrontReturn vowel frontness - 1-front 2-mid 3-back - - This is a feature processor.
FeatureProcessors.PH_VHeightReturn vowel height - 1-high 2-mid 3-low - - This is a feature processor.
FeatureProcessors.PH_VLengthReturn vowel length - s-short l-long d-dipthong a-schwa - - This is a feature processor.
FeatureProcessors.PH_VRndReturn vowel rnd (lip rounding) - lip rounding +=on -=off - - This is a feature processor.
FeatureProcessors.PosInSylFinds the position of the phoneme in the syllable - This is a feature processor.
FeatureProcessors.PositionTypeClassifies the the syllable as single, initial, mid or final. -
FeatureProcessors.SegCodaFricChecks for fricative - This is a feature processor.
FeatureProcessors.SegCodaGlideChecks for coda glide - This is a feature processor.
FeatureProcessors.SegCodaNasalChecks for coda nasal - This is a feature processor.
FeatureProcessors.SegCodaStopChecks for coda stop - This is a feature processor.
FeatureProcessors.SegmentDurationReturns the duration of the given segment - This is a feature processor.
FeatureProcessors.SegOnsetCodaChecks for onset coda - This is a feature processor.
FeatureProcessors.SegOnsetFricChecks for fricative - This is a feature processor.
FeatureProcessors.SegOnsetGlideChecks for onset glide - This is a feature processor.
FeatureProcessors.SegOnsetNasalChecks for onset nasal - This is a feature processor.
FeatureProcessors.SegOnsetStopChecks for onset stop - This is a feature processor.
FeatureProcessors.StressedSylInCounts the number of stressed syllables since the last major break. -
FeatureProcessors.StressedSylOutCounts the number of stressed syllables until the next major break. -
FeatureProcessors.SubPhrasesCounts the number of phrases before this one. -
FeatureProcessors.SylBreakDetermines the break level after this syllable - This is a feature processor.
FeatureProcessors.SylCodaSizeDetermines the coda size - This is a feature processor.
FeatureProcessors.SylInCounts the number of stressed syllables since the last major break. -
FeatureProcessors.SylOnsetSizeDetermines the onset size of this syllable - This is a feature processor.
FeatureProcessors.SylOutCounts the number of stressed syllables since the last major break. -
FeatureProcessors.TokenPosGuessAttempts to guess the part of speech. -
FeatureProcessors.WordBreakDetermines the word break. -
FeatureProcessors.WordNumSylsReturns as an Integer the number of syllables in the given - word.
FeatureProcessors.WordPuncDetermines the word punctuation. -
NumberExpanderExpands Strings containing digits characters into - a list of words representing those digits. - -
PrefixFSMImplements a finite state machine that checks if a given string - is a prefix.
PronounceableFSMImplements a finite state machine that checks if a given string - is pronounceable.
SuffixFSMImplements a finite state machine that checks if a given string - is a suffix.
TokenToWordsConverts the Tokens (in US English words) in an - Utterance into a list of words.
USEnglishProvides the definitions for US English whitespace, punctuations, - prepunctuation, and postpunctuation symbols.
WordRelationHelper class to add words and breaks into a Relation object.
-  - -

-

-Package com.sun.speech.freetts.en.us Description -

- -

-Support for US English. - - -

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/en/us/package-tree.html b/javadoc/com/sun/speech/freetts/en/us/package-tree.html deleted file mode 100644 index 78b5eb3..0000000 --- a/javadoc/com/sun/speech/freetts/en/us/package-tree.html +++ /dev/null @@ -1,198 +0,0 @@ - - - - - - -com.sun.speech.freetts.en.us Class Hierarchy (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.sun.speech.freetts.en.us -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/jsapi/FreeTTSEngineCentral.html b/javadoc/com/sun/speech/freetts/jsapi/FreeTTSEngineCentral.html deleted file mode 100644 index 1d46ebe..0000000 --- a/javadoc/com/sun/speech/freetts/jsapi/FreeTTSEngineCentral.html +++ /dev/null @@ -1,303 +0,0 @@ - - - - - - -FreeTTSEngineCentral (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.jsapi -
-Class FreeTTSEngineCentral

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.jsapi.FreeTTSEngineCentral
-
-
-
All Implemented Interfaces:
javax.speech.EngineCentral
-
-
-
-
public class FreeTTSEngineCentral
extends java.lang.Object
implements javax.speech.EngineCentral
- -

-Supports the EngineCentral JSAPI 1.0 interface for the - FreeTTSSynthesizer. To use a FreeTTSSynthesizer, you should place - a line into the speech.properties file as so: - -

- FreeTTSSynthEngineCentral=com.sun.speech.freetts.jsapi.FreeTTSEngineCentral
- 
-

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FreeTTSEngineCentral() - -
-          Creates a FreeTTSEngineCentral
-  - - - - - - - - - - - -
-Method Summary
- javax.speech.EngineListcreateEngineList(javax.speech.EngineModeDesc require) - -
-          Returns a list containing references to all matching - synthesizers.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FreeTTSEngineCentral

-
-public FreeTTSEngineCentral()
-                     throws java.lang.Exception
-
-
Creates a FreeTTSEngineCentral -

-

- - - - - - - - -
-Method Detail
- -

-createEngineList

-
-public javax.speech.EngineList createEngineList(javax.speech.EngineModeDesc require)
-
-
Returns a list containing references to all matching - synthesizers. The mapping of FreeTTS VoiceDirectories and - Voices to JSAPI Synthesizers and Voices is as follows: - -

    -
  • Each FreeTTS VoiceDirectory specifies the list of FreeTTS - Voices supported by that directory. Each Voice in that - directory specifies its name (e.g., "kevin" "kevin16" "alan"), - domain (e.g., "general" or "time") and locale (e.g., Locale.US). -
  • For all FreeTTS Voices from all VoiceDirectories discovered - by the VoiceManager, this method will group the Voices - according to those that have both a common locale and domain - (e.g, all "general" domain voices for the US local will be - grouped together). -
  • For each group of voices that shares a common locale and - domain, this method generates a new JSAPI SynthesizerModeDesc - with the following attributes: -
      -
    • The engine name is of the form: "FreeTTS <locale> - <domain> synthesizer" For example, "FreeTTS en_us general - synthesizer" -
    • The locale is the locale shared by all the voices (e.g., - Locale.US) -
    • The mode name is the domain shared by all the voices - (e.g., "general"). -
    -
  • The JSAPI Voices for each resulting Synthesizer will have - the name of the FreeTTS Voice (e.g. "kevin" "kevin16"). -
-

-

-
Specified by:
createEngineList in interface javax.speech.EngineCentral
-
-
-
Parameters:
require - an engine mode that describes the desired - synthesizer -
Returns:
an engineList containing matching engines, or null if - no matching engines are found
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/jsapi/FreeTTSSynthesizer.html b/javadoc/com/sun/speech/freetts/jsapi/FreeTTSSynthesizer.html deleted file mode 100644 index 1a72ee2..0000000 --- a/javadoc/com/sun/speech/freetts/jsapi/FreeTTSSynthesizer.html +++ /dev/null @@ -1,615 +0,0 @@ - - - - - - -FreeTTSSynthesizer (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.jsapi -
-Class FreeTTSSynthesizer

-
-java.lang.Object
-  extended bycom.sun.speech.engine.BaseEngine
-      extended bycom.sun.speech.engine.synthesis.BaseSynthesizer
-          extended bycom.sun.speech.freetts.jsapi.FreeTTSSynthesizer
-
-
-
All Implemented Interfaces:
javax.speech.Engine, SpeechEventDispatcher, javax.speech.synthesis.Synthesizer
-
-
-
-
public class FreeTTSSynthesizer
extends BaseSynthesizer
- -

-Provides partial support for a JSAPI 1.0 synthesizer for the - FreeTTS speech synthesis system. -

- -

-


- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class com.sun.speech.engine.synthesis.BaseSynthesizer
speakableListeners, voiceList
- - - - - - - -
Fields inherited from class com.sun.speech.engine.BaseEngine
audioManager, CLEAR_ALL_STATE, engineListeners, engineModeDesc, engineProperties, engineState, engineStateLock
- - - - - - - -
Fields inherited from interface javax.speech.synthesis.Synthesizer
QUEUE_EMPTY, QUEUE_NOT_EMPTY
- - - - - - - -
Fields inherited from interface javax.speech.Engine
ALLOCATED, ALLOCATING_RESOURCES, DEALLOCATED, DEALLOCATING_RESOURCES, PAUSED, RESUMED
-  - - - - - - - - - - -
-Constructor Summary
FreeTTSSynthesizer(FreeTTSSynthesizerModeDesc desc) - -
-          Creates a new Synthesizer in the DEALLOCATED state.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  voidappendQueue(BaseSynthesizerQueueItem item) - -
-          Places an item on the speaking queue and send the queue update event.
- voidcancel() - -
-          Cancels the item at the top of the queue.
- voidcancel(java.lang.Object source) - -
-          Cancels a specific object on the queue.
- voidcancelAll() - -
-          Cancels all items on the output queue.
-protected  BaseEnginePropertiescreateEngineProperties() - -
-          Factory constructor for EngineProperties object. -
-protected  BaseSynthesizerQueueItemcreateQueueItem() - -
-          Factory method to create a BaseSynthesizerQueueItem.
- java.util.EnumerationenumerateQueue() - -
-          Returns an enumeration of the queue.
-protected  voidhandleAllocate() - -
-          Starts the output thread.
-protected  voidhandleDeallocate() - -
-          Handles a deallocation request.
-protected  voidhandlePause() - -
-          Pauses the output
-protected  voidhandleResume() - -
-          Resumes the output
- - - - - - - -
Methods inherited from class com.sun.speech.engine.synthesis.BaseSynthesizer
addSpeakableListener, dispatchSpeechEvent, fireQueueEmptied, fireQueueUpdated, getSynthesizerProperties, getVoiceList, phoneme, postQueueEmptied, postQueueUpdated, removeSpeakableListener, speak, speak, speak, speakPlainText, stateToString
- - - - - - - -
Methods inherited from class com.sun.speech.engine.BaseEngine
addEngineListener, allocate, checkEngineState, deallocate, fireEngineAllocated, fireEngineAllocatingResources, fireEngineDeallocated, fireEngineDeallocatingResources, fireEnginePaused, fireEngineResumed, getAudioManager, getEngineModeDesc, getEngineProperties, getEngineState, getVocabManager, pause, postEngineAllocated, postEngineAllocatingResources, postEngineDeallocated, postEngineDeallocatingResources, postEnginePaused, postEngineResumed, removeEngineListener, resume, setEngineModeDesc, setEngineState, testEngineState, toString, waitEngineState
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface javax.speech.Engine
addEngineListener, allocate, deallocate, getAudioManager, getEngineModeDesc, getEngineProperties, getEngineState, getVocabManager, pause, removeEngineListener, resume, testEngineState, waitEngineState
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FreeTTSSynthesizer

-
-public FreeTTSSynthesizer(FreeTTSSynthesizerModeDesc desc)
-
-
Creates a new Synthesizer in the DEALLOCATED state. -

-

Parameters:
desc - describes the allowed mode of operations for this - synthesizer.
- - - - - - - - -
-Method Detail
- -

-handleAllocate

-
-protected void handleAllocate()
-                       throws javax.speech.EngineException
-
-
Starts the output thread. The output thread is responsible for - taking items off of the queue and sending them to the audio - player. -

-

-
Specified by:
handleAllocate in class BaseEngine
-
-
- -
Throws: -
javax.speech.EngineException - if an allocation error occurs
See Also:
BaseEngine.allocate()
-
-
-
- -

-handleDeallocate

-
-protected void handleDeallocate()
-                         throws javax.speech.EngineException
-
-
Handles a deallocation request. Cancels all pending items, - terminates the output handler, and posts the state changes. -

-

-
Specified by:
handleDeallocate in class BaseEngine
-
-
- -
Throws: -
javax.speech.EngineException - if a deallocation error occurs
-
-
-
- -

-createQueueItem

-
-protected BaseSynthesizerQueueItem createQueueItem()
-
-
Factory method to create a BaseSynthesizerQueueItem. -

-

-
Overrides:
createQueueItem in class BaseSynthesizer
-
-
- -
Returns:
a queue item appropriate for this synthesizer
-
-
-
- -

-enumerateQueue

-
-public java.util.Enumeration enumerateQueue()
-                                     throws javax.speech.EngineStateError
-
-
Returns an enumeration of the queue. -

-

-
Specified by:
enumerateQueue in interface javax.speech.synthesis.Synthesizer
Specified by:
enumerateQueue in class BaseSynthesizer
-
-
- -
Returns:
an enumeration of the contents of the queue. This - enumeration contains FreeTTSSynthesizerQueueItem objects -
Throws: -
javax.speech.EngineStateError - if the engine was not in the proper - state
-
-
-
- -

-appendQueue

-
-protected void appendQueue(BaseSynthesizerQueueItem item)
-
-
Places an item on the speaking queue and send the queue update event. -

-

-
Specified by:
appendQueue in class BaseSynthesizer
-
-
-
Parameters:
item - the item to place in the queue
-
-
-
- -

-cancel

-
-public void cancel()
-            throws javax.speech.EngineStateError
-
-
Cancels the item at the top of the queue. -

-

-
Specified by:
cancel in interface javax.speech.synthesis.Synthesizer
Specified by:
cancel in class BaseSynthesizer
-
-
- -
Throws: -
javax.speech.EngineStateError - if the synthesizer is not in the - proper state
-
-
-
- -

-cancel

-
-public void cancel(java.lang.Object source)
-            throws java.lang.IllegalArgumentException,
-                   javax.speech.EngineStateError
-
-
Cancels a specific object on the queue. -

-

-
Specified by:
cancel in interface javax.speech.synthesis.Synthesizer
Specified by:
cancel in class BaseSynthesizer
-
-
-
Parameters:
source - the object to cancel -
Throws: -
java.lang.IllegalArgumentException - if the source object is not - currently in the queue -
javax.speech.EngineStateError - the synthesizer is not in the - proper state
-
-
-
- -

-cancelAll

-
-public void cancelAll()
-               throws javax.speech.EngineStateError
-
-
Cancels all items on the output queue. -

-

-
Specified by:
cancelAll in interface javax.speech.synthesis.Synthesizer
Specified by:
cancelAll in class BaseSynthesizer
-
-
- -
Throws: -
javax.speech.EngineStateError
-
-
-
- -

-handlePause

-
-protected void handlePause()
-
-
Pauses the output -

-

-
Specified by:
handlePause in class BaseEngine
-
-
-
-
-
-
- -

-handleResume

-
-protected void handleResume()
-
-
Resumes the output -

-

-
Specified by:
handleResume in class BaseEngine
-
-
-
-
-
-
- -

-createEngineProperties

-
-protected BaseEngineProperties createEngineProperties()
-
-
Factory constructor for EngineProperties object. - Gets the default speaking voice from the SynthesizerModeDesc. - Takes the default prosody values (pitch, range, volume, rate) - from the default voice. - Override to set engine-specific defaults. -

-

-
Overrides:
createEngineProperties in class BaseSynthesizer
-
-
- -
Returns:
a BaseEngineProperties object specific to - a subclass.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/jsapi/FreeTTSSynthesizerModeDesc.html b/javadoc/com/sun/speech/freetts/jsapi/FreeTTSSynthesizerModeDesc.html deleted file mode 100644 index 8151f50..0000000 --- a/javadoc/com/sun/speech/freetts/jsapi/FreeTTSSynthesizerModeDesc.html +++ /dev/null @@ -1,361 +0,0 @@ - - - - - - -FreeTTSSynthesizerModeDesc (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.jsapi -
-Class FreeTTSSynthesizerModeDesc

-
-java.lang.Object
-  extended byjavax.speech.EngineModeDesc
-      extended byjavax.speech.synthesis.SynthesizerModeDesc
-          extended bycom.sun.speech.freetts.jsapi.FreeTTSSynthesizerModeDesc
-
-
-
All Implemented Interfaces:
javax.speech.EngineCreate
-
-
-
-
public class FreeTTSSynthesizerModeDesc
extends javax.speech.synthesis.SynthesizerModeDesc
implements javax.speech.EngineCreate
- -

-Represents a SynthesizerModeDesc for the - FreeTTSSynthesizer. A FreeTTSSynthesizerModeDesc adds - an audio player to the standard mode items. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FreeTTSSynthesizerModeDesc(java.lang.String engineName, - java.lang.String modeName, - java.util.Locale locale) - -
-          Creates a fully-specified descriptor. -
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- javax.speech.EnginecreateEngine() - -
-          Constructs a FreeTTSSynthesizer with the properties of this mode - descriptor.
- javax.speech.synthesis.Voice[]getVoices() - -
-          Returns the valid voices in this synthesizer mode.
- voidvalidate() - -
-          Returns true if this is a valid FreeTTSSynthesizerModeDesc. -
- - - - - - - -
Methods inherited from class javax.speech.synthesis.SynthesizerModeDesc
addVoice, equals, match, setVoices
- - - - - - - -
Methods inherited from class javax.speech.EngineModeDesc
getEngineName, getLocale, getModeName, getRunning, setEngineName, setLocale, setModeName, setRunning
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FreeTTSSynthesizerModeDesc

-
-public FreeTTSSynthesizerModeDesc(java.lang.String engineName,
-                                  java.lang.String modeName,
-                                  java.util.Locale locale)
-
-
Creates a fully-specified descriptor. - Any of the features may be null. -

-

Parameters:
engineName - the name of the engine
modeName - the name of the mode
locale - the locale associated with this mode
- - - - - - - - -
-Method Detail
- -

-getVoices

-
-public javax.speech.synthesis.Voice[] getVoices()
-
-
Returns the valid voices in this synthesizer mode. -

-

-
-
-
- -
Returns:
an array of valid voices, if no valid voices, it will - return an array of size 0
-
-
-
- -

-validate

-
-public void validate()
-              throws ValidationException
-
-
Returns true if this is a valid FreeTTSSynthesizerModeDesc. - It is valid if it contains at least one valid Voice. - Returns false otherwise. -

-

-
-
-
- -
Throws: -
ValidationException - if this FreeTTSSynthesizerModeDesc - is invalid
-
-
-
- -

-createEngine

-
-public javax.speech.Engine createEngine()
-                                 throws java.lang.IllegalArgumentException,
-                                        javax.speech.EngineException,
-                                        java.lang.SecurityException
-
-
Constructs a FreeTTSSynthesizer with the properties of this mode - descriptor. -

-

-
Specified by:
createEngine in interface javax.speech.EngineCreate
-
-
- -
Returns:
a synthesizer that mathes the mode -
Throws: -
java.lang.IllegalArgumentException - if the properties of this - descriptor do not match any known engine or mode -
javax.speech.EngineException - if the engine could not be created -
java.lang.SecurityException - if the caller does not have - permission to use the speech engine
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/jsapi/FreeTTSSynthesizerQueueItem.html b/javadoc/com/sun/speech/freetts/jsapi/FreeTTSSynthesizerQueueItem.html deleted file mode 100644 index 85ec111..0000000 --- a/javadoc/com/sun/speech/freetts/jsapi/FreeTTSSynthesizerQueueItem.html +++ /dev/null @@ -1,401 +0,0 @@ - - - - - - -FreeTTSSynthesizerQueueItem (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.jsapi -
-Class FreeTTSSynthesizerQueueItem

-
-java.lang.Object
-  extended byjavax.speech.synthesis.SynthesizerQueueItem
-      extended bycom.sun.speech.engine.synthesis.BaseSynthesizerQueueItem
-          extended bycom.sun.speech.freetts.jsapi.FreeTTSSynthesizerQueueItem
-
-
-
All Implemented Interfaces:
FreeTTSSpeakable, SpeechEventDispatcher
-
-
-
-
public class FreeTTSSynthesizerQueueItem
extends BaseSynthesizerQueueItem
implements FreeTTSSpeakable
- -

-Represents an object on the speech output queue of a - FreeTTSSynthesizer. - Extends the BaseSynthesizerQueueItem by allowing access to the DOM - document. -

- -

-


- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem
itemNumber, synth, thisItemNumber
- - - - - - - -
Fields inherited from class javax.speech.synthesis.SynthesizerQueueItem
listener, plainText, source, text
-  - - - - - - - - - - -
-Constructor Summary
FreeTTSSynthesizerQueueItem() - -
-          Construct a queue item.
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- org.w3c.dom.DocumentgetDocument() - -
-          Gets the DOM document for this object.
- java.io.InputStreamgetInputStream() - -
-          Gets the input stream
- booleanisDocument() - -
-          Returns true if the item is a JSML document - (Java Speech Markup Language text).
- booleanisStream() - -
-          Returns true if the item is an input stream
- - - - - - - -
Methods inherited from class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem
cancelled, completed, dispatchSpeechEvent, fireMarkerReached, fireSpeakableCancelled, fireSpeakableEnded, fireSpeakablePaused, fireSpeakableResumed, fireSpeakableStarted, fireTopOfQueue, fireWordStarted, getItemNumber, isCancelled, isCompleted, postMarkerReached, postSpeakableCancelled, postSpeakableEnded, postSpeakablePaused, postSpeakableResumed, postSpeakableStarted, postTopOfQueue, postWordStarted, setData, setData, setData, started, waitCompleted
- - - - - - - -
Methods inherited from class javax.speech.synthesis.SynthesizerQueueItem
getSource, getSpeakableListener, getText, isPlainText
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- - - - - - - -
Methods inherited from interface com.sun.speech.freetts.FreeTTSSpeakable
cancelled, completed, getText, isCompleted, isPlainText, started, waitCompleted
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FreeTTSSynthesizerQueueItem

-
-public FreeTTSSynthesizerQueueItem()
-
-
Construct a queue item. -

-

- - - - - - - - -
-Method Detail
- -

-getDocument

-
-public org.w3c.dom.Document getDocument()
-
-
Gets the DOM document for this object. -

-

-
Specified by:
getDocument in interface FreeTTSSpeakable
Overrides:
getDocument in class BaseSynthesizerQueueItem
-
-
- -
Returns:
the DOM document for this object.
-
-
-
- -

-isStream

-
-public boolean isStream()
-
-
Returns true if the item is an input stream -

-

-
Specified by:
isStream in interface FreeTTSSpeakable
-
-
- -
Returns:
true if the item is an input stream; - otherwise, returns false
-
-
-
- -

-getInputStream

-
-public java.io.InputStream getInputStream()
-
-
Gets the input stream -

-

-
Specified by:
getInputStream in interface FreeTTSSpeakable
-
-
- -
Returns:
the input stream
-
-
-
- -

-isDocument

-
-public boolean isDocument()
-
-
Returns true if the item is a JSML document - (Java Speech Markup Language text). -

-

-
Specified by:
isDocument in interface FreeTTSSpeakable
-
-
- -
Returns:
true if the item is a document; - otherwise, returns false
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/jsapi/FreeTTSVoice.html b/javadoc/com/sun/speech/freetts/jsapi/FreeTTSVoice.html deleted file mode 100644 index 9e7c5a6..0000000 --- a/javadoc/com/sun/speech/freetts/jsapi/FreeTTSVoice.html +++ /dev/null @@ -1,434 +0,0 @@ - - - - - - -FreeTTSVoice (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.jsapi -
-Class FreeTTSVoice

-
-java.lang.Object
-  extended byjavax.speech.synthesis.Voice
-      extended bycom.sun.speech.engine.synthesis.BaseVoice
-          extended bycom.sun.speech.freetts.jsapi.FreeTTSVoice
-
-
-
All Implemented Interfaces:
java.lang.Cloneable
-
-
-
-
public class FreeTTSVoice
extends BaseVoice
- -

-Extends the BaseVoice class to encapsulate FreeTTSSynthesizer specific data. -

- -

-


- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class com.sun.speech.engine.synthesis.BaseVoice
defaultPitch, defaultPitchRange, defaultSpeakingRate, defaultVolume, voiceId
- - - - - - - -
Fields inherited from class javax.speech.synthesis.Voice
AGE_CHILD, AGE_DONT_CARE, AGE_MIDDLE_ADULT, AGE_NEUTRAL, AGE_OLDER_ADULT, AGE_TEENAGER, AGE_YOUNGER_ADULT, GENDER_DONT_CARE, GENDER_FEMALE, GENDER_MALE, GENDER_NEUTRAL
-  - - - - - - - - - - -
-Constructor Summary
FreeTTSVoice(Voice freettsVoice, - java.lang.String validatorName) - -
-          Constructs a FreeTTSVoice
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.Objectclone() - -
-          Creates a copy of this BaseVoice.
- java.lang.StringgetId() - -
-          Gets the id for this voice. -
- VoicegetVoice() - -
-          Gets a FreeTTS com.sun.speech.freetts.Voice from this JSAPI voice
- voidsetId(java.lang.String id) - -
-          Sets the id for this voice.
- java.lang.StringtoString() - -
-          Gets a string representation of the object
- voidvalidate() - -
-          Validates this FreeTTSVoice.
- - - - - - - -
Methods inherited from class com.sun.speech.engine.synthesis.BaseVoice
getPitch, getPitchRange, getSpeakingRate, getVolume
- - - - - - - -
Methods inherited from class javax.speech.synthesis.Voice
equals, getAge, getGender, getName, getStyle, match, setAge, setGender, setName, setStyle
- - - - - - - -
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FreeTTSVoice

-
-public FreeTTSVoice(Voice freettsVoice,
-                    java.lang.String validatorName)
-
-
Constructs a FreeTTSVoice -

-

Parameters:
freettsVoice - the freetts voice
validatorName - the classname of the validator to use
- - - - - - - - -
-Method Detail
- -

-getId

-
-public java.lang.String getId()
-
-
Gets the id for this voice. - Should be unique for a synthesizer. -

-

-
Overrides:
getId in class BaseVoice
-
-
- -
Returns:
the voice id
See Also:
BaseVoice.setId(java.lang.String)
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Gets a string representation of the object -

-

-
Overrides:
toString in class BaseVoice
-
-
- -
Returns:
the name of this voice
-
-
-
- -

-getVoice

-
-public Voice getVoice()
-
-
Gets a FreeTTS com.sun.speech.freetts.Voice from this JSAPI voice -

-

- -
Returns:
a FreeTTS Voice or null, if the voice cannot be found
-
-
-
- -

-setId

-
-public void setId(java.lang.String id)
-
-
Sets the id for this voice. -

-

-
Overrides:
setId in class BaseVoice
-
-
-
Parameters:
id - the new id
See Also:
BaseVoice.getId()
-
-
-
- -

-clone

-
-public java.lang.Object clone()
-
-
Creates a copy of this BaseVoice. -

-

-
Overrides:
clone in class BaseVoice
-
-
- -
Returns:
the cloned object
-
-
-
- -

-validate

-
-public void validate()
-              throws ValidationException
-
-
Validates this FreeTTSVoice. -

-

- -
Throws: -
ValidationException - if this FreeTTSVoice is invalid
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/jsapi/package-frame.html b/javadoc/com/sun/speech/freetts/jsapi/package-frame.html deleted file mode 100644 index a2f0fe0..0000000 --- a/javadoc/com/sun/speech/freetts/jsapi/package-frame.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - -com.sun.speech.freetts.jsapi (FreeTTS 1.2) - - - - - - - - - - - -com.sun.speech.freetts.jsapi - - - - -
-Classes  - -
-FreeTTSEngineCentral -
-FreeTTSSynthesizer -
-FreeTTSSynthesizerModeDesc -
-FreeTTSSynthesizerQueueItem -
-FreeTTSVoice
- - - - diff --git a/javadoc/com/sun/speech/freetts/jsapi/package-summary.html b/javadoc/com/sun/speech/freetts/jsapi/package-summary.html deleted file mode 100644 index c2c39e5..0000000 --- a/javadoc/com/sun/speech/freetts/jsapi/package-summary.html +++ /dev/null @@ -1,201 +0,0 @@ - - - - - - -com.sun.speech.freetts.jsapi (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.sun.speech.freetts.jsapi -

- - -Provides a partial and unsupported support for a JSAPI 1.0 speech synthesizer for FreeTTS. -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
FreeTTSEngineCentralSupports the EngineCentral JSAPI 1.0 interface for the - FreeTTSSynthesizer.
FreeTTSSynthesizerProvides partial support for a JSAPI 1.0 synthesizer for the - FreeTTS speech synthesis system.
FreeTTSSynthesizerModeDescRepresents a SynthesizerModeDesc for the - FreeTTSSynthesizer.
FreeTTSSynthesizerQueueItemRepresents an object on the speech output queue of a - FreeTTSSynthesizer. -
FreeTTSVoiceExtends the BaseVoice class to encapsulate FreeTTSSynthesizer specific data.
-  - -

-

-Package com.sun.speech.freetts.jsapi Description -

- -

-

- -Provides a partial and unsupported support for a JSAPI 1.0 speech synthesizer for FreeTTS. The FreeTTSSynthesizer -supports the JSAPI 1.0 Synthesizer interface that enables -the use of FreeTTS as a JSAPI synthesizer. - -

To include this in the list of speech synthesizers, add the following -line to your speech.properties file: - -

-
-FreeTTSSynthEngineCentral=com.sun.speech.freetts.jsapi.FreeTTSEngineCentral
-
-
- -Various FreeTTSSynthesizer modes of operation are defined via a -synthesizer.properties file that is loaded from the -com.sun.speech.freetts.jsapi package. -

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/jsapi/package-tree.html b/javadoc/com/sun/speech/freetts/jsapi/package-tree.html deleted file mode 100644 index 62424c1..0000000 --- a/javadoc/com/sun/speech/freetts/jsapi/package-tree.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - - - -com.sun.speech.freetts.jsapi Class Hierarchy (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.sun.speech.freetts.jsapi -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/lexicon/LetterToSound.html b/javadoc/com/sun/speech/freetts/lexicon/LetterToSound.html deleted file mode 100644 index 8f34a0f..0000000 --- a/javadoc/com/sun/speech/freetts/lexicon/LetterToSound.html +++ /dev/null @@ -1,227 +0,0 @@ - - - - - - -LetterToSound (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.lexicon -
-Interface LetterToSound

-
-
All Known Implementing Classes:
LetterToSoundImpl
-
-
-
-
public interface LetterToSound
- -

-Provides the phone list for words using letter-to-sound rules. The - phone list is implementation dependent. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.String[]getPhones(java.lang.String word, - java.lang.String partOfSpeech) - -
-          Calculate the phone list for a given word.
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-getPhones

-
-public java.lang.String[] getPhones(java.lang.String word,
-                                    java.lang.String partOfSpeech)
-
-
Calculate the phone list for a given word. If a phone list - cannot be determined, null is returned. The phone - list is implementation dependent. The format of the - partOfSpeech is also implementation. If the - partOfSpeech does not matter, pass in null. -

-

-
Parameters:
word - the word to get the phone list for
partOfSpeech - the part of speech or null -
Returns:
the list of phones for word or null
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/lexicon/LetterToSoundImpl.html b/javadoc/com/sun/speech/freetts/lexicon/LetterToSoundImpl.html deleted file mode 100644 index 453a348..0000000 --- a/javadoc/com/sun/speech/freetts/lexicon/LetterToSoundImpl.html +++ /dev/null @@ -1,652 +0,0 @@ - - - - - - -LetterToSoundImpl (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.lexicon -
-Class LetterToSoundImpl

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.lexicon.LetterToSoundImpl
-
-
-
All Implemented Interfaces:
LetterToSound
-
-
-
-
public class LetterToSoundImpl
extends java.lang.Object
implements LetterToSound
- -

-Provides the phone list for words using the CMU6 letter-to-sound - (LTS) rules, which are based on the Black, Lenzo, and Pagel paper, - "Issues in Building General Letter-to-Sound Rules." Proceedings - of ECSA Workshop on Speech Synthesis, pages 77-80, Australia, 1998. - -

The LTS rules are a simple state machine, with one entry point - for each letter of the alphabet (lower case letters are always - assumed, and the rules keep an array with one entry per letter that - point into the state machine). - -

The state machine consists of a huge array, with most entries - containing a decision and the indices of two other entries. The - first of these two indices represents where to go if the decision - is true, and the second represents where to go if the decision is - false. All entries that do not contain a decision are final - entries, and these contain a phone. - -

The decision in this case is a simple character comparison, - but it is done in the context of a window around the character in - the word. The decision consists of a index into the context window - and a character value. If the character in the context window - matches the character value, then the decision is true. - -

The machine traversal for each letter starts at that letter's - entry in the state machine and ends only when it reaches a final - state. If there is no phone that can be mapped, the phone in the - final state is set to 'epsilon.' - -

The context window for a character is generated in the following - way: - -

    -
  • Pad the original word on either side with '#' and '0' - characters the size of the window for the LTS rules (in this case, - the window size is 4). The "#" is used to indicate the beginning - and end of the word. So, the word "monkey" would turn into - "000#monkey#000". -
  • For each character in the word, the context window consists of - the characters in the padded form the preceed and follow the word. - The number of characters on each side is dependent upon the window - size. So, for this implementation, the context window for the 'k' - in monkey is "#money#0". -
- -

Here's how the phone for 'k' in 'monkey' might be determined: - -

    -
  • Create the context window "#money#0". -
  • Start at the state machine entry for 'k' in the state machine. -
  • Grab the 'index' from the current state. This represents an - index into the context window. -
  • Compare the value of the character at the index in the context - window to the character from the current state. If there is a - match, the next state is the qtrue value. If there isn't a match, - the next state is the qfalse state. -
  • Keep on working through the machine until you read a final - state. -
  • When you get to the final state, the phone is the character in - that state. -
- -

This implementation will either read from a straight ASCII file - or a binary file. When reading from an ASCII file, you can specify - when the input line is tokenized: load, lookup, or never. If you - specify 'load', the entire file will be parsed when it is loaded. - If you specify 'lookup', the file will be loaded, but the parsing - for each line will be delayed until it is referenced and the parsed - form will be saved away. If you specify 'never', the lines will - parsed each time they are referenced. The default is 'load'. To - specify the load type, set the system property as follows: - -

-   -Dcom.sun.speech.freetts.lexicon.LTSTokenize=load
- 
- -

[[[TODO: This implementation uses ASCII 'a'-'z', which is not - internationalized.]]] -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-protected  java.util.HashMapletterIndex - -
-          The indexes of the starting points for letters in the state machine.
-protected  booleantokenizeOnLoad - -
-          If true, the state string is tokenized when it is first read. -
-protected  booleantokenizeOnLookup - -
-          If true, the state string is tokenized the first time it is - referenced.
-  - - - - - - - - - - -
-Constructor Summary
LetterToSoundImpl(java.net.URL ltsRules, - boolean binary) - -
-          Class constructor.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleancompare(LetterToSoundImpl other) - -
-          Compares this LTS to another for debugging purposes.
- voiddumpBinary(java.lang.String path) - -
-          Dumps a binary form of the letter to sound rules. -
-protected  char[]getFullBuff(java.lang.String word) - -
-          Makes a character array that looks like "000#word#000".
- java.lang.String[]getPhones(java.lang.String word, - java.lang.String partOfSpeech) - -
-          Calculates the phone list for a given word.
-protected  com.sun.speech.freetts.lexicon.LetterToSoundImpl.StategetState(int i) - -
-          Gets the State at the given index.
-protected  com.sun.speech.freetts.lexicon.LetterToSoundImpl.StategetState(java.lang.String s) - -
-          Gets the State based upon the String.
-protected  com.sun.speech.freetts.lexicon.LetterToSoundImpl.StategetState(java.lang.String type, - java.util.StringTokenizer tokenizer) - -
-          Gets the State based upon the type - and tokenizer.
-static voidmain(java.lang.String[] args) - -
-          Translates between text and binary forms of the CMU6 LTS rules.
-protected  voidparseAndAdd(java.lang.String line) - -
-          Creates a word from the given input line and add it to the state - machine.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-tokenizeOnLoad

-
-protected boolean tokenizeOnLoad
-
-
If true, the state string is tokenized when it is first read. - The side effects of this are quicker lookups, but more memory - usage and a longer startup time. -

-

-
-
-
- -

-tokenizeOnLookup

-
-protected boolean tokenizeOnLookup
-
-
If true, the state string is tokenized the first time it is - referenced. The side effects of this are quicker lookups, but - more memory usage. -

-

-
-
-
- -

-letterIndex

-
-protected java.util.HashMap letterIndex
-
-
The indexes of the starting points for letters in the state machine. -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-LetterToSoundImpl

-
-public LetterToSoundImpl(java.net.URL ltsRules,
-                         boolean binary)
-                  throws java.io.IOException
-
-
Class constructor. -

-

Parameters:
ltsRules - a URL pointing to the text - containing the letter to sound rules
binary - if true, the URL is a binary source -
Throws: -
java.lang.NullPointerException - if the ltsRules are null -
java.io.IOException - if errors are encountered while reading the - compiled form or the addenda
- - - - - - - - -
-Method Detail
- -

-parseAndAdd

-
-protected void parseAndAdd(java.lang.String line)
-
-
Creates a word from the given input line and add it to the state - machine. It expects the TOTAL line to come before any of the - states. -

-

-
-
-
-
Parameters:
line - the line of text from the input file
-
-
-
- -

-dumpBinary

-
-public void dumpBinary(java.lang.String path)
-                throws java.io.IOException
-
-
Dumps a binary form of the letter to sound rules. - This method is not thread-safe. - -

Binary format is: -

-   MAGIC
-   VERSION
-   NUM STATES
-   for each state ...
- 
-

-

-
-
-
-
Parameters:
path - the path to dump the file to -
Throws: -
java.io.IOException - if a problem occurs during the dump
-
-
-
- -

-getState

-
-protected com.sun.speech.freetts.lexicon.LetterToSoundImpl.State getState(int i)
-
-
Gets the State at the given index. This may - replace a String at - the current spot with an actual State instance. -

-

-
-
-
-
Parameters:
i - the index into the state machine -
Returns:
the State at the given index.
-
-
-
- -

-getState

-
-protected com.sun.speech.freetts.lexicon.LetterToSoundImpl.State getState(java.lang.String s)
-
-
Gets the State based upon the String. -

-

-
-
-
-
Parameters:
s - the string to parse -
Returns:
the parsed State
-
-
-
- -

-getState

-
-protected com.sun.speech.freetts.lexicon.LetterToSoundImpl.State getState(java.lang.String type,
-                                                                          java.util.StringTokenizer tokenizer)
-
-
Gets the State based upon the type - and tokenizer. -

-

-
-
-
-
Parameters:
type - one of STATE or PHONE
tokenizer - a StringTokenizer containing the - State -
Returns:
the parsed State
-
-
-
- -

-getFullBuff

-
-protected char[] getFullBuff(java.lang.String word)
-
-
Makes a character array that looks like "000#word#000". -

-

-
-
-
-
Parameters:
word - the original word -
Returns:
the padded word
-
-
-
- -

-getPhones

-
-public java.lang.String[] getPhones(java.lang.String word,
-                                    java.lang.String partOfSpeech)
-
-
Calculates the phone list for a given word. If a phone list cannot - be determined, null is returned. This particular - implementation ignores the part of speech. -

-

-
Specified by:
getPhones in interface LetterToSound
-
-
-
Parameters:
word - the word to find
partOfSpeech - the part of speech. -
Returns:
the list of phones for word or null
-
-
-
- -

-compare

-
-public boolean compare(LetterToSoundImpl other)
-
-
Compares this LTS to another for debugging purposes. -

-

-
-
-
-
Parameters:
other - the other LTS to compare to -
Returns:
true if these are equivalent
-
-
-
- -

-main

-
-public static void main(java.lang.String[] args)
-
-
Translates between text and binary forms of the CMU6 LTS rules. -

-

-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/lexicon/Lexicon.html b/javadoc/com/sun/speech/freetts/lexicon/Lexicon.html deleted file mode 100644 index 45e5ec1..0000000 --- a/javadoc/com/sun/speech/freetts/lexicon/Lexicon.html +++ /dev/null @@ -1,393 +0,0 @@ - - - - - - -Lexicon (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.lexicon -
-Interface Lexicon

-
-
All Known Implementing Classes:
LexiconImpl
-
-
-
-
public interface Lexicon
- -

-Provides the phone list for words. A Lexicon is composed of three - pieces: an addenda, the compiled form, and the letter to sound - rules. -

    -
  • The addenda either contains Word instances that are not in - the compiled form, or it contains Word instances that replace - definitions in the compiled form. The addenda is meant to be - relatively small (e.g., 10's of words). -
  • The compiled form is meant to hold a large number of words - (e.g., 10's of thousands of words) and provide a very efficient - means for finding those words. -
  • The letter to sound rules will attempt to find a definition for - a word not found in either the addenda or compiled form. -
-

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddAddendum(java.lang.String word, - java.lang.String partOfSpeech, - java.lang.String[] phones) - -
-          Adds a word to the addenda.
- java.lang.String[]getPhones(java.lang.String word, - java.lang.String partOfSpeech) - -
-          Gets the phone list for a given word.
- java.lang.String[]getPhones(java.lang.String word, - java.lang.String partOfSpeech, - boolean useLTS) - -
-          Gets the phone list for a given word.
- booleanisLoaded() - -
-          Determines if this lexicon is loaded.
- booleanisSyllableBoundary(java.util.List syllablePhones, - java.lang.String[] wordPhones, - int currentWordPhone) - -
-          Determines if the currentWordPhone represents a - new syllable boundary.
- voidload() - -
-          Loads this lexicon.
- voidremoveAddendum(java.lang.String word, - java.lang.String partOfSpeech) - -
-          Removes a word from the addenda.
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-getPhones

-
-public java.lang.String[] getPhones(java.lang.String word,
-                                    java.lang.String partOfSpeech)
-
-
Gets the phone list for a given word. If a phone list cannot - be found, null is returned. The - partOfSpeech is implementation dependent, but - null always matches. -

-

-
Parameters:
word - the word to find
partOfSpeech - the part of speech or null -
Returns:
the list of phones for word or null
-
-
-
- -

-getPhones

-
-public java.lang.String[] getPhones(java.lang.String word,
-                                    java.lang.String partOfSpeech,
-                                    boolean useLTS)
-
-
Gets the phone list for a given word. If a phone list cannot - be found, null is returned. The - partOfSpeech is implementation dependent, but - null always matches. -

-

-
Parameters:
word - the word to find
partOfSpeech - the part of speech or null
useLTS - whether to use the letter-to-sound rules when - the word is not in the lexicon. -
Returns:
the list of phones for word or null
-
-
-
- -

-addAddendum

-
-public void addAddendum(java.lang.String word,
-                        java.lang.String partOfSpeech,
-                        java.lang.String[] phones)
-
-
Adds a word to the addenda. The - part of speech is implementation dependent. -

-

-
Parameters:
word - the word to add
partOfSpeech - the part of speech or null
-
-
-
- -

-removeAddendum

-
-public void removeAddendum(java.lang.String word,
-                           java.lang.String partOfSpeech)
-
-
Removes a word from the addenda. Both the part of speech and - word must be an exact match. -

-

-
Parameters:
word - the word to add
partOfSpeech - the part of speech
-
-
-
- -

-isSyllableBoundary

-
-public boolean isSyllableBoundary(java.util.List syllablePhones,
-                                  java.lang.String[] wordPhones,
-                                  int currentWordPhone)
-
-
Determines if the currentWordPhone represents a - new syllable boundary. -

-

-
Parameters:
syllablePhones - the phones in the current syllable so far
wordPhones - the phones for the whole word
currentWordPhone - the word phone in question -
Returns:
true if the phone is a new boundary
-
-
-
- -

-load

-
-public void load()
-          throws java.io.IOException
-
-
Loads this lexicon. The loading of a lexicon need not be done - in the constructor. -

-

- -
Throws: -
java.io.IOException - if an error occurs while loading
-
-
-
- -

-isLoaded

-
-public boolean isLoaded()
-
-
Determines if this lexicon is loaded. -

-

- -
Returns:
true if the lexicon is loaded
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/lexicon/LexiconImpl.html b/javadoc/com/sun/speech/freetts/lexicon/LexiconImpl.html deleted file mode 100644 index 0b95168..0000000 --- a/javadoc/com/sun/speech/freetts/lexicon/LexiconImpl.html +++ /dev/null @@ -1,832 +0,0 @@ - - - - - - -LexiconImpl (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.lexicon -
-Class LexiconImpl

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.lexicon.LexiconImpl
-
-
-
All Implemented Interfaces:
Lexicon
-
-
-
Direct Known Subclasses:
CMULexicon
-
-
-
-
public abstract class LexiconImpl
extends java.lang.Object
implements Lexicon
- -

-Provides an implementation of a Lexicon. - -

This implementation will either read from a straight ASCII file - or a binary file. When reading from an ASCII file, you can specify - when the input line is tokenized: load, lookup, or never. If you - specify 'load', the entire file will be parsed when it is loaded. - If you specify 'lookup', the file will be loaded, but the parsing - for each line will be delayed until it is referenced and the parsed - form will be saved away. If you specify 'never', the lines will - parsed each time they are referenced. The default is 'never'. To - specify the load type, set the system property as follows: - -

-   -Dcom.sun.speech.freetts.lexicon.LexTokenize=load
- 
- -

If a binary file is used, you can also specify whether the new - IO package is used. The new IO package is new for JDK1.4, and can - greatly improve the speed of loading files. To enable new IO, use - the following system property (it is enabled by default): - -

-   -Dcom.sun.speech.freetts.useNewIO=true
- 
- -

The implementation also allows users to define their own addenda - that will be used in addition to the system addenda. If the user - defines their own addenda, it values will be added to the system - addenda, overriding any existing elements in the system addenda. - To define a user addenda, the user needs to set the following - property: - -

-   -Dcom.sun.speeech.freetts.lexicon.userAddenda=<URLToUserAddenda>
- 
- - Where <URLToUserAddenda> is a URL pointing to an ASCII file - containing addenda entries. - -

[[[TODO: support multiple homographs with the same part of speech.]]] -

- -

-


- -

- - - - - - - - - - - - - - - - - - -
-Field Summary
-protected  booleantokenizeOnLoad - -
-          If true, the phone string is replaced with the phone array in - the hashmap when the phone array is loaded.
-protected  booleantokenizeOnLookup - -
-          If true, the phone string is replaced with the phone array in - the hashmap when the phone array is first looked up.
-  - - - - - - - - - - - - - -
-Constructor Summary
LexiconImpl() - -
-          Class constructor for an empty Lexicon.
LexiconImpl(java.net.URL compiledURL, - java.net.URL addendaURL, - java.net.URL letterToSoundURL, - boolean binary) - -
-          Create a new LexiconImpl by reading from the given URLS.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddAddendum(java.lang.String word, - java.lang.String partOfSpeech, - java.lang.String[] phones) - -
-          Adds a word to the addenda.
- booleancompare(LexiconImpl other) - -
-          Tests to see if this lexicon is identical to the other for - debugging purposes.
-protected  java.util.MapcreateLexicon(java.io.InputStream is, - boolean binary, - int estimatedSize) - -
-          Reads the given input stream as lexicon data and returns the - results in a Map.
- voiddumpBinary(java.lang.String path) - -
-          Dumps this lexicon (just the compiled form).
-protected static java.lang.StringfixPartOfSpeech(java.lang.String partOfSpeech) - -
-          Fixes the part of speech if it is null.
-protected  java.lang.String[]getPhones(java.util.Map lexicon, - java.lang.String wordAndPartOfSpeech) - -
-          Gets a phone list for a word from a given lexicon.
-protected  java.lang.String[]getPhones(java.util.Map lexicon, - java.lang.String word, - java.lang.String partOfSpeech) - -
-          Gets a phone list for a word from a given lexicon.
-protected  java.lang.String[]getPhones(java.lang.String phones) - -
-          Turns the phone String into a String[], - using " " as the delimiter.
- java.lang.String[]getPhones(java.lang.String word, - java.lang.String partOfSpeech) - -
-          Gets the phone list for a given word.
- java.lang.String[]getPhones(java.lang.String word, - java.lang.String partOfSpeech, - boolean useLTS) - -
-          Gets the phone list for a given word.
- booleanisLoaded() - -
-          Determines if this lexicon is loaded.
- voidload() - -
-          Loads the data for this lexicon.
-protected  java.util.MaploadTextLexicon(java.io.InputStream is, - int estimatedSize) - -
-          Reads the given input stream as text lexicon data and returns the - results in a Map.
-protected  voidparseAndAdd(java.util.Map lexicon, - java.lang.String line) - -
-          Creates a word from the given input line and add it to the lexicon.
- voidremoveAddendum(java.lang.String word, - java.lang.String partOfSpeech) - -
-          Removes a word from the addenda.
-protected  voidsetLexiconParameters(java.net.URL compiledURL, - java.net.URL addendaURL, - java.net.URL letterToSoundURL, - boolean binary) - -
-          Sets the lexicon parameters
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- - - - - - - -
Methods inherited from interface com.sun.speech.freetts.lexicon.Lexicon
isSyllableBoundary
-  -

- - - - - - - - -
-Field Detail
- -

-tokenizeOnLoad

-
-protected boolean tokenizeOnLoad
-
-
If true, the phone string is replaced with the phone array in - the hashmap when the phone array is loaded. The side effects - of this are quicker lookups, but more memory usage and a longer - startup time. -

-

-
-
-
- -

-tokenizeOnLookup

-
-protected boolean tokenizeOnLookup
-
-
If true, the phone string is replaced with the phone array in - the hashmap when the phone array is first looked up. The side effects - Set by cmufilelex.tokenize=lookup. -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-LexiconImpl

-
-public LexiconImpl(java.net.URL compiledURL,
-                   java.net.URL addendaURL,
-                   java.net.URL letterToSoundURL,
-                   boolean binary)
-
-
Create a new LexiconImpl by reading from the given URLS. -

-

Parameters:
compiledURL - a URL pointing to the compiled lexicon
addendaURL - a URL pointing to lexicon addenda
letterToSoundURL - a LetterToSound to use if a word cannot - be found in the compiled form or the addenda
binary - if true, the input streams are binary; - otherwise, they are text.
-
- -

-LexiconImpl

-
-public LexiconImpl()
-
-
Class constructor for an empty Lexicon. -

-

- - - - - - - - -
-Method Detail
- -

-setLexiconParameters

-
-protected void setLexiconParameters(java.net.URL compiledURL,
-                                    java.net.URL addendaURL,
-                                    java.net.URL letterToSoundURL,
-                                    boolean binary)
-
-
Sets the lexicon parameters -

-

-
-
-
-
Parameters:
compiledURL - a URL pointing to the compiled lexicon
addendaURL - a URL pointing to lexicon addenda
letterToSoundURL - a URL pointing to the LetterToSound to use
binary - if true, the input streams are binary; - otherwise, they are text.
-
-
-
- -

-isLoaded

-
-public boolean isLoaded()
-
-
Determines if this lexicon is loaded. -

-

-
Specified by:
isLoaded in interface Lexicon
-
-
- -
Returns:
true if the lexicon is loaded
-
-
-
- -

-load

-
-public void load()
-          throws java.io.IOException
-
-
Loads the data for this lexicon. If the -

-

-
Specified by:
load in interface Lexicon
-
-
- -
Throws: -
java.io.IOException - if errors occur during loading
-
-
-
- -

-createLexicon

-
-protected java.util.Map createLexicon(java.io.InputStream is,
-                                      boolean binary,
-                                      int estimatedSize)
-                               throws java.io.IOException
-
-
Reads the given input stream as lexicon data and returns the - results in a Map. -

-

-
-
-
-
Parameters:
is - the input stream
binary - if true, the data is binary
estimatedSize - the estimated size of the lexicon -
Throws: -
java.io.IOException - if errors are encountered while reading the data
-
-
-
- -

-loadTextLexicon

-
-protected java.util.Map loadTextLexicon(java.io.InputStream is,
-                                        int estimatedSize)
-                                 throws java.io.IOException
-
-
Reads the given input stream as text lexicon data and returns the - results in a Map. -

-

-
-
-
-
Parameters:
is - the input stream
estimatedSize - the estimated number of entries of the lexicon -
Throws: -
java.io.IOException - if errors are encountered while reading the data
-
-
-
- -

-parseAndAdd

-
-protected void parseAndAdd(java.util.Map lexicon,
-                           java.lang.String line)
-
-
Creates a word from the given input line and add it to the lexicon. -

-

-
-
-
-
Parameters:
lexicon - the lexicon
line - the input text
-
-
-
- -

-getPhones

-
-public java.lang.String[] getPhones(java.lang.String word,
-                                    java.lang.String partOfSpeech)
-
-
Gets the phone list for a given word. If a phone list cannot - be found, returns null. The format is lexicon - dependent. If the part of speech does not matter, pass in - null. -

-

-
Specified by:
getPhones in interface Lexicon
-
-
-
Parameters:
word - the word to find
partOfSpeech - the part of speech -
Returns:
the list of phones for word or null
-
-
-
- -

-getPhones

-
-public java.lang.String[] getPhones(java.lang.String word,
-                                    java.lang.String partOfSpeech,
-                                    boolean useLTS)
-
-
Gets the phone list for a given word. If a phone list cannot - be found, null is returned. The - partOfSpeech is implementation dependent, but - null always matches. -

-

-
Specified by:
getPhones in interface Lexicon
-
-
-
Parameters:
word - the word to find
partOfSpeech - the part of speech or null
useLTS - whether to use the letter-to-sound rules when - the word is not in the lexicon. -
Returns:
the list of phones for word or null
-
-
-
- -

-getPhones

-
-protected java.lang.String[] getPhones(java.util.Map lexicon,
-                                       java.lang.String word,
-                                       java.lang.String partOfSpeech)
-
-
Gets a phone list for a word from a given lexicon. If a phone - list cannot be found, returns null. The format is - lexicon dependent. If the part of speech does not matter, pass - in null. -

-

-
-
-
-
Parameters:
lexicon - the lexicon
word - the word to find
partOfSpeech - the part of speech -
Returns:
the list of phones for word or null
-
-
-
- -

-getPhones

-
-protected java.lang.String[] getPhones(java.util.Map lexicon,
-                                       java.lang.String wordAndPartOfSpeech)
-
-
Gets a phone list for a word from a given lexicon. If a phone - list cannot be found, returns null. -

-

-
-
-
-
Parameters:
lexicon - the lexicon
wordAndPartOfSpeech - word and part of speech concatenated - together -
Returns:
the list of phones for word or null
-
-
-
- -

-getPhones

-
-protected java.lang.String[] getPhones(java.lang.String phones)
-
-
Turns the phone String into a String[], - using " " as the delimiter. -

-

-
-
-
-
Parameters:
phones - the phones -
Returns:
the phones split into an array
-
-
-
- -

-addAddendum

-
-public void addAddendum(java.lang.String word,
-                        java.lang.String partOfSpeech,
-                        java.lang.String[] phones)
-
-
Adds a word to the addenda. -

-

-
Specified by:
addAddendum in interface Lexicon
-
-
-
Parameters:
word - the word to find
partOfSpeech - the part of speech
phones - the phones for the word
-
-
-
- -

-removeAddendum

-
-public void removeAddendum(java.lang.String word,
-                           java.lang.String partOfSpeech)
-
-
Removes a word from the addenda. -

-

-
Specified by:
removeAddendum in interface Lexicon
-
-
-
Parameters:
word - the word to remove
partOfSpeech - the part of speech
-
-
-
- -

-dumpBinary

-
-public void dumpBinary(java.lang.String path)
-
-
Dumps this lexicon (just the compiled form). Lexicon will be - dumped to two binary files PATH_compiled.bin and - PATH_addenda.bin -

-

-
-
-
-
Parameters:
path - the root path to dump it to
-
-
-
- -

-compare

-
-public boolean compare(LexiconImpl other)
-
-
Tests to see if this lexicon is identical to the other for - debugging purposes. -

-

-
-
-
-
Parameters:
other - the other lexicon to compare to -
Returns:
true if lexicons are identical
-
-
-
- -

-fixPartOfSpeech

-
-protected static java.lang.String fixPartOfSpeech(java.lang.String partOfSpeech)
-
-
Fixes the part of speech if it is null. The - default representation of a null part of speech - is the number "0". -

-

-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/lexicon/package-frame.html b/javadoc/com/sun/speech/freetts/lexicon/package-frame.html deleted file mode 100644 index 4bf8a2a..0000000 --- a/javadoc/com/sun/speech/freetts/lexicon/package-frame.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - -com.sun.speech.freetts.lexicon (FreeTTS 1.2) - - - - - - - - - - - -com.sun.speech.freetts.lexicon - - - - -
-Interfaces  - -
-LetterToSound -
-Lexicon
- - - - - - -
-Classes  - -
-LetterToSoundImpl -
-LexiconImpl
- - - - diff --git a/javadoc/com/sun/speech/freetts/lexicon/package-summary.html b/javadoc/com/sun/speech/freetts/lexicon/package-summary.html deleted file mode 100644 index a241081..0000000 --- a/javadoc/com/sun/speech/freetts/lexicon/package-summary.html +++ /dev/null @@ -1,191 +0,0 @@ - - - - - - -com.sun.speech.freetts.lexicon (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.sun.speech.freetts.lexicon -

-Provides the definition and implementation of the Lexicon and -LetterToSound interfaces -

-See: -
-          Description -

- - - - - - - - - - - - - -
-Interface Summary
LetterToSoundProvides the phone list for words using letter-to-sound rules.
LexiconProvides the phone list for words.
-  - -

- - - - - - - - - - - - - -
-Class Summary
LetterToSoundImplProvides the phone list for words using the CMU6 letter-to-sound - (LTS) rules, which are based on the Black, Lenzo, and Pagel paper, - "Issues in Building General Letter-to-Sound Rules."
LexiconImplProvides an implementation of a Lexicon. - -
-  - -

-

-Package com.sun.speech.freetts.lexicon Description -

- -

-Provides the definition and implementation of the Lexicon and -LetterToSound interfaces. - - -

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/lexicon/package-tree.html b/javadoc/com/sun/speech/freetts/lexicon/package-tree.html deleted file mode 100644 index 1242a6d..0000000 --- a/javadoc/com/sun/speech/freetts/lexicon/package-tree.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - -com.sun.speech.freetts.lexicon Class Hierarchy (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.sun.speech.freetts.lexicon -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

-
    -
  • class java.lang.Object -
-

-Interface Hierarchy -

-
    -
  • interface com.sun.speech.freetts.lexicon.LetterToSound
  • interface com.sun.speech.freetts.lexicon.Lexicon
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/package-frame.html b/javadoc/com/sun/speech/freetts/package-frame.html deleted file mode 100644 index 21a30b3..0000000 --- a/javadoc/com/sun/speech/freetts/package-frame.html +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - -com.sun.speech.freetts (FreeTTS 1.2) - - - - - - - - - - - -com.sun.speech.freetts - - - - -
-Interfaces  - -
-Dumpable -
-FeatureProcessor -
-FeatureSet -
-FreeTTSSpeakable -
-PartOfSpeech -
-PathExtractor -
-PhoneDurations -
-PhoneSet -
-Tokenizer -
-Unit -
-UtteranceProcessor -
-Validator
- - - - - - -
-Classes  - -
-Age -
-FeatureSetImpl -
-FreeTTS -
-FreeTTSSpeakableImpl -
-FreeTTSTime -
-Gender -
-InputMode -
-Item -
-ItemContents -
-OutputQueue -
-PartOfSpeechImpl -
-PathExtractorImpl -
-PhoneDuration -
-PhoneDurationsImpl -
-PhoneSetImpl -
-Relation -
-Segmenter -
-Token -
-Utterance -
-Voice -
-VoiceDirectory -
-VoiceManager
- - - - - - -
-Exceptions  - -
-ProcessException -
-ValidationException
- - - - diff --git a/javadoc/com/sun/speech/freetts/package-summary.html b/javadoc/com/sun/speech/freetts/package-summary.html deleted file mode 100644 index 30c7939..0000000 --- a/javadoc/com/sun/speech/freetts/package-summary.html +++ /dev/null @@ -1,345 +0,0 @@ - - - - - - -com.sun.speech.freetts (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.sun.speech.freetts -

-Top level package for FreeTTS. -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Interface Summary
DumpableTags an object that can be dumped for debugging purposes.
FeatureProcessorPerforms a specific type of processing on an item and returns an - object.
FeatureSetRepresents the abstract interface to an entity that has - a set of features.
FreeTTSSpeakableRepresents something that should be spoken.
PartOfSpeechDetermines the part of speech of a word.
PathExtractorManages a feature or item path.
PhoneDurationsMaintains a set of PhoneDuration instances indexed by - phone.
PhoneSetMaintains a list of phones with various features for those phones.
TokenizerChops a string or text file into Token instances.
UnitDefines a generic interface to a Unit.
UtteranceProcessorPerforms an operation on an Utterance. -
ValidatorImplementors of this interface can be validated via the validate() - method.
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
AgeProvides an enumeration of Age, following JSAPI style. -
FeatureSetImplImplementation of the FeatureSet interface.
FreeTTSStandalone utility that directly interacts with a CMUDiphoneVoice.
FreeTTSSpeakableImplMinimal implementation of a FreeTTSSpeakable
FreeTTSTimeStandalone utility that tells the time. - -
GenderProvides an enumeration of Gender, following the JSAPI style. -
InputModeSpecifies the input mode of FreeTTS.
ItemRepresents a node in a Relation.
ItemContentsContains the information that is shared between multiple items.
OutputQueueManages a process queue for utterances.
PartOfSpeechImplImplementation of a PartOfSpeech that reads the info - from a file.
PathExtractorImplInterface that Manages a feature or item path.
PhoneDurationMaintains the mean duration and standard deviation about a phone. -
PhoneDurationsImplMaintains set of PhoneDuration instances read in from a file.
PhoneSetImplImplementation of a PhoneSet that reads the info from - a file.
RelationRepresents an ordered set of Items and their associated - children.
SegmenterAnnotates an utterance with Relation.SYLLABLE, - Relation.SYLLABLE_STRUCTURE, and - Relation.SEGMENT. -
TokenContains a parsed token from a Tokenizer.
UtteranceHolds all the data for an utterance to be spoken. -
VoicePerforms text-to-speech using a series of - UtteranceProcessors.
VoiceDirectoryProvides a means to access the voices that are stored in a jar - file.
VoiceManagerProvides access to voices for all of FreeTTS.
-  - -

- - - - - - - - - - - - - -
-Exception Summary
ProcessExceptionThrown by an UtteranceProcessor if any errors - are encountered while processing an Utterance.
ValidationExceptionThrown by a Validator if any errors - are encountered while validating.
-  - -

-

-Package com.sun.speech.freetts Description -

- -

-Top level package for FreeTTS. Classes in this package should -be synthesizer and locale independent. - - -

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/package-tree.html b/javadoc/com/sun/speech/freetts/package-tree.html deleted file mode 100644 index daacfdc..0000000 --- a/javadoc/com/sun/speech/freetts/package-tree.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - -com.sun.speech.freetts Class Hierarchy (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.sun.speech.freetts -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/relp/AudioOutput.html b/javadoc/com/sun/speech/freetts/relp/AudioOutput.html deleted file mode 100644 index 7a5c54a..0000000 --- a/javadoc/com/sun/speech/freetts/relp/AudioOutput.html +++ /dev/null @@ -1,297 +0,0 @@ - - - - - - -AudioOutput (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.relp -
-Class AudioOutput

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.relp.AudioOutput
-
-
-
All Implemented Interfaces:
UtteranceProcessor
-
-
-
-
public class AudioOutput
extends java.lang.Object
implements UtteranceProcessor
- -

-Supports generating audio output from an utterance. This is an - utterance processor. The primary method, procesUtterance - takes an utterance and hands it off to the LPCResult to be sent to the - proper audio player. -

- -

-

-
See Also:
LPCResult
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
AudioOutput() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- voidprocessUtterance(Utterance utterance) - -
-          Generates audio waves for the given Utterance.
- java.lang.StringtoString() - -
-          Returns the string form of this object
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-AudioOutput

-
-public AudioOutput()
-
-
- - - - - - - - -
-Method Detail
- -

-processUtterance

-
-public void processUtterance(Utterance utterance)
-                      throws ProcessException
-
-
Generates audio waves for the given Utterance. The audio data - is decoded using the Linear Predictive Decoder -

-

-
Specified by:
processUtterance in interface UtteranceProcessor
-
-
-
Parameters:
utterance - the utterance to generate waves -
Throws: -
ProcessException - if an IOException is thrown during the - processing of the utterance
See Also:
LPCResult
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Returns the string form of this object -

-

-
-
-
- -
Returns:
the string form of this object
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/relp/LPCResult.html b/javadoc/com/sun/speech/freetts/relp/LPCResult.html deleted file mode 100644 index cbe6551..0000000 --- a/javadoc/com/sun/speech/freetts/relp/LPCResult.html +++ /dev/null @@ -1,972 +0,0 @@ - - - - - - -LPCResult (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.relp -
-Class LPCResult

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.relp.LPCResult
-
-
-
-
public class LPCResult
extends java.lang.Object
- -

-Contains the result of linear predictive coding processing. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
LPCResult() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidcopyResiduals(byte[] source, - int targetPosition, - int targetSize) - -
-          Copies the information in the given unit to the array of residuals, - starting at the given index, up until targetSize chars.
- voidcopyResidualsPulse(byte[] source, - int targetPosition, - int targetSize) - -
-          Copies the residual puse in the given unit to the array of residuals, - starting at the given index, up until targetSize chars.
- voiddump() - -
-          Dumps this LPCResult to standard out
- voiddump(java.io.Writer writer) - -
-          Dumps this LPCResult to the given stream.
- voiddumpASCII() - -
-          Dumps the wave data associated with this result
- voiddumpASCII(java.lang.String path) - -
-          Dumps the wave data associated with this result
- voiddumpASCII(java.io.Writer writer) - -
-          Dumps the wave out to the given stream
- short[]getFrame(int index) - -
-          Returns the frame at the given index.
- intgetFrameShift(int frameIndex) - -
-          Returns the time difference of the frame at the given position - with the frame prior to that.
- intgetFrameSize() - -
-          Returns the sizes of frames in this LPC.
- floatgetLPCMin() - -
-          Returns the LPC minimum.
- floatgetLPCRange() - -
-          Returns the LPC range.
- intgetNumberOfChannels() - -
-          Returns the number of channels in this LPCResult.
- intgetNumberOfFrames() - -
-          Returns the number of frames in this LPCResult.
- intgetNumberOfSamples() - -
-          Returns the number of samples in this LPC result
- byte[]getResiduals() - -
-          Returns the array of residuals.
- int[]getResidualSizes() - -
-          Returns the array of residuals sizes.
- intgetSampleRate() - -
-          Returns the sample rate.
- int[]getTimes() - -
-          Returns the array of times.
- byte[]getWaveSamples() - -
-           
- booleanplayWave(AudioPlayer player, - Utterance utterance) - -
-          Synthesize a Wave from this LPCResult
- voidresizeFrames(int numberOfFrames) - -
-          Resets the number of frames in this LPCResult.
- voidresizeResiduals(int numberOfSamples) - -
-          Resets the number of residuals, and initialize all of them to 255 - (which is 0 for mulaw).
- voidsetFrame(int index, - short[] newFrames) - -
-          Sets the frame at the given index.
- voidsetFrameSize(int frameSize) - -
-          Sets the sizes of frames in this LPC to the given size.
- voidsetLPCMin(float min) - -
-          Sets the LPC minimum.
- voidsetLPCRange(float range) - -
-          Sets the LPC range.
- voidsetNumberOfChannels(int numberOfChannels) - -
-          Sets the number of channels.
- voidsetNumberOfFrames(int numberFrames) - -
-          Sets the number of frames in this LPC Result.
- voidsetResidualSizes(int[] sizes) - -
-          Sets the array of residual sizes.
- voidsetSampleRate(int rate) - -
-          Sets the sample rate.
- voidsetTimes(int[] times) - -
-          Sets the array of times.
- voidsetValues(int numberOfChannels, - int sampleRate, - int residualFold, - float lpcMin, - float lpcRange) - -
-          A convenience method for setting the LPC values.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-LPCResult

-
-public LPCResult()
-
-
- - - - - - - - -
-Method Detail
- -

-resizeFrames

-
-public void resizeFrames(int numberOfFrames)
-
-
Resets the number of frames in this LPCResult. -

-

-
Parameters:
numberOfFrames - the number of frames in this LPC result
-
-
-
- -

-resizeResiduals

-
-public void resizeResiduals(int numberOfSamples)
-
-
Resets the number of residuals, and initialize all of them to 255 - (which is 0 for mulaw). -

-

-
Parameters:
numberOfSamples - the number of samples in this LPC result
-
-
-
- -

-setValues

-
-public void setValues(int numberOfChannels,
-                      int sampleRate,
-                      int residualFold,
-                      float lpcMin,
-                      float lpcRange)
-
-
A convenience method for setting the LPC values. -

-

-
Parameters:
numberOfChannels - the number of channels
sampleRate - the sample rate
lpcMin - the LPC minimum
lpcRange - the LPC range
-
-
-
- -

-getFrameShift

-
-public int getFrameShift(int frameIndex)
-
-
Returns the time difference of the frame at the given position - with the frame prior to that. If the frame at the given position is - the first frame (position 0), the time of that frame is returned. -

-

-
Parameters:
frameIndex - the position of the frame -
Returns:
the time difference of the frame at the given position - with the frame prior to that
-
-
-
- -

-getFrameSize

-
-public int getFrameSize()
-
-
Returns the sizes of frames in this LPC. -

-

- -
Returns:
the sizes of frames
-
-
-
- -

-getFrame

-
-public short[] getFrame(int index)
-
-
Returns the frame at the given index. -

-

-
Parameters:
index - the index of interest -
Returns:
the frame at the given index
-
-
-
- -

-getTimes

-
-public int[] getTimes()
-
-
Returns the array of times. -

-

- -
Returns:
the array of times
-
-
-
- -

-getNumberOfFrames

-
-public int getNumberOfFrames()
-
-
Returns the number of frames in this LPCResult. -

-

- -
Returns:
the number of frames
-
-
-
- -

-getNumberOfChannels

-
-public int getNumberOfChannels()
-
-
Returns the number of channels in this LPCResult. -

-

- -
Returns:
the number of channels
-
-
-
- -

-getLPCMin

-
-public float getLPCMin()
-
-
Returns the LPC minimum. -

-

- -
Returns:
the LPC minimum
-
-
-
- -

-getLPCRange

-
-public float getLPCRange()
-
-
Returns the LPC range. -

-

- -
Returns:
the LPC range
-
-
-
- -

-getNumberOfSamples

-
-public int getNumberOfSamples()
-
-
Returns the number of samples in this LPC result -

-

- -
Returns:
the number of samples
-
-
-
- -

-getSampleRate

-
-public int getSampleRate()
-
-
Returns the sample rate. -

-

- -
Returns:
the sample rate
-
-
-
- -

-getResidualSizes

-
-public int[] getResidualSizes()
-
-
Returns the array of residuals sizes. -

-

- -
Returns:
the array of residuals sizes
-
-
-
- -

-getResiduals

-
-public byte[] getResiduals()
-
-
Returns the array of residuals. -

-

- -
Returns:
the array of residuals
-
-
-
- -

-setFrameSize

-
-public void setFrameSize(int frameSize)
-
-
Sets the sizes of frames in this LPC to the given size. -

-

-
Parameters:
frameSize - the new frame size
-
-
-
- -

-setNumberOfFrames

-
-public void setNumberOfFrames(int numberFrames)
-
-
Sets the number of frames in this LPC Result. -

-

-
Parameters:
numberFrames - the number of frames in this result
-
-
-
- -

-setFrame

-
-public void setFrame(int index,
-                     short[] newFrames)
-
-
Sets the frame at the given index. -

-

-
Parameters:
index - the position of the frame to set
newFrames - new frame data
-
-
-
- -

-setTimes

-
-public void setTimes(int[] times)
-
-
Sets the array of times. -

-

-
Parameters:
times - the times data
-
-
-
- -

-setNumberOfChannels

-
-public void setNumberOfChannels(int numberOfChannels)
-
-
Sets the number of channels. -

-

-
Parameters:
numberOfChannels - the number of channels
-
-
-
- -

-setLPCMin

-
-public void setLPCMin(float min)
-
-
Sets the LPC minimum. -

-

-
Parameters:
min - the LPC minimum
-
-
-
- -

-setLPCRange

-
-public void setLPCRange(float range)
-
-
Sets the LPC range. -

-

-
Parameters:
range - the LPC range
-
-
-
- -

-setSampleRate

-
-public void setSampleRate(int rate)
-
-
Sets the sample rate. -

-

-
Parameters:
rate - the sample rate
-
-
-
- -

-setResidualSizes

-
-public void setResidualSizes(int[] sizes)
-
-
Sets the array of residual sizes. -

-

-
Parameters:
sizes - the new residual sizes
-
-
-
- -

-copyResiduals

-
-public void copyResiduals(byte[] source,
-                          int targetPosition,
-                          int targetSize)
-
-
Copies the information in the given unit to the array of residuals, - starting at the given index, up until targetSize chars. -

-

-
Parameters:
source - the unit that holds the information source
targetPosition - start position in the array of residuals
targetSize - the maximum number of characters to copy
-
-
-
- -

-copyResidualsPulse

-
-public void copyResidualsPulse(byte[] source,
-                               int targetPosition,
-                               int targetSize)
-
-
Copies the residual puse in the given unit to the array of residuals, - starting at the given index, up until targetSize chars. -

-

-
Parameters:
source - the unit that holds the information source
targetPosition - start position in the array of residuals
targetSize - the maximum number of characters to copy
-
-
-
- -

-playWave

-
-public boolean playWave(AudioPlayer player,
-                        Utterance utterance)
-
-
Synthesize a Wave from this LPCResult -

-

- -
Returns:
the wave
-
-
-
- -

-getWaveSamples

-
-public byte[] getWaveSamples()
-
-
-
-
-
-
- -

-dump

-
-public void dump()
-
-
Dumps this LPCResult to standard out -

-

-
-
-
-
- -

-dump

-
-public void dump(java.io.Writer writer)
-
-
Dumps this LPCResult to the given stream. -

-

-
Parameters:
writer - the output stream
-
-
-
- -

-dumpASCII

-
-public void dumpASCII()
-
-
Dumps the wave data associated with this result -

-

-
-
-
-
- -

-dumpASCII

-
-public void dumpASCII(java.lang.String path)
-               throws java.io.IOException
-
-
Dumps the wave data associated with this result -

-

-
Parameters:
path - the path where the wave data is appended to -
Throws: -
java.io.IOException - if an IO error occurs
-
-
-
- -

-dumpASCII

-
-public void dumpASCII(java.io.Writer writer)
-
-
Dumps the wave out to the given stream -

-

-
Parameters:
writer - the output stream
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/relp/Sample.html b/javadoc/com/sun/speech/freetts/relp/Sample.html deleted file mode 100644 index c6a9d26..0000000 --- a/javadoc/com/sun/speech/freetts/relp/Sample.html +++ /dev/null @@ -1,531 +0,0 @@ - - - - - - -Sample (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.relp -
-Class Sample

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.relp.Sample
-
-
-
-
public class Sample
extends java.lang.Object
- -

-A single short term sample containing Residual Excited Linear Predictive - (RELP) frame and residual voice data. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
Sample(java.io.BufferedReader reader, - int numChannels) - -
-          Reads a sample from the input reader.
Sample(short[] frameData, - byte[] residualData) - -
-          Constructs a RELP Sample from its component parts
Sample(short[] frameData, - byte[] residualData, - int residualSize) - -
-          Constructs a Sample from its component parts
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleancompare(Sample other) - -
-          Compares two samples.
- voiddump() - -
-          Dumps the sample:
- voiddumpBinary(java.nio.ByteBuffer bb) - -
-          Dumps the samples to the given ByteBuffer
- voiddumpBinary(java.io.DataOutputStream os) - -
-          Dumps the samples to the given stream
- short[]getFrameData() - -
-          Gets the frame data associated with this sample
- intgetFrameData(int which) - -
-          Returns the normalized frame data.
- byte[]getResidualData() - -
-          Gets the residual data associated with this sample
- intgetResidualData(int which) - -
-          Returns the normalized residual data.
- intgetResidualSize() - -
-          Returns the number of residuals in this Sample.
-static SampleloadBinary(java.nio.ByteBuffer bb) - -
-          Loads the samples from the byte bufer
-static SampleloadBinary(java.io.DataInputStream dis) - -
-          Loads the samples from the given channel
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-Sample

-
-public Sample(short[] frameData,
-              byte[] residualData)
-
-
Constructs a RELP Sample from its component parts -

-

Parameters:
frameData - the framedata
residualData - the residual data
-
- -

-Sample

-
-public Sample(short[] frameData,
-              byte[] residualData,
-              int residualSize)
-
-
Constructs a Sample from its component parts -

-

Parameters:
frameData - the framedata
residualData - the residual data
-
- -

-Sample

-
-public Sample(java.io.BufferedReader reader,
-              int numChannels)
-
-
Reads a sample from the input reader. -

-

Parameters:
reader - the input reader to read the data from
numChannels - the number of channels per frame
- - - - - - - - -
-Method Detail
- -

-getFrameData

-
-public short[] getFrameData()
-
-
Gets the frame data associated with this sample -

-

- -
Returns:
the frame data associated with this sample
-
-
-
- -

-getResidualData

-
-public byte[] getResidualData()
-
-
Gets the residual data associated with this sample -

-

- -
Returns:
the residual data associated with this sample
-
-
-
- -

-getResidualSize

-
-public int getResidualSize()
-
-
Returns the number of residuals in this Sample. -

-

- -
Returns:
the number of residuals in this sample
-
-
-
- -

-getResidualData

-
-public int getResidualData(int which)
-
-
Returns the normalized residual data. You may not want to - call this function because of the overhead involved. -

-

-
Parameters:
which - the index of the data of interest -
Returns:
the normalized data.
-
-
-
- -

-getFrameData

-
-public int getFrameData(int which)
-
-
Returns the normalized frame data. You may not want to - call this function because of the overhead involved. -

-

-
Parameters:
which - the index of the data of interest -
Returns:
the normalized data.
-
-
-
- -

-dump

-
-public void dump()
-
-
Dumps the sample: -

-

-
-
-
-
- -

-dumpBinary

-
-public void dumpBinary(java.nio.ByteBuffer bb)
-                throws java.io.IOException
-
-
Dumps the samples to the given ByteBuffer -

-

-
Parameters:
bb - the ByteBuffer to write the data to. -
Throws: -
java.io.IOException - if IO error occurs
-
-
-
- -

-dumpBinary

-
-public void dumpBinary(java.io.DataOutputStream os)
-                throws java.io.IOException
-
-
Dumps the samples to the given stream -

-

-
Parameters:
os - the DataOutputStream to write the data to. -
Throws: -
java.io.IOException - if IO error occurs
-
-
-
- -

-loadBinary

-
-public static Sample loadBinary(java.nio.ByteBuffer bb)
-                         throws java.io.IOException
-
-
Loads the samples from the byte bufer -

-

-
Parameters:
bb - the byte buffer to read the data from. -
Throws: -
java.io.IOException - if IO error occurs
-
-
-
- -

-loadBinary

-
-public static Sample loadBinary(java.io.DataInputStream dis)
-                         throws java.io.IOException
-
-
Loads the samples from the given channel -

-

-
Parameters:
dis - the DataInputStream to read the data from. -
Throws: -
java.io.IOException - if IO error occurs
-
-
-
- -

-compare

-
-public boolean compare(Sample other)
-
-
Compares two samples. Note that this is not the same as - "equals" -

-

-
Parameters:
other - the other sample to compare this one to -
Returns:
true if they compare; otherwise - false
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/relp/SampleInfo.html b/javadoc/com/sun/speech/freetts/relp/SampleInfo.html deleted file mode 100644 index a26179c..0000000 --- a/javadoc/com/sun/speech/freetts/relp/SampleInfo.html +++ /dev/null @@ -1,476 +0,0 @@ - - - - - - -SampleInfo (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.relp -
-Class SampleInfo

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.relp.SampleInfo
-
-
-
-
public class SampleInfo
extends java.lang.Object
- -

-Describes global sample parameters. A sample info is generally added - to an utterance to describe the type of unit data that has been - generated. -

- -

-


- -

- - - - - - - - - - - - - - -
-Field Summary
-static java.lang.StringUTT_NAME - -
-           
-  - - - - - - - - - - - - - - - - -
-Constructor Summary
SampleInfo(java.nio.ByteBuffer bb) - -
-          Constructs a sample info from the given byte buffer.
SampleInfo(java.io.DataInputStream is) - -
-          Constructs a sample info from the given input stream
SampleInfo(int sampleRate, - int numberOfChannels, - int residualFold, - float coeffMin, - float coeffRange, - float postEmphasis) - -
-          Creates a new sample info.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voiddumpBinary(java.io.DataOutputStream os) - -
-          Dump a binary form of the sample rate - to the given output stream
- floatgetCoeffMin() - -
-          Returns the minimum for linear predictive coding.
- floatgetCoeffRange() - -
-          Returns the range for linear predictive coding.
- intgetNumberOfChannels() - -
-          Returns the number of channels.
- floatgetPostEmphasis() - -
-          Returns the post emphasis
- intgetResidualFold() - -
-          Returns the residual fold.
- intgetSampleRate() - -
-          Returns the sample rate.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-UTT_NAME

-
-public static final java.lang.String UTT_NAME
-
-
-
See Also:
Constant Field Values
-
- - - - - - - - -
-Constructor Detail
- -

-SampleInfo

-
-public SampleInfo(int sampleRate,
-                  int numberOfChannels,
-                  int residualFold,
-                  float coeffMin,
-                  float coeffRange,
-                  float postEmphasis)
-
-
Creates a new sample info. -

-

Parameters:
sampleRate - the sample rate
numberOfChannels - the number of channels
residualFold - the residual fold
coeffMin - the minimum coefficient
coeffRange - the range of coefficients
-
- -

-SampleInfo

-
-public SampleInfo(java.nio.ByteBuffer bb)
-           throws java.io.IOException
-
-
Constructs a sample info from the given byte buffer. -

-

Parameters:
bb - the byte buffer -
Throws: -
java.io.IOException - if an input error occurs
-
- -

-SampleInfo

-
-public SampleInfo(java.io.DataInputStream is)
-           throws java.io.IOException
-
-
Constructs a sample info from the given input stream -

-

Parameters:
is - the input stream -
Throws: -
java.io.IOException - if an input error occurs
- - - - - - - - -
-Method Detail
- -

-getSampleRate

-
-public final int getSampleRate()
-
-
Returns the sample rate. -

-

- -
Returns:
the sample rate
-
-
-
- -

-getNumberOfChannels

-
-public final int getNumberOfChannels()
-
-
Returns the number of channels. -

-

- -
Returns:
the number of channels.
-
-
-
- -

-getResidualFold

-
-public final int getResidualFold()
-
-
Returns the residual fold. -

-

- -
Returns:
the residual fold
-
-
-
- -

-getCoeffMin

-
-public final float getCoeffMin()
-
-
Returns the minimum for linear predictive coding. -

-

- -
Returns:
the minimum for linear predictive coding.
-
-
-
- -

-getCoeffRange

-
-public final float getCoeffRange()
-
-
Returns the range for linear predictive coding. -

-

- -
Returns:
the range for linear predictive coding.
-
-
-
- -

-getPostEmphasis

-
-public final float getPostEmphasis()
-
-
Returns the post emphasis -

-

- -
Returns:
the post emphasis
-
-
-
- -

-dumpBinary

-
-public void dumpBinary(java.io.DataOutputStream os)
-                throws java.io.IOException
-
-
Dump a binary form of the sample rate - to the given output stream -

-

-
Parameters:
os - the output stream -
Throws: -
java.io.IOException - if an error occurs
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/relp/SampleSet.html b/javadoc/com/sun/speech/freetts/relp/SampleSet.html deleted file mode 100644 index 845ede0..0000000 --- a/javadoc/com/sun/speech/freetts/relp/SampleSet.html +++ /dev/null @@ -1,395 +0,0 @@ - - - - - - -SampleSet (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.relp -
-Class SampleSet

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.relp.SampleSet
-
-
-
-
public class SampleSet
extends java.lang.Object
- -

-Represents the frame and residual data - used by the diphone database - used Residual Excited Linear Predictive synthesizer -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
SampleSet(java.nio.ByteBuffer bb) - -
-          Creates a SampleSet by reading it from the given byte buffer
SampleSet(java.io.DataInputStream is) - -
-          Creates a SampleSet by reading it from the given input stream
SampleSet(java.util.StringTokenizer tok, - java.io.BufferedReader reader) - -
-          Reads a SampleSet from the input reader.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voiddumpBinary(java.io.DataOutputStream os) - -
-          Dumps this sample set to the given stream
- intgetFrameSize(int frame) - -
-          Gets the size of the given frame
- SamplegetSample(int index) - -
-          return the sample associated with the index
- SampleInfogetSampleInfo() - -
-          Retrieves the info on this SampleSet
- intgetUnitSize(int start, - int end) - -
-          Returns the size of the unit represented - by the given start and end points
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-SampleSet

-
-public SampleSet(java.util.StringTokenizer tok,
-                 java.io.BufferedReader reader)
-
-
Reads a SampleSet from the input reader. -

-

Parameters:
tok - tokenizer that holds parameters for this SampleSet
reader - the input reader to read the data from
-
- -

-SampleSet

-
-public SampleSet(java.nio.ByteBuffer bb)
-          throws java.io.IOException
-
-
Creates a SampleSet by reading it from the given byte buffer -

-

Parameters:
bb - source of the Unit data -
Throws: -
java.io.IOException - if an IO error occurs
-
- -

-SampleSet

-
-public SampleSet(java.io.DataInputStream is)
-          throws java.io.IOException
-
-
Creates a SampleSet by reading it from the given input stream -

-

Parameters:
is - source of the Unit data -
Throws: -
java.io.IOException - if an IO error occurs
- - - - - - - - -
-Method Detail
- -

-dumpBinary

-
-public void dumpBinary(java.io.DataOutputStream os)
-                throws java.io.IOException
-
-
Dumps this sample set to the given stream -

-

-
Parameters:
os - the output stream -
Throws: -
java.io.IOException - if an error occurs.
-
-
-
- -

-getSample

-
-public Sample getSample(int index)
-
-
return the sample associated with the index -

-

-
Parameters:
index - the index of the sample -
Returns:
the sample.
-
-
-
- -

-getSampleInfo

-
-public SampleInfo getSampleInfo()
-
-
Retrieves the info on this SampleSet -

-

- -
Returns:
the sample info
-
-
-
- -

-getUnitSize

-
-public int getUnitSize(int start,
-                       int end)
-
-
Returns the size of the unit represented - by the given start and end points -

-

-
Parameters:
start - the start of the unit
end - the end of the unit -
Returns:
the size of the unit
-
-
-
- -

-getFrameSize

-
-public int getFrameSize(int frame)
-
-
Gets the size of the given frame -

-

-
Parameters:
frame - the frame of interest -
Returns:
the size of the frame
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/relp/UnitConcatenator.html b/javadoc/com/sun/speech/freetts/relp/UnitConcatenator.html deleted file mode 100644 index af44652..0000000 --- a/javadoc/com/sun/speech/freetts/relp/UnitConcatenator.html +++ /dev/null @@ -1,329 +0,0 @@ - - - - - - -UnitConcatenator (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.relp -
-Class UnitConcatenator

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.relp.UnitConcatenator
-
-
-
All Implemented Interfaces:
UtteranceProcessor
-
-
-
-
public class UnitConcatenator
extends java.lang.Object
implements UtteranceProcessor
- -

-Concatenates the Units in the given Utterance to the target_lpc - result. This class is an UtteranceProcessor. It defines a method - processUtterance that helps populate the - target_lpcres relation. -

- -

-

-
See Also:
LPCResult
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-static java.lang.StringPROP_OUTPUT_LPC - -
-           
-  - - - - - - - - - - -
-Constructor Summary
UnitConcatenator() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- voidprocessUtterance(Utterance utterance) - -
-          Concatenate the Units in the given Utterance to the target_lpc - result.
- java.lang.StringtoString() - -
-          Converts this object to a string
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-PROP_OUTPUT_LPC

-
-public static final java.lang.String PROP_OUTPUT_LPC
-
-
-
See Also:
Constant Field Values
-
- - - - - - - - -
-Constructor Detail
- -

-UnitConcatenator

-
-public UnitConcatenator()
-
-
- - - - - - - - -
-Method Detail
- -

-processUtterance

-
-public void processUtterance(Utterance utterance)
-                      throws ProcessException
-
-
Concatenate the Units in the given Utterance to the target_lpc - result. -

-

-
Specified by:
processUtterance in interface UtteranceProcessor
-
-
-
Parameters:
utterance - the Utterance to do concatenation -
Throws: -
ProcessException - if an error occurs while processing - the utterance
See Also:
LPCResult
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Converts this object to a string -

-

-
-
-
- -
Returns:
the string form of this object.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/relp/package-frame.html b/javadoc/com/sun/speech/freetts/relp/package-frame.html deleted file mode 100644 index c5fe3eb..0000000 --- a/javadoc/com/sun/speech/freetts/relp/package-frame.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - -com.sun.speech.freetts.relp (FreeTTS 1.2) - - - - - - - - - - - -com.sun.speech.freetts.relp - - - - -
-Classes  - -
-AudioOutput -
-LPCResult -
-Sample -
-SampleInfo -
-SampleSet -
-UnitConcatenator
- - - - diff --git a/javadoc/com/sun/speech/freetts/relp/package-summary.html b/javadoc/com/sun/speech/freetts/relp/package-summary.html deleted file mode 100644 index 3177324..0000000 --- a/javadoc/com/sun/speech/freetts/relp/package-summary.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - - -com.sun.speech.freetts.relp (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.sun.speech.freetts.relp -

-Support for Residual Excited Linear Predictive (RELP) decoding of audio -samples -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
AudioOutputSupports generating audio output from an utterance.
LPCResultContains the result of linear predictive coding processing.
SampleA single short term sample containing Residual Excited Linear Predictive - (RELP) frame and residual voice data.
SampleInfoDescribes global sample parameters.
SampleSetRepresents the frame and residual data - used by the diphone database - used Residual Excited Linear Predictive synthesizer
UnitConcatenatorConcatenates the Units in the given Utterance to the target_lpc - result.
-  - -

-

-Package com.sun.speech.freetts.relp Description -

- -

-Support for Residual Excited Linear Predictive (RELP) decoding of audio -samples. - - -

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/relp/package-tree.html b/javadoc/com/sun/speech/freetts/relp/package-tree.html deleted file mode 100644 index bb5f6c9..0000000 --- a/javadoc/com/sun/speech/freetts/relp/package-tree.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - -com.sun.speech.freetts.relp Class Hierarchy (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.sun.speech.freetts.relp -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/util/BulkTimer.html b/javadoc/com/sun/speech/freetts/util/BulkTimer.html deleted file mode 100644 index 027b7e0..0000000 --- a/javadoc/com/sun/speech/freetts/util/BulkTimer.html +++ /dev/null @@ -1,451 +0,0 @@ - - - - - - -BulkTimer (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.util -
-Class BulkTimer

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.util.BulkTimer
-
-
-
-
public class BulkTimer
extends java.lang.Object
- -

-Provides a suite of timers that are used to collect and generate - performance metrics for FreeTTS. -

- -

-


- -

- - - - - - - - - - - - - - -
-Field Summary
-static BulkTimerLOAD - -
-          A BulkTimer that can be used by classes that need to - time their loading phase.
-  - - - - - - - - - - -
-Constructor Summary
BulkTimer() - -
-          Creates a bulk timer.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- TimergetTimer(java.lang.String name) - -
-          Gets the timer with the given name.
- booleanisVerbose() - -
-          Checks to see if we are in verbose mode.
- voidsetVerbose(boolean verbose) - -
-          Sets verbose mode.
- voidshow(java.lang.String title) - -
-          Shows all of the collected times.
- voidstart() - -
-          Starts the bulk timer.
- voidstart(java.lang.String name) - -
-          Starts the timer with the given name.
- voidstop() - -
-          Stops the bulk timer.
- voidstop(java.lang.String name) - -
-          Stops the timer with the given name.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-LOAD

-
-public static final BulkTimer LOAD
-
-
A BulkTimer that can be used by classes that need to - time their loading phase. -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-BulkTimer

-
-public BulkTimer()
-
-
Creates a bulk timer. -

-

- - - - - - - - -
-Method Detail
- -

-start

-
-public void start(java.lang.String name)
-
-
Starts the timer with the given name. A BulkTimer can manage - any number of timers. The timers are referenced by name. A - timer is created the first time it is referenced. -

-

-
Parameters:
name - the name of the timer to start
-
-
-
- -

-stop

-
-public void stop(java.lang.String name)
-
-
Stops the timer with the given name. -

-

-
Parameters:
name - the name of the timer
-
-
-
- -

-start

-
-public void start()
-
-
Starts the bulk timer. The BulkTimer maintains a timer for - itself (called SELF). This is used to measure the overall time - for a bulk timer. When timing data is displayed, the percentage - of total time is displayed. The total time is the time between - start and end calls on the - BulkTimer . -

-

-
-
-
-
- -

-stop

-
-public void stop()
-
-
Stops the bulk timer. -

-

-
-
-
-
- -

-setVerbose

-
-public void setVerbose(boolean verbose)
-
-
Sets verbose mode. -

-

-
Parameters:
verbose - the verbose mode
-
-
-
- -

-isVerbose

-
-public boolean isVerbose()
-
-
Checks to see if we are in verbose mode. -

-

- -
Returns:
true if verbose mode; otherwise - false.
-
-
-
- -

-getTimer

-
-public Timer getTimer(java.lang.String name)
-
-
Gets the timer with the given name. -

-

-
Parameters:
name - the timer name -
Returns:
the timer with that name
-
-
-
- -

-show

-
-public void show(java.lang.String title)
-
-
Shows all of the collected times. -

-

-
Parameters:
title - the title for the display
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/util/SegmentRelationUtils.html b/javadoc/com/sun/speech/freetts/util/SegmentRelationUtils.html deleted file mode 100644 index 1141ab8..0000000 --- a/javadoc/com/sun/speech/freetts/util/SegmentRelationUtils.html +++ /dev/null @@ -1,338 +0,0 @@ - - - - - - -SegmentRelationUtils (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.util -
-Class SegmentRelationUtils

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.util.SegmentRelationUtils
-
-
-
-
public class SegmentRelationUtils
extends java.lang.Object
- -

-Provides a set of utilities for the SegmentRelation. A - SegmentRelation is a Relation, but has - features specific to Segments. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
SegmentRelationUtils() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static ItemfindFromEnd(Relation segmentRelation, - float time) - -
-          Starting from the end of the given Segment Relation, go backwards - to find the Item that corresponds to the given time.
-static ItemfindFromFront(Relation segmentRelation, - float time) - -
-          Starting from the front of the given Segment Relation, finds the Item - that corresponds to the given time.
-static ItemgetItem(Relation segmentRelation, - float time) - -
-          Returns the Item in the Segment Relation that corresponds to the given - time.
-static floatgetSegmentEnd(Item segment) - -
-          Returns the value of the feature end of - the given Segment Item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-SegmentRelationUtils

-
-public SegmentRelationUtils()
-
-
- - - - - - - - -
-Method Detail
- -

-getItem

-
-public static Item getItem(Relation segmentRelation,
-                           float time)
-
-
Returns the Item in the Segment Relation that corresponds to the given - time. -

-

-
Parameters:
segmentRelation - the segmentRelation of interest
time - the time
-
-
-
- -

-getSegmentEnd

-
-public static float getSegmentEnd(Item segment)
-
-
Returns the value of the feature end of - the given Segment Item. -

-

-
Parameters:
segment - the Segment Item -
Returns:
the end feature of the Segment
-
-
-
- -

-findFromFront

-
-public static Item findFromFront(Relation segmentRelation,
-                                 float time)
-
-
Starting from the front of the given Segment Relation, finds the Item - that corresponds to the given time. -

-

-
Parameters:
segmentRelation - the Segment Relation to search
time - the time of the Segment Item -
Returns:
the Segment Item
-
-
-
- -

-findFromEnd

-
-public static Item findFromEnd(Relation segmentRelation,
-                               float time)
-
-
Starting from the end of the given Segment Relation, go backwards - to find the Item that corresponds to the given time. -

-

-
Parameters:
segmentRelation - the Segment Relation to search
time - the time of the Segment Item -
Returns:
the Segment Item
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/util/Timer.html b/javadoc/com/sun/speech/freetts/util/Timer.html deleted file mode 100644 index 0c118e5..0000000 --- a/javadoc/com/sun/speech/freetts/util/Timer.html +++ /dev/null @@ -1,479 +0,0 @@ - - - - - - -Timer (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.util -
-Class Timer

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.util.Timer
-
-
-
-
public class Timer
extends java.lang.Object
- -

-Keeps track of execution times. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
Timer(java.lang.String name) - -
-          Creates a timer.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- longgetCurrentTime() - -
-          Returns the current time.
-static voidmain(java.lang.String[] args) - -
-          The main program for performing simple tests.
- voidreset() - -
-          Resets the timer as if it has never run before.
- voidshowTimes() - -
-          Shows timing stats.
- voidshowTimes(long overall) - -
-          Shows timing stats.
- voidshowTimesLong(long overall) - -
-          Shows detailed timing stats.
- voidshowTimesShort(long overall) - -
-          Shows brief timing stats.
-static voidshowTimesShortTitle(java.lang.String title) - -
-          Shows the timing stats title.
- voidstart() - -
-          Starts the timer running.
- voidstop() - -
-          Stops the timer.
- voidstop(boolean verbose) - -
-          Stops the timer.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-Timer

-
-public Timer(java.lang.String name)
-
-
Creates a timer. -

-

Parameters:
name - the name of the timer
- - - - - - - - -
-Method Detail
- -

-reset

-
-public void reset()
-
-
Resets the timer as if it has never run before. -

-

-
-
-
-
- -

-start

-
-public void start()
-
-
Starts the timer running. -

-

-
-
-
-
- -

-getCurrentTime

-
-public long getCurrentTime()
-
-
Returns the current time. -

-

- -
Returns:
the current time
-
-
-
- -

-stop

-
-public void stop(boolean verbose)
-
-
Stops the timer. -

-

-
Parameters:
verbose - if true, print out details from - this run; otherwise, don't print the details
-
-
-
- -

-stop

-
-public void stop()
-
-
Stops the timer. -

-

-
-
-
-
- -

-showTimesLong

-
-public void showTimesLong(long overall)
-
-
Shows detailed timing stats. If overall is non-zero, it represents - the overall processing time and a percentage of overall - time for this timer should be calculated and displayed. -

-

-
Parameters:
overall - the overall processing time in milliseconds or 0.
-
-
-
- -

-showTimesShortTitle

-
-public static void showTimesShortTitle(java.lang.String title)
-
-
Shows the timing stats title. -

-

-
Parameters:
title - shows the title and column headings for the time - display
-
-
-
- -

-showTimesShort

-
-public void showTimesShort(long overall)
-
-
Shows brief timing stats. If overall is non-zero, it represents - the overall processing time and a percentage of overall - time for this timer should be calculated and displayed. -

-

-
Parameters:
overall - the overall processing time in milliseconds or 0.
-
-
-
- -

-showTimes

-
-public void showTimes(long overall)
-
-
Shows timing stats. If overall is non-zero, it represents - the overall processing time and a percentage of overall - time for this timer should be calculated and displayed. -

-

-
Parameters:
overall - the overall processing time in milliseconds or 0.
-
-
-
- -

-showTimes

-
-public void showTimes()
-
-
Shows timing stats. No overall percentage is shown with this - method. -

-

-
-
-
-
- -

-main

-
-public static void main(java.lang.String[] args)
-
-
The main program for performing simple tests. Creates a timer - uses it and shows its output. -

-

-
Parameters:
args - program arguments (not used)
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/util/Utilities.html b/javadoc/com/sun/speech/freetts/util/Utilities.html deleted file mode 100644 index ce7e3e6..0000000 --- a/javadoc/com/sun/speech/freetts/util/Utilities.html +++ /dev/null @@ -1,517 +0,0 @@ - - - - - - -Utilities (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.util -
-Class Utilities

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.util.Utilities
-
-
-
-
public class Utilities
extends java.lang.Object
- -

-Provides a set of generic utilities used by freetts. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static java.lang.StringdeleteChar(java.lang.String fromString, - char charToDelete) - -
-          Removes all instances of the specified character from the given String.
-static voiddump(java.io.PrintWriter pw, - int padding, - java.lang.String string) - -
-          Dumps padded text.
-static booleangetBoolean(java.lang.String name) - -
-          Gets a boolean property by name.
-static java.io.InputStreamgetInputStream(java.net.URL url) - -
-          Returns an input stream for the given URL.
-static java.lang.IntegergetInteger(java.lang.String name, - int defaultValue) - -
-          Gets an Integer property by name.
-static java.lang.LonggetLong(java.lang.String name, - long defaultValue) - -
-          Gets a long property by name.
-static java.lang.StringgetProperty(java.lang.String name, - java.lang.String defaultValue) - -
-          Gets a property by name and returns its value.
-static java.lang.StringgetString(java.nio.ByteBuffer bb) - -
-          Inputs a string from a ByteBuffer.
-static java.lang.StringgetString(java.io.DataInputStream dis) - -
-          Inputs a string from a DataInputStream.
-static voidoutString(java.io.DataOutputStream dos, - java.lang.String s) - -
-          Outputs a string to the given stream.
-static java.lang.Stringpad(int padding) - -
-          Returns a string with the given number of - spaces.
-static java.lang.Stringpad(java.lang.String string, - int minLength) - -
-          Pads with spaces or truncates the given string to guarantee that it is - exactly the desired length.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-pad

-
-public static java.lang.String pad(int padding)
-
-
Returns a string with the given number of - spaces. -

-

-
Parameters:
padding - the number of spaces in the string -
Returns:
a string of length 'padding' containg only the SPACE - char.
-
-
-
- -

-pad

-
-public static java.lang.String pad(java.lang.String string,
-                                   int minLength)
-
-
Pads with spaces or truncates the given string to guarantee that it is - exactly the desired length. -

-

-
Parameters:
string - the string to be padded
minLength - the desired length of the string -
Returns:
a string of length conntaining string - padded with whitespace or truncated
-
-
-
- -

-deleteChar

-
-public static java.lang.String deleteChar(java.lang.String fromString,
-                                          char charToDelete)
-
-
Removes all instances of the specified character from the given String. -

-

-
Parameters:
fromString - the String to delete characters from
charToDelete - the character to delete from the given String -
Returns:
a String with all instances of the specified char deleted
-
-
-
- -

-dump

-
-public static void dump(java.io.PrintWriter pw,
-                        int padding,
-                        java.lang.String string)
-
-
Dumps padded text. This is a simple tool for helping dump text - with padding to a Writer. -

-

-
Parameters:
pw - the stream to send the output
padding - the number of spaces in the string
string - the string to output
-
-
-
- -

-getInputStream

-
-public static java.io.InputStream getInputStream(java.net.URL url)
-                                          throws java.io.IOException
-
-
Returns an input stream for the given URL. If the URL - is pointing to a local file, returns a file input stream - suitable for MemoryMapped IO, otherwise, returns a buffered - input stream. -

-

-
Parameters:
url - the url to open as a stream -
Returns:
the stream associated with the URL -
Throws: -
java.io.IOException - if there is trouble creating the stream
-
-
-
- -

-outString

-
-public static void outString(java.io.DataOutputStream dos,
-                             java.lang.String s)
-                      throws java.io.IOException
-
-
Outputs a string to the given stream. -

-

-
Parameters:
dos - the stream
s - the string to output -
Throws: -
java.io.IOException - if an I/O error occurs
-
-
-
- -

-getString

-
-public static java.lang.String getString(java.io.DataInputStream dis)
-                                  throws java.io.IOException
-
-
Inputs a string from a DataInputStream. -

-

-
Parameters:
dis - the stream -
Returns:
the string -
Throws: -
java.io.IOException - if an I/O error occurs
-
-
-
- -

-getString

-
-public static java.lang.String getString(java.nio.ByteBuffer bb)
-                                  throws java.io.IOException
-
-
Inputs a string from a ByteBuffer. -

-

-
Parameters:
bb - the input byte buffer -
Returns:
the string -
Throws: -
java.io.IOException - if an I/O error occurs
-
-
-
- -

-getProperty

-
-public static java.lang.String getProperty(java.lang.String name,
-                                           java.lang.String defaultValue)
-
-
Gets a property by name and returns its value. If the property - cannot be found, the default is returned -

-

-
Parameters:
name - the name of the property
defaultValue - the default value to use if the property - cannot be found. -
Returns:
the string value for the property, or the defaultValue if - the property cannot be found
-
-
-
- -

-getBoolean

-
-public static boolean getBoolean(java.lang.String name)
-
-
Gets a boolean property by name. -

-

-
Parameters:
name - the name of the property -
Returns:
If there is no property with the specified name, or - if the specified name is empty or null, then false is returned. - otherwise the boolean value of the property is returned
-
-
-
- -

-getLong

-
-public static java.lang.Long getLong(java.lang.String name,
-                                     long defaultValue)
-
-
Gets a long property by name. -

-

-
Parameters:
name - the name of the property
defaultValue - the default value to use if the property - cannot be found. -
Returns:
the long value for the property, or the defaultValue if - the property cannot be found
-
-
-
- -

-getInteger

-
-public static java.lang.Integer getInteger(java.lang.String name,
-                                           int defaultValue)
-
-
Gets an Integer property by name. -

-

-
Parameters:
name - the name of the property
defaultValue - the default value to use if the property - cannot be found. -
Returns:
the Integer value for the property, or the defaultValue if - the property cannot be found
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/util/WaveUtils.html b/javadoc/com/sun/speech/freetts/util/WaveUtils.html deleted file mode 100644 index 82950c5..0000000 --- a/javadoc/com/sun/speech/freetts/util/WaveUtils.html +++ /dev/null @@ -1,336 +0,0 @@ - - - - - - -WaveUtils (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.sun.speech.freetts.util -
-Class WaveUtils

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.util.WaveUtils
-
-
-
-
public class WaveUtils
extends java.lang.Object
- -

-Provides a set of utilities for prrocessing wave/audio data. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
WaveUtils() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static shortbytesToShort(byte hiByte, - byte loByte) - -
-          Reconstructs a short from its hi and low bytes.
-static voidmain(java.lang.String[] args) - -
-          Provides test program for method ulawToShort().
-static byteshortToUlaw(short sampleData) - -
-          Converts a raw short to ulaw.
-static shortulawToShort(short uByte) - -
-          Converts from ulaw to 16 bit linear. -
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-WaveUtils

-
-public WaveUtils()
-
-
- - - - - - - - -
-Method Detail
- -

-shortToUlaw

-
-public static final byte shortToUlaw(short sampleData)
-
-
Converts a raw short to ulaw. -

-

-
Parameters:
sampleData - signed 16-bit linear sample -
Returns:
8-bit ulaw sample, normalized
-
-
-
- -

-ulawToShort

-
-public static final short ulawToShort(short uByte)
-
-
Converts from ulaw to 16 bit linear. -

- Craig Reese: IDA/Supercomputing Research Center -
- 29 September 1989 -

- References: -
- 1) CCITT Recommendation G.711 (very difficult to follow) -
- 2) MIL-STD-188-113,"Interoperability and Performance Standards - for Analog-to_Digital Conversion Techniques," 17 February 1987 -

-

-
Parameters:
uByte - 8 bit ulaw sample -
Returns:
signed 16 bit linear sample
-
-
-
- -

-bytesToShort

-
-public static final short bytesToShort(byte hiByte,
-                                       byte loByte)
-
-
Reconstructs a short from its hi and low bytes. -

-

-
Parameters:
hiByte - the high byte
loByte - the low byte -
Returns:
the short value
-
-
-
- -

-main

-
-public static void main(java.lang.String[] args)
-
-
Provides test program for method ulawToShort(). -

-

-
Parameters:
args - not used
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/util/package-frame.html b/javadoc/com/sun/speech/freetts/util/package-frame.html deleted file mode 100644 index fedc6db..0000000 --- a/javadoc/com/sun/speech/freetts/util/package-frame.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - -com.sun.speech.freetts.util (FreeTTS 1.2) - - - - - - - - - - - -com.sun.speech.freetts.util - - - - -
-Classes  - -
-BulkTimer -
-SegmentRelationUtils -
-Timer -
-Utilities -
-WaveUtils
- - - - diff --git a/javadoc/com/sun/speech/freetts/util/package-summary.html b/javadoc/com/sun/speech/freetts/util/package-summary.html deleted file mode 100644 index c3028e0..0000000 --- a/javadoc/com/sun/speech/freetts/util/package-summary.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - -com.sun.speech.freetts.util (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.sun.speech.freetts.util -

-Provides a set of tools and utililties used by FreeTTS -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
BulkTimerProvides a suite of timers that are used to collect and generate - performance metrics for FreeTTS.
SegmentRelationUtilsProvides a set of utilities for the SegmentRelation.
TimerKeeps track of execution times.
UtilitiesProvides a set of generic utilities used by freetts.
WaveUtilsProvides a set of utilities for prrocessing wave/audio data.
-  - -

-

-Package com.sun.speech.freetts.util Description -

- -

-Provides a set of tools and utililties used by FreeTTS. - - -

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/com/sun/speech/freetts/util/package-tree.html b/javadoc/com/sun/speech/freetts/util/package-tree.html deleted file mode 100644 index 6f6dc0b..0000000 --- a/javadoc/com/sun/speech/freetts/util/package-tree.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - -com.sun.speech.freetts.util Class Hierarchy (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.sun.speech.freetts.util -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/constant-values.html b/javadoc/constant-values.html deleted file mode 100644 index 56bbf09..0000000 --- a/javadoc/constant-values.html +++ /dev/null @@ -1,884 +0,0 @@ - - - - - - -Constant Field Values (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Constant Field Values

-
-
-Contents - - - - - - -
-com.sun.*
- -

- - - - - - - - - - - - -
com.sun.speech.engine.BaseEngine
-protected static final longCLEAR_ALL_STATE-1l
- -

- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler
-protected static final intCANCEL2
-protected static final intCANCEL_ALL3
-protected static final intCANCEL_COMPLETE4
-protected static final intPAUSE0
-protected static final intRESUME1
- -

- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem
-public static final java.lang.StringBREAK"break"
-public static final java.lang.StringCOMMAND_PREFIX"/"
-public static final java.lang.StringCOMMAND_SUFFIX"/"
-public static final java.lang.StringDATA_PREFIX"["
-public static final java.lang.StringDATA_SUFFIX"]"
-public static final java.lang.StringDIV"div"
-public static final java.lang.StringELEMENT_END"end"
-public static final java.lang.StringELEMENT_START"start"
-public static final java.lang.StringEMPHASIS"emphasis"
-public static final java.lang.StringENGINE"engine"
-public static final java.lang.StringJSML"jsml"
-public static final java.lang.StringMARKER"marker"
-public static final java.lang.StringPHONEME"phoneme"
-public static final java.lang.StringPROSODY"prosody"
-public static final java.lang.StringSAYAS"sayas"
-public static final java.lang.StringVOICE"voice"
- -

- -

- - - - - - - - - - - - -
com.sun.speech.freetts.FreeTTS
-public static final java.lang.StringVERSION"FreeTTS 1.2.2"
- -

- -

- - - - - - - - - - - - - - - - - -
com.sun.speech.freetts.PathExtractorImpl
-public static final java.lang.StringINTERPRET_PATHS_PROPERTY"com.sun.speech.freetts.interpretCartPaths"
-public static final java.lang.StringLAZY_COMPILE_PROPERTY"com.sun.speech.freetts.lazyCartCompile"
- -

- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
com.sun.speech.freetts.PhoneSet
-public static final java.lang.StringCPLACE"cplace"
-public static final java.lang.StringCTYPE"ctype"
-public static final java.lang.StringCVOX"cvox"
-public static final java.lang.StringVC"vc"
-public static final java.lang.StringVFRONT"vfront"
-public static final java.lang.StringVHEIGHT"vheight"
-public static final java.lang.StringVLNG"vlng"
-public static final java.lang.StringVRND"vrnd"
- -

- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
com.sun.speech.freetts.Relation
-public static final java.lang.StringPHRASE"Phrase"
-public static final java.lang.StringSEGMENT"Segment"
-public static final java.lang.StringSYLLABLE"Syllable"
-public static final java.lang.StringSYLLABLE_STRUCTURE"SylStructure"
-public static final java.lang.StringTARGET"Target"
-public static final java.lang.StringTOKEN"Token"
-public static final java.lang.StringUNIT"Unit"
-public static final java.lang.StringWORD"Word"
- -

- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
com.sun.speech.freetts.Voice
-public static final java.lang.StringDATABASE_NAME"databaseName"
-public static final java.lang.StringDEFAULT_AUDIO_PLAYER"com.sun.speech.freetts.voice.defaultAudioPlayer"
-public static final java.lang.StringDEFAULT_AUDIO_PLAYER_DEFAULT"com.sun.speech.freetts.audio.JavaStreamingAudioPlayer"
-public static final java.lang.StringFEATURE_JOIN_TYPE"join_type"
-public static final java.lang.StringFEATURE_SILENCE"silence"
-public static final java.lang.StringPROP_PREFIX"com.sun.speech.freetts.voice."
- -

- -

- - - - - - - - - - - - - - - - - - - - - - -
com.sun.speech.freetts.diphone.Diphone
-protected static final intALIAS_MAGIC195800832
-protected static final intMAGIC262988031
-protected static final intNAME_LENGTH8
- -

- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
com.sun.speech.freetts.en.TokenizerImpl
-public static final java.lang.StringDEFAULT_POSTPUNCTUATION_SYMBOLS"\"\'`.,:;!?(){}[]"
-public static final java.lang.StringDEFAULT_PREPUNCTUATION_SYMBOLS"\"\'`({["
-public static final java.lang.StringDEFAULT_SINGLE_CHAR_SYMBOLS"(){}[]"
-public static final java.lang.StringDEFAULT_WHITESPACE_SYMBOLS" \t\n\r"
-public static final intEOF-1
- -

- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
com.sun.speech.freetts.en.us.USEnglish
-public static final java.lang.StringPREPUNCTUATION_SYMBOLS"\"\'`({["
-public static final java.lang.StringPUNCTUATION_SYMBOLS"\"\'`.,:;!?(){}[]"
-public static final java.lang.StringRX_DEFAULT_DIGITS2DASH"[0-9]+(-[0-9]+)(-[0-9]+)+"
-public static final java.lang.StringRX_DEFAULT_DIGITSSLASHDIGITS"[0-9]+/[0-9]+"
-public static final java.lang.StringRX_DEFAULT_DRST"([dD][Rr]|[Ss][Tt])"
-public static final java.lang.StringRX_DEFAULT_FOUR_DIGIT"[0-9][0-9][0-9][0-9]"
-public static final java.lang.StringRX_DEFAULT_HAS_VOWEL".*[aeiouAEIOU].*"
-public static final java.lang.StringRX_DEFAULT_ILLION".*illion"
-public static final java.lang.StringRX_DEFAULT_NUMBER_TIME"((0[0-2])|(1[0-9])):([0-5][0-9])"
-public static final java.lang.StringRX_DEFAULT_NUMESS"[0-9]+s"
-public static final java.lang.StringRX_DEFAULT_ROMAN_NUMBER"(II?I?|IV|VI?I?I?|IX|X[VIX]*)"
-public static final java.lang.StringRX_DEFAULT_SEVEN_DIGIT_PHONE_NUMBER"[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]"
-public static final java.lang.StringRX_DEFAULT_THREE_DIGIT"[0-9][0-9][0-9]"
-public static final java.lang.StringRX_DEFAULT_US_EN_ALPHABET"[A-Za-z]+"
-public static final java.lang.StringRX_DEFAULT_US_EN_ALPHANUMERIC"[0-9A-Za-z]+"
-public static final java.lang.StringRX_DEFAULT_US_EN_COMMAINT"[0-9][0-9]?[0-9]?,([0-9][0-9][0-9],)*[0-9][0-9][0-9](\\.[0-9]+)?"
-public static final java.lang.StringRX_DEFAULT_US_EN_DIGITS"[0-9][0-9]*"
-public static final java.lang.StringRX_DEFAULT_US_EN_DOTTED_ABBREV"([A-Za-z]\\.)*[A-Za-z]"
-public static final java.lang.StringRX_DEFAULT_US_EN_DOUBLE"-?(([0-9]+\\.[0-9]*)|([0-9]+)|(\\.[0-9]+))([eE][---+]?[0-9]+)?"
-public static final java.lang.StringRX_DEFAULT_US_EN_IDENTIFIER"[A-Za-z_][0-9A-Za-z_]+"
-public static final java.lang.StringRX_DEFAULT_US_EN_INT"-?[0-9]+"
-public static final java.lang.StringRX_DEFAULT_US_EN_LOWERCASE"[a-z]+"
-public static final java.lang.StringRX_DEFAULT_US_EN_ORDINAL_NUMBER"[0-9][0-9,]*(th|TH|st|ST|nd|ND|rd|RD)"
-public static final java.lang.StringRX_DEFAULT_US_EN_UPPERCASE"[A-Z]+"
-public static final java.lang.StringRX_DEFAULT_US_EN_WHITESPACE"[ \n\t\r]+"
-public static final java.lang.StringRX_DEFAULT_US_MONEY"\\$[0-9,]+(\\.[0-9]+)?"
-public static final java.lang.StringRX_DIGITS2DASH"[0-9]+(-[0-9]+)(-[0-9]+)+"
-public static final java.lang.StringRX_DIGITSSLASHDIGITS"[0-9]+/[0-9]+"
-public static final java.lang.StringRX_DRST"([dD][Rr]|[Ss][Tt])"
-public static final java.lang.StringRX_FOUR_DIGIT"[0-9][0-9][0-9][0-9]"
-public static final java.lang.StringRX_HAS_VOWEL".*[aeiouAEIOU].*"
-public static final java.lang.StringRX_ILLION".*illion"
-public static final java.lang.StringRX_NUMBER_TIME"((0[0-2])|(1[0-9])):([0-5][0-9])"
-public static final java.lang.StringRX_NUMESS"[0-9]+s"
-public static final java.lang.StringRX_ROMAN_NUMBER"(II?I?|IV|VI?I?I?|IX|X[VIX]*)"
-public static final java.lang.StringRX_SEVEN_DIGIT_PHONE_NUMBER"[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]"
-public static final java.lang.StringRX_THREE_DIGIT"[0-9][0-9][0-9]"
-public static final java.lang.StringRX_US_MONEY"\\$[0-9,]+(\\.[0-9]+)?"
-public static final java.lang.StringSINGLE_CHAR_SYMBOLS""
-public static final java.lang.StringWHITESPACE_SYMBOLS" \t\n\r"
- -

- -

- - - - - - - - - - - - -
com.sun.speech.freetts.relp.SampleInfo
-public static final java.lang.StringUTT_NAME"SampleInfo"
- -

- -

- - - - - - - - - - - - -
com.sun.speech.freetts.relp.UnitConcatenator
-public static final java.lang.StringPROP_OUTPUT_LPC"com.sun.speech.freetts.outputLPC"
- -

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/de/dfki/lt/freetts/en/us/MbrolaVoice.html b/javadoc/de/dfki/lt/freetts/en/us/MbrolaVoice.html deleted file mode 100644 index 99c8f11..0000000 --- a/javadoc/de/dfki/lt/freetts/en/us/MbrolaVoice.html +++ /dev/null @@ -1,563 +0,0 @@ - - - - - - -MbrolaVoice (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -de.dfki.lt.freetts.en.us -
-Class MbrolaVoice

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.Voice
-      extended bycom.sun.speech.freetts.en.us.CMUVoice
-          extended byde.dfki.lt.freetts.en.us.MbrolaVoice
-
-
-
All Implemented Interfaces:
Dumpable, UtteranceProcessor
-
-
-
-
public class MbrolaVoice
extends CMUVoice
- -

-Defines an unlimited-domain diphone synthesis based voice using - the MBROLA synthesis. -

- -

-


- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
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
MbrolaVoice(java.lang.String databaseDirectory, - java.lang.String database, - float rate, - float pitch, - float range, - 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) - -
-          Creates an MbrolaVoice.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  UtteranceProcessorgetAudioOutput() - -
-          Returns the audio output used by this voice.
- java.lang.StringgetDatabase() - -
-          Returns the absolute file name of the Voice database - this MbrolaVoice uses.
- java.lang.StringgetMbrolaBase() - -
-          Returns the absolute name of the MBROLA directory.
- java.lang.StringgetMbrolaBinary() - -
-          Returns the absolute file name of the MBROLA binary.
-protected  java.lang.String[]getMbrolaCommand() - -
-          Returns the command line that invokes the MBROLA executable. -
- java.lang.StringgetRenameList() - -
-          Returns the absolute file name of the MBROLA phonetic symbols - rename table.
-protected  java.net.URLgetResource(java.lang.String resource) - -
-          Get a resource for this voice.
-protected  UtteranceProcessorgetUnitConcatenator() - -
-          Returns the unit concatenator to be used by this voice. -
-protected  UtteranceProcessorgetUnitSelector() - -
-          Returns the unit selector to be used by this voice. -
- java.lang.StringtoString() - -
-          Converts this object to a string
- - - - - - - -
Methods inherited from class com.sun.speech.freetts.en.us.CMUVoice
getPhoneFeature, getPitchmarkGenerator, getPostLexicalAnalyzer, getTokenizer, loader, setupFeatureProcessors, setupFeatureSet, setupUtteranceProcessors
- - - - - - - -
Methods inherited from class com.sun.speech.freetts.Voice
addFeatureProcessor, allocate, createOutputThread, deallocate, dump, dumpProcessors, endBatch, getAge, getAudioPlayer, getDefaultAudioPlayer, getDescription, getDomain, getDurationStretch, getFeatureProcessor, getFeatures, getGender, getLexicon, getLocale, getName, getOrganization, getOutputQueue, getPitch, getPitchRange, getPitchShift, getRate, 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, startBatch
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-MbrolaVoice

-
-public MbrolaVoice(java.lang.String databaseDirectory,
-                   java.lang.String database,
-                   float rate,
-                   float pitch,
-                   float range,
-                   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)
-
-
Creates an MbrolaVoice. -

-

Parameters:
databaseDirectory - the directory within the MBROLA directory - where the voice database of this voice is located
database - the name of the voice database of this voice
rate - the rate of the voice
pitch - the pitch of the voice
range - the range of the voice
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
lexicon - the lexicon to use
- - - - - - - - -
-Method Detail
- -

-getUnitSelector

-
-protected UtteranceProcessor getUnitSelector()
-                                      throws java.io.IOException
-
-
Returns the unit selector to be used by this voice. - Derived voices typically override this to customize behaviors. -

-

-
Overrides:
getUnitSelector in class CMUVoice
-
-
- -
Returns:
the unit selector -
Throws: -
java.io.IOException - if an IO error occurs while getting - processor
-
-
-
- -

-getMbrolaCommand

-
-protected java.lang.String[] getMbrolaCommand()
-
-
Returns the command line that invokes the MBROLA executable. - The command will be in the form of: - -
 {mbrolaExecutable} -e -R {mbrolaRenameList} {mbrolaVoiceDB} 
- - -.raw 
-

-

-
-
-
-
- -

-getMbrolaBase

-
-public java.lang.String getMbrolaBase()
-
-
Returns the absolute name of the MBROLA directory. -

-

- -
Returns:
the absolute name of the MBROLA directory
-
-
-
- -

-getMbrolaBinary

-
-public java.lang.String getMbrolaBinary()
-
-
Returns the absolute file name of the MBROLA binary. -

-

- -
Returns:
the absolute file name of the MBROLA binary
-
-
-
- -

-getRenameList

-
-public java.lang.String getRenameList()
-
-
Returns the absolute file name of the MBROLA phonetic symbols - rename table. -

-

- -
Returns:
the absolute file name of the rename table
-
-
-
- -

-getDatabase

-
-public java.lang.String getDatabase()
-
-
Returns the absolute file name of the Voice database - this MbrolaVoice uses. -

-

- -
Returns:
the absolute file name of the Voice database
-
-
-
- -

-getUnitConcatenator

-
-protected UtteranceProcessor getUnitConcatenator()
-                                          throws java.io.IOException
-
-
Returns the unit concatenator to be used by this voice. - This method constructs the command line with which the - MBROLA binary will be called, and initialises the - MbrolaCaller accordingly. -

-

-
Overrides:
getUnitConcatenator in class CMUVoice
-
-
- -
Returns:
the unit conatenator -
Throws: -
java.io.IOException - if an IO error occurs while getting - processor
-
-
-
- -

-getAudioOutput

-
-protected UtteranceProcessor getAudioOutput()
-                                     throws java.io.IOException
-
-
Returns the audio output used by this voice. -

-

-
Overrides:
getAudioOutput in class CMUVoice
-
-
- -
Returns:
the audio output used by this voice -
Throws: -
java.io.IOException - if an I/O error occurs
-
-
-
- -

-getResource

-
-protected java.net.URL getResource(java.lang.String resource)
-
-
Get a resource for this voice. Resources for this voice are located in - the package com.sun.speech.freetts.en.us. -

-

-
Overrides:
getResource in class Voice
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Converts this object to a string -

-

-
Overrides:
toString in class CMUVoice
-
-
- -
Returns:
a string representation of this object
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/de/dfki/lt/freetts/en/us/MbrolaVoiceDirectory.html b/javadoc/de/dfki/lt/freetts/en/us/MbrolaVoiceDirectory.html deleted file mode 100644 index 6316f61..0000000 --- a/javadoc/de/dfki/lt/freetts/en/us/MbrolaVoiceDirectory.html +++ /dev/null @@ -1,293 +0,0 @@ - - - - - - -MbrolaVoiceDirectory (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -de.dfki.lt.freetts.en.us -
-Class MbrolaVoiceDirectory

-
-java.lang.Object
-  extended bycom.sun.speech.freetts.VoiceDirectory
-      extended byde.dfki.lt.freetts.en.us.MbrolaVoiceDirectory
-
-
-
-
public class MbrolaVoiceDirectory
extends VoiceDirectory
- -

-Provides access to MBROLA voices. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
MbrolaVoiceDirectory() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- Voice[]getVoices() - -
-          Provide a means to access the voices in a voice jar file.
-static voidmain(java.lang.String[] args) - -
-          Prints out the MBROLA voices.
- - - - - - - -
Methods inherited from class com.sun.speech.freetts.VoiceDirectory
toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-MbrolaVoiceDirectory

-
-public MbrolaVoiceDirectory()
-
-
- - - - - - - - -
-Method Detail
- -

-getVoices

-
-public Voice[] getVoices()
-
-
Description copied from class: VoiceDirectory
-
Provide a means to access the voices in a voice jar file. The - implementation of this function is up to the subclasses. -

-

-
Specified by:
getVoices in class VoiceDirectory
-
-
- -
Returns:
an array of Voice instances provided in the jar file
-
-
-
- -

-main

-
-public static void main(java.lang.String[] args)
-
-
Prints out the MBROLA voices. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/de/dfki/lt/freetts/en/us/MbrolaVoiceValidator.html b/javadoc/de/dfki/lt/freetts/en/us/MbrolaVoiceValidator.html deleted file mode 100644 index 2ea3175..0000000 --- a/javadoc/de/dfki/lt/freetts/en/us/MbrolaVoiceValidator.html +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - -MbrolaVoiceValidator (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -de.dfki.lt.freetts.en.us -
-Class MbrolaVoiceValidator

-
-java.lang.Object
-  extended byde.dfki.lt.freetts.en.us.MbrolaVoiceValidator
-
-
-
All Implemented Interfaces:
Validator
-
-
-
-
public class MbrolaVoiceValidator
extends java.lang.Object
implements Validator
- -

-Shows this MbrolaVoice is valid (or usable). It tests for - the following: - -

    -
  1. Check that the "mbrola.base" System property is defined, - and that directory exists. -
  2. Check that the $(mbrola.base)/mbrola binary exists. -
  3. Check that the transition table exists. It is assumed - to be at $(mbrola.base)/us1/us1mrpa. -
  4. Check that its voice database exists. -
-

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
MbrolaVoiceValidator(MbrolaVoice mbrolaVoice) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringtoString() - -
-          Returns the name of this validator.
- voidvalidate() - -
-          Validates this MbrolaVoice.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-MbrolaVoiceValidator

-
-public MbrolaVoiceValidator(MbrolaVoice mbrolaVoice)
-
-
- - - - - - - - -
-Method Detail
- -

-validate

-
-public void validate()
-              throws ValidationException
-
-
Validates this MbrolaVoice. -

-

-
Specified by:
validate in interface Validator
-
-
- -
Throws: -
ValidationException - if this MbrolaVoice is invalid
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Returns the name of this validator. -

-

-
-
-
- -
Returns:
the name of this validator
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/de/dfki/lt/freetts/en/us/package-frame.html b/javadoc/de/dfki/lt/freetts/en/us/package-frame.html deleted file mode 100644 index 31f6d69..0000000 --- a/javadoc/de/dfki/lt/freetts/en/us/package-frame.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - -de.dfki.lt.freetts.en.us (FreeTTS 1.2) - - - - - - - - - - - -de.dfki.lt.freetts.en.us - - - - -
-Classes  - -
-MbrolaVoice -
-MbrolaVoiceDirectory -
-MbrolaVoiceValidator
- - - - diff --git a/javadoc/de/dfki/lt/freetts/en/us/package-summary.html b/javadoc/de/dfki/lt/freetts/en/us/package-summary.html deleted file mode 100644 index 68cd01a..0000000 --- a/javadoc/de/dfki/lt/freetts/en/us/package-summary.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - -de.dfki.lt.freetts.en.us (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package de.dfki.lt.freetts.en.us -

-Provides support for US English MBROLA voices - - -See: -
-          Description -

- - - - - - - - - - - - - - - - - -
-Class Summary
MbrolaVoiceDefines an unlimited-domain diphone synthesis based voice using - the MBROLA synthesis.
MbrolaVoiceDirectoryProvides access to MBROLA voices.
MbrolaVoiceValidatorShows this MbrolaVoice is valid (or usable).
-  - -

-

-Package de.dfki.lt.freetts.en.us Description -

- -

-Provides support for US English MBROLA voices - - -

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/de/dfki/lt/freetts/en/us/package-tree.html b/javadoc/de/dfki/lt/freetts/en/us/package-tree.html deleted file mode 100644 index 843cf96..0000000 --- a/javadoc/de/dfki/lt/freetts/en/us/package-tree.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - -de.dfki.lt.freetts.en.us Class Hierarchy (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package de.dfki.lt.freetts.en.us -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/de/dfki/lt/freetts/mbrola/MbrolaAudioOutput.html b/javadoc/de/dfki/lt/freetts/mbrola/MbrolaAudioOutput.html deleted file mode 100644 index ebc3c48..0000000 --- a/javadoc/de/dfki/lt/freetts/mbrola/MbrolaAudioOutput.html +++ /dev/null @@ -1,298 +0,0 @@ - - - - - - -MbrolaAudioOutput (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -de.dfki.lt.freetts.mbrola -
-Class MbrolaAudioOutput

-
-java.lang.Object
-  extended byde.dfki.lt.freetts.mbrola.MbrolaAudioOutput
-
-
-
All Implemented Interfaces:
UtteranceProcessor
-
-
-
-
public class MbrolaAudioOutput
extends java.lang.Object
implements UtteranceProcessor
- -

-Supports generating audio output from an MBROLA-synthesized utterance. This - is an utterance processor. The primary method, processUtterance - takes an utterance containing an open BufferedInputStream, from - which to read raw audio data provided by the external MBROLA binary. The - audio data is read and sent to the proper audio player. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
MbrolaAudioOutput() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- voidprocessUtterance(Utterance utterance) - -
-          Reads audio data generated by the external MBROLA binary for the given - Utterance.
- java.lang.StringtoString() - -
-          Returns the string form of this object
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-MbrolaAudioOutput

-
-public MbrolaAudioOutput()
-
-
- - - - - - - - -
-Method Detail
- -

-processUtterance

-
-public void processUtterance(Utterance utterance)
-                      throws ProcessException
-
-
Reads audio data generated by the external MBROLA binary for the given - Utterance. The data is read from the open BufferedInputStream associated - with the Utterance, and written into the AudioPlayer. -

-

-
Specified by:
processUtterance in interface UtteranceProcessor
-
-
-
Parameters:
utterance - the utterance to generate waves -
Throws: -
ProcessException - if an IOException is thrown during the - processing of the utterance
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
Returns the string form of this object -

-

-
-
-
- -
Returns:
the string form of this object
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/de/dfki/lt/freetts/mbrola/MbrolaCaller.html b/javadoc/de/dfki/lt/freetts/mbrola/MbrolaCaller.html deleted file mode 100644 index b9abde6..0000000 --- a/javadoc/de/dfki/lt/freetts/mbrola/MbrolaCaller.html +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - -MbrolaCaller (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -de.dfki.lt.freetts.mbrola -
-Class MbrolaCaller

-
-java.lang.Object
-  extended byde.dfki.lt.freetts.mbrola.MbrolaCaller
-
-
-
All Implemented Interfaces:
UtteranceProcessor
-
-
-
-
public class MbrolaCaller
extends java.lang.Object
implements UtteranceProcessor
- -

-Calls external MBROLA binary to synthesise the utterance. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
MbrolaCaller(java.lang.String[] cmd) - -
-          Create an Mbrola caller which will call an external MBROLA binary - using the command cmd.
-  - - - - - - - - - - - - - - - -
-Method Summary
- voidprocessUtterance(Utterance utterance) - -
-          Call external MBROLA binary to synthesize the utterance.
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-MbrolaCaller

-
-public MbrolaCaller(java.lang.String[] cmd)
-
-
Create an Mbrola caller which will call an external MBROLA binary - using the command cmd. The command string is used - as it is, which means that it must contain full path specifications - and the correct file separators. -

-

- - - - - - - - -
-Method Detail
- -

-processUtterance

-
-public void processUtterance(Utterance utterance)
-                      throws ProcessException
-
-
Call external MBROLA binary to synthesize the utterance. -

-

-
Specified by:
processUtterance in interface UtteranceProcessor
-
-
-
Parameters:
utterance - the utterance to process -
Throws: -
ProcessException - if an error occurs while - processing of the utterance
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/de/dfki/lt/freetts/mbrola/ParametersToMbrolaConverter.html b/javadoc/de/dfki/lt/freetts/mbrola/ParametersToMbrolaConverter.html deleted file mode 100644 index 4657006..0000000 --- a/javadoc/de/dfki/lt/freetts/mbrola/ParametersToMbrolaConverter.html +++ /dev/null @@ -1,295 +0,0 @@ - - - - - - -ParametersToMbrolaConverter (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -de.dfki.lt.freetts.mbrola -
-Class ParametersToMbrolaConverter

-
-java.lang.Object
-  extended byde.dfki.lt.freetts.mbrola.ParametersToMbrolaConverter
-
-
-
All Implemented Interfaces:
UtteranceProcessor
-
-
-
-
public class ParametersToMbrolaConverter
extends java.lang.Object
implements UtteranceProcessor
- -

-Utterance processor converting phoneme timing and f0-time targets - into MBROLA format. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
ParametersToMbrolaConverter() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- voidprocessUtterance(Utterance utterance) - -
-          Convert phoneme timing and f0-time targets - into MBROLA format.
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-ParametersToMbrolaConverter

-
-public ParametersToMbrolaConverter()
-
-
- - - - - - - - -
-Method Detail
- -

-processUtterance

-
-public void processUtterance(Utterance utterance)
-                      throws ProcessException
-
-
Convert phoneme timing and f0-time targets - into MBROLA format. The results are saved in the Segment relations, - as features "mbr_dur" (int-valued) and - "mbr_targets" (String-valued). MBROLA-converted targets - are saved in the Segment relation because in MBROLA input, targets - are represented as properties of the segments during which they occur. -

-

-
Specified by:
processUtterance in interface UtteranceProcessor
-
-
-
Parameters:
utterance - the utterance to process -
Throws: -
ProcessException - if an error occurs while - processing of the utterance
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/de/dfki/lt/freetts/mbrola/package-frame.html b/javadoc/de/dfki/lt/freetts/mbrola/package-frame.html deleted file mode 100644 index e6f6d5a..0000000 --- a/javadoc/de/dfki/lt/freetts/mbrola/package-frame.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - -de.dfki.lt.freetts.mbrola (FreeTTS 1.2) - - - - - - - - - - - -de.dfki.lt.freetts.mbrola - - - - -
-Classes  - -
-MbrolaAudioOutput -
-MbrolaCaller -
-ParametersToMbrolaConverter
- - - - diff --git a/javadoc/de/dfki/lt/freetts/mbrola/package-summary.html b/javadoc/de/dfki/lt/freetts/mbrola/package-summary.html deleted file mode 100644 index 2311f73..0000000 --- a/javadoc/de/dfki/lt/freetts/mbrola/package-summary.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - -de.dfki.lt.freetts.mbrola (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package de.dfki.lt.freetts.mbrola -

-Provides engine support for MBROLA voices - - -See: -
-          Description -

- - - - - - - - - - - - - - - - - -
-Class Summary
MbrolaAudioOutputSupports generating audio output from an MBROLA-synthesized utterance.
MbrolaCallerCalls external MBROLA binary to synthesise the utterance.
ParametersToMbrolaConverterUtterance processor converting phoneme timing and f0-time targets - into MBROLA format.
-  - -

-

-Package de.dfki.lt.freetts.mbrola Description -

- -

-Provides engine support for MBROLA voices - - -

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/de/dfki/lt/freetts/mbrola/package-tree.html b/javadoc/de/dfki/lt/freetts/mbrola/package-tree.html deleted file mode 100644 index 9910105..0000000 --- a/javadoc/de/dfki/lt/freetts/mbrola/package-tree.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - -de.dfki.lt.freetts.mbrola Class Hierarchy (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package de.dfki.lt.freetts.mbrola -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/deprecated-list.html b/javadoc/deprecated-list.html deleted file mode 100644 index 210b39b..0000000 --- a/javadoc/deprecated-list.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - -Deprecated List (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Deprecated API

-
- - - - - - - - -
-Deprecated Methods
com.sun.speech.freetts.Voice.load() -
-          As of FreeTTS 1.2, replaced by Voice.allocate(). 
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/help-doc.html b/javadoc/help-doc.html deleted file mode 100644 index 82966c0..0000000 --- a/javadoc/help-doc.html +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - -API Help (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-How This API Document Is Organized

-
-This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

-Overview

-
- -

-The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

-

-Package

-
- -

-Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

    -
  • Interfaces (italic)
  • Classes
  • Exceptions
  • Errors
-
-

-Class/Interface

-
- -

-Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
  • Class inheritance diagram
  • Direct Subclasses
  • All Known Subinterfaces
  • All Known Implementing Classes
  • Class/interface declaration
  • Class/interface description -

    -

  • Nested Class Summary
  • Field Summary
  • Constructor Summary
  • Method Summary -

    -

  • Field Detail
  • Constructor Detail
  • Method Detail
-Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
-

-Tree (Class Hierarchy)

-
-There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
    -
  • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
  • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
-
-

-Deprecated API

-
-The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
-

-Index

-
-The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
-

-Prev/Next

-These links take you to the next or previous class, interface, package, or related page.

-Frames/No Frames

-These links show and hide the HTML frames. All pages are available with or without frames. -

-

-Serialized Form

-Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. -

- - -This help file applies to API documentation generated using the standard doclet. - -
-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/index-all.html b/javadoc/index-all.html deleted file mode 100644 index 157a550..0000000 --- a/javadoc/index-all.html +++ /dev/null @@ -1,4755 +0,0 @@ - - - - - - -Index (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N O P Q R S T U V W Y
-

-A

-
-
ALIAS_MAGIC - -Static variable in class com.sun.speech.freetts.diphone.Diphone -
  -
Age - class com.sun.speech.freetts.Age.
Provides an enumeration of Age, following JSAPI style. -
AliasDiphone - class com.sun.speech.freetts.diphone.AliasDiphone.
Represent an alias diphone which is just another name for an - already-existing original diphone.
AliasDiphone(String, String) - -Constructor for class com.sun.speech.freetts.diphone.AliasDiphone -
  -
AudioOutput - class com.sun.speech.freetts.relp.AudioOutput.
Supports generating audio output from an utterance.
AudioOutput() - -Constructor for class com.sun.speech.freetts.relp.AudioOutput -
  -
AudioPlayer - interface com.sun.speech.freetts.audio.AudioPlayer.
Provides an interface to the audio system for use by freetts. -
accentCart - -Variable in class com.sun.speech.freetts.cart.Intonator -
The accent CART used for this Intonation UtteranceProcessor. -
accept(String) - -Method in class com.sun.speech.freetts.en.us.PronounceableFSM -
Checks to see if this finite state machine accepts the given - input string. -
addAddendum(String, String, String[]) - -Method in interface com.sun.speech.freetts.lexicon.Lexicon -
Adds a word to the addenda. -
addAddendum(String, String, String[]) - -Method in class com.sun.speech.freetts.lexicon.LexiconImpl -
Adds a word to the addenda. -
addAudioListener(AudioListener) - -Method in class com.sun.speech.engine.BaseAudioManager -
Requests notification of AudioEvents from the - AudioManager. -
addBreak() - -Method in class com.sun.speech.freetts.en.us.WordRelation -
Adds a break as a feature to the last item in the list. -
addDaughter(Item) - -Method in class com.sun.speech.freetts.Item -
Adds the given item as a daughter to this item. -
addEngineListener(EngineListener) - -Method in class com.sun.speech.engine.BaseEngine -
Requests notification of EngineEvents from this - Engine. -
addFeatureProcessor(String, FeatureProcessor) - -Method in class com.sun.speech.freetts.Voice -
Adds a language/voice specific Feature Processor to the set of - FeatureProcessors supported by this voice. -
addItemRelation(String, Item) - -Method in class com.sun.speech.freetts.ItemContents -
Adds the given item to the set of relations. -
addPropertyChangeListener(PropertyChangeListener) - -Method in class com.sun.speech.engine.BaseEngineProperties -
Adds a PropertyChangeListener to the listener list. -
addSpeakableListener(SpeakableListener) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizer -
Adds a SpeakableListener to this Synthesizer. -
addText(String) - -Method in class com.sun.speech.engine.EngineEventPanel -
Appends text to the text area and scrolls the text area so the - new text is visible. -
addVoice(BaseVoice) - -Method in class com.sun.speech.engine.synthesis.VoiceList -
Adds a voice to the list. -
addWord(String) - -Method in class com.sun.speech.freetts.en.us.WordRelation -
Adds a word as an Item to this WordRelation object. -
allocate() - -Method in class com.sun.speech.engine.BaseEngine -
Allocates the resources required for this Engine and - puts it into the ALLOCATED state. -
allocate() - -Method in class com.sun.speech.freetts.Voice -
Allocate this Voice. -
allocatedLabel - -Variable in class com.sun.speech.engine.EngineMonitor -
The label containing the string "allocated". -
allocatingResourcesLabel - -Variable in class com.sun.speech.engine.EngineMonitor -
The label containing the string "allocating resources". -
appendBuffer(StringBuffer, String) - -Method in class com.sun.speech.engine.EngineMonitor -
Adds a String to a buffer, with each - String being separated by a ":". -
appendItem(Item) - -Method in class com.sun.speech.freetts.Item -
Appends an item in this list after this item. -
appendItem() - -Method in class com.sun.speech.freetts.Relation -
Adds a new item to this relation. -
appendItem(Item) - -Method in class com.sun.speech.freetts.Relation -
Adds a new item to this relation. -
appendQueue(BaseSynthesizerQueueItem) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizer -
Puts an item on the speaking queue and sends a queue updated - event. -
appendQueue(TextSynthesizerQueueItem) - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
Adds an item to be spoken to the output queue. -
appendQueue(BaseSynthesizerQueueItem) - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizer -
Puts an item on the speaking queue and sends a queue updated - event. -
appendQueue(BaseSynthesizerQueueItem) - -Method in class com.sun.speech.freetts.jsapi.FreeTTSSynthesizer -
Places an item on the speaking queue and send the queue update event. -
audioManager - -Variable in class com.sun.speech.engine.BaseEngine -
The AudioManager for this Engine. -
awtRunning - -Static variable in class com.sun.speech.engine.SpeechEventUtilities -
If true, the AWT EventQueue has been set up in the VM. -
-
-

-B

-
-
BREAK - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
  -
BREAK_ATTRIBUTES - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
  -
BaseAudioManager - class com.sun.speech.engine.BaseAudioManager.
Supports the JSAPI 1.0 AudioManager - interface.
BaseAudioManager() - -Constructor for class com.sun.speech.engine.BaseAudioManager -
Class constructor. -
BaseEngine - class com.sun.speech.engine.BaseEngine.
Supports the JSAPI 1.0 Engine interface. -
BaseEngine() - -Constructor for class com.sun.speech.engine.BaseEngine -
Creates a new Engine in the - DEALLOCATED state. -
BaseEngine(EngineModeDesc) - -Constructor for class com.sun.speech.engine.BaseEngine -
Creates a new Engine in the - DEALLOCATED state. -
BaseEngineProperties - class com.sun.speech.engine.BaseEngineProperties.
Supports the JSAPI 1.0 EngineProperties - interface.
BaseEngineProperties() - -Constructor for class com.sun.speech.engine.BaseEngineProperties -
Class constructor. -
BaseSynthesizer - class com.sun.speech.engine.synthesis.BaseSynthesizer.
Supports the JSAPI 1.0 Synthesizer interface that - performs the core non-engine-specific functions. - -
BaseSynthesizer(SynthesizerModeDesc) - -Constructor for class com.sun.speech.engine.synthesis.BaseSynthesizer -
Creates a new Synthesizer in the DEALLOCATED state. -
BaseSynthesizerProperties - class com.sun.speech.engine.synthesis.BaseSynthesizerProperties.
Supports the JSAPI 1.0 SynthesizerProperties - interface.
BaseSynthesizerProperties() - -Constructor for class com.sun.speech.engine.synthesis.BaseSynthesizerProperties -
Class constructor. -
BaseSynthesizerProperties(Voice, float, float, float, float) - -Constructor for class com.sun.speech.engine.synthesis.BaseSynthesizerProperties -
Creates a new BaseSynthesizerProperties with the - given default values. -
BaseSynthesizerQueueItem - class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem.
Extends the JSAPI 1.0 SynthesizerQueueItem with handling - for JSML, generation of engine-specific text, and other features.
BaseSynthesizerQueueItem() - -Constructor for class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
Class constructor. -
BaseVoice - class com.sun.speech.engine.synthesis.BaseVoice.
Extends the JSAPI 1.0 Voice class to encapsulate - engine-specific data.
BaseVoice(String, String, int, int, String, float, float, float, float) - -Constructor for class com.sun.speech.engine.synthesis.BaseVoice -
Class constructor. -
BulkTimer - class com.sun.speech.freetts.util.BulkTimer.
Provides a suite of timers that are used to collect and generate - performance metrics for FreeTTS.
BulkTimer() - -Constructor for class com.sun.speech.freetts.util.BulkTimer -
Creates a bulk timer. -
begin(int) - -Method in interface com.sun.speech.freetts.audio.AudioPlayer -
Starts the output of a set of data. -
begin(int) - -Method in class com.sun.speech.freetts.audio.JavaClipAudioPlayer -
Starts the output of a set of data. -
begin(int) - -Method in class com.sun.speech.freetts.audio.JavaStreamingAudioPlayer -
Starts the output of a set of data. - -
begin(int) - -Method in class com.sun.speech.freetts.audio.MultiFile8BitAudioPlayer -
Starts the output of a set of data. -
begin(int) - -Method in class com.sun.speech.freetts.audio.MultiFileAudioPlayer -
Starts the output of a set of data. -
begin(int) - -Method in class com.sun.speech.freetts.audio.NullAudioPlayer -
Starts the output of a set of data -
begin(int) - -Method in class com.sun.speech.freetts.audio.RawFileAudioPlayer -
Starts the output of a set of data -
begin(int) - -Method in class com.sun.speech.freetts.audio.SingleFileAudioPlayer -
Starts the output of a set of data. -
bytesToShort(byte, byte) - -Static method in class com.sun.speech.freetts.util.WaveUtils -
Reconstructs a short from its hi and low bytes. -
-
-

-C

-
-
CANCEL - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
  -
CANCEL_ALL - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
  -
CANCEL_COMPLETE - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
  -
CART - interface com.sun.speech.freetts.cart.CART.
Generic interface for Classification and Regression Trees (CARTs) based - on the Breiman, Friedman, Olshen, and Stone document "Classification and - Regression Trees."
CARTImpl - class com.sun.speech.freetts.cart.CARTImpl.
Implementation of a Classification and Regression Tree (CART) that is - used more like a binary decision tree, with each node containing a - decision or a final value.
CARTImpl(URL) - -Constructor for class com.sun.speech.freetts.cart.CARTImpl -
Creates a new CART by reading from the given URL. -
CARTImpl(BufferedReader, int) - -Constructor for class com.sun.speech.freetts.cart.CARTImpl -
Creates a new CART by reading from the given reader. -
CHILD - -Static variable in class com.sun.speech.freetts.Age -
Age roughly up to 12 years. -
CLEAR_ALL_STATE - -Static variable in class com.sun.speech.engine.BaseEngine -
Utility state for clearing the engineState. -
CMUArcticVoice - class com.sun.speech.freetts.en.us.CMUArcticVoice.
Experimental class that selects units for the - CMU ARCTIC voices.
CMUArcticVoice(String, Gender, Age, String, Locale, String, String, CMULexicon, URL) - -Constructor for class com.sun.speech.freetts.en.us.CMUArcticVoice -
Creates a simple cluster unit voice for the ARCTIC voices -
CMUClusterUnitVoice - class com.sun.speech.freetts.en.us.CMUClusterUnitVoice.
Defines voice that does cluster unit selection.
CMUClusterUnitVoice(String, Gender, Age, String, Locale, String, String, CMULexicon, URL) - -Constructor for class com.sun.speech.freetts.en.us.CMUClusterUnitVoice -
Creates a simple cluster unit voice -
CMUDiphoneVoice - class com.sun.speech.freetts.en.us.CMUDiphoneVoice.
Defines an unlimited-domain diphone synthesis based voice
CMUDiphoneVoice() - -Constructor for class com.sun.speech.freetts.en.us.CMUDiphoneVoice -
Creates a simple voice. -
CMUDiphoneVoice(String, Gender, Age, String, Locale, String, String, CMULexicon, URL) - -Constructor for class com.sun.speech.freetts.en.us.CMUDiphoneVoice -
Creates a simple voice -
CMULexicon - class com.sun.speech.freetts.en.us.CMULexicon.
Provides a CMU lexicon-specific implementation of a Lexicon that is - stored in a text file.
CMULexicon(URL, URL, URL, boolean) - -Constructor for class com.sun.speech.freetts.en.us.CMULexicon -
Creates a CMULexicon based upon the given compiled and addenda - DBs and the given letter to sound rules -
CMULexicon() - -Constructor for class com.sun.speech.freetts.en.us.CMULexicon -
Creates the default CMU Lexicon which is a binary lexicon -
CMULexicon(String) - -Constructor for class com.sun.speech.freetts.en.us.CMULexicon -
Creates the CMU Lexicon which is a binary lexicon -
CMULexicon(String, boolean) - -Constructor for class com.sun.speech.freetts.en.us.CMULexicon -
  -
CMUTimeLexicon - class com.sun.speech.freetts.en.us.CMUTimeLexicon.
Provides a CMU time lexicon-specific implementation of a Lexicon. -
CMUTimeLexicon() - -Constructor for class com.sun.speech.freetts.en.us.CMUTimeLexicon -
Creates a default CMUTimeLexicon which is a binary lexicon -
CMUTimeVoice - class com.sun.speech.freetts.en.us.CMUTimeVoice.
Defines limited domain synthesis voice that specializes - in telling the time.
CMUTimeVoice(String, Gender, Age, String, Locale, String, String, CMULexicon, URL) - -Constructor for class com.sun.speech.freetts.en.us.CMUTimeVoice -
Creates a simple cluster unit voice -
CMUVoice - class com.sun.speech.freetts.en.us.CMUVoice.
Provides generic support for a CMU Voice
CMUVoice(String, Gender, Age, String, Locale, String, String, CMULexicon) - -Constructor for class com.sun.speech.freetts.en.us.CMUVoice -
Creates a simple voice -
COMMAND_PREFIX - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
  -
COMMAND_SUFFIX - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
  -
CPLACE - -Static variable in interface com.sun.speech.freetts.PhoneSet -
Consonant cplace: l = labial, a = alveolar, p = palatal, - b = labio_dental, d = dental, v = velar -
CTYPE - -Static variable in interface com.sun.speech.freetts.PhoneSet -
Consonant type: s = stop, f = fricative, a = affricative, - n = nasal, l = liquid. -
CVOX - -Static variable in interface com.sun.speech.freetts.PhoneSet -
Consonant voicing: + = on, - = off -
ClusterUnitDatabase - class com.sun.speech.freetts.clunits.ClusterUnitDatabase.
Provides support for the cluster unit database.
ClusterUnitPitchmarkGenerator - class com.sun.speech.freetts.clunits.ClusterUnitPitchmarkGenerator.
Calculates the pitchmarks.
ClusterUnitPitchmarkGenerator() - -Constructor for class com.sun.speech.freetts.clunits.ClusterUnitPitchmarkGenerator -
  -
ClusterUnitSelector - class com.sun.speech.freetts.clunits.ClusterUnitSelector.
Generates the Unit Relation of an Utterance from the - Segment Relation.
ClusterUnitSelector(URL) - -Constructor for class com.sun.speech.freetts.clunits.ClusterUnitSelector -
Constructs a ClusterUnitSelector. -
ClusterUnitSelector(URL, ClusterUnitNamer) - -Constructor for class com.sun.speech.freetts.clunits.ClusterUnitSelector -
Constructs a ClusterUnitSelector. -
ContourGenerator - class com.sun.speech.freetts.en.ContourGenerator.
Calculates the F0 curve for an utterance based on the Black and - Hunt article "Generating F0 Contours from ToBI Labels Using Linear - Regression," ICSLP96, vol.
ContourGenerator(URL, float, float) - -Constructor for class com.sun.speech.freetts.en.ContourGenerator -
Creates a ContourGenerator utterance processor. -
cancel() - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizer -
Cancels the item at the top of the queue. -
cancel(Object) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizer -
Cancels a specific object on the queue. -
cancel() - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizer -
Cancels the item at the top of the queue. -
cancel(Object) - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizer -
Cancels a specific object on the queue. -
cancel() - -Method in interface com.sun.speech.freetts.audio.AudioPlayer -
Cancels all queued output. -
cancel() - -Method in class com.sun.speech.freetts.audio.JavaClipAudioPlayer -
Cancels all queued audio. -
cancel() - -Method in class com.sun.speech.freetts.audio.JavaStreamingAudioPlayer -
Cancels currently playing audio. -
cancel() - -Method in class com.sun.speech.freetts.audio.MultiFile8BitAudioPlayer -
Cancels currently playing audio -
cancel() - -Method in class com.sun.speech.freetts.audio.MultiFileAudioPlayer -
Cancels currently playing audio -
cancel() - -Method in class com.sun.speech.freetts.audio.NullAudioPlayer -
Cancels all queued output. -
cancel() - -Method in class com.sun.speech.freetts.audio.RawFileAudioPlayer -
Cancels all queued output. -
cancel() - -Method in class com.sun.speech.freetts.audio.SingleFileAudioPlayer -
Cancels currently playing audio -
cancel() - -Method in class com.sun.speech.freetts.jsapi.FreeTTSSynthesizer -
Cancels the item at the top of the queue. -
cancel(Object) - -Method in class com.sun.speech.freetts.jsapi.FreeTTSSynthesizer -
Cancels a specific object on the queue. -
cancelAll() - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizer -
Cancels all items on the output queue. -
cancelAll() - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizer -
Cancels all items on the output queue. -
cancelAll() - -Method in class com.sun.speech.freetts.jsapi.FreeTTSSynthesizer -
Cancels all items on the output queue. -
cancelAllItems() - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
Cancels all items. -
cancelItem() - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
Cancels the current item. -
cancelItem(int) - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
Cancels all or just the current item. -
cancelItem(Object) - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
Cancels the given item. -
cancelled() - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
indicate that this item has been canceled -
cancelled() - -Method in interface com.sun.speech.freetts.FreeTTSSpeakable -
Indicates that this speakable has been cancelled. -
cancelled() - -Method in class com.sun.speech.freetts.FreeTTSSpeakableImpl -
Indicates that this speakable has been cancelled. -
cart - -Variable in class com.sun.speech.freetts.cart.Durator -
The CART used for this duration UtteranceProcessor. -
cart - -Variable in class com.sun.speech.freetts.cart.Phraser -
The CART used for this Phrasing UtteranceProcessor. -
checkEngineState(long) - -Method in class com.sun.speech.engine.BaseEngine -
Convenience method that throws an EngineStateError - if any of the bits in the passed state are set in the - state. -
clearButton - -Variable in class com.sun.speech.engine.EngineEventPanel -
The button for clearing the textArea. -
clearText() - -Method in class com.sun.speech.engine.EngineEventPanel -
Clears the text in the text area. -
clone() - -Method in class com.sun.speech.engine.synthesis.BaseVoice -
Creates a copy of this voice. -
clone() - -Method in class com.sun.speech.freetts.jsapi.FreeTTSVoice -
Creates a copy of this BaseVoice. -
close() - -Method in class com.sun.speech.freetts.OutputQueue -
Closes the queue. -
close() - -Method in interface com.sun.speech.freetts.audio.AudioPlayer -
Waits for all audio playback to stop, and closes this AudioPlayer. -
close() - -Method in class com.sun.speech.freetts.audio.JavaClipAudioPlayer -
Closes this audio player - - [[[ WORKAROUND TODO - The javax.sound.sampled drain is almost working properly. -
close() - -Method in class com.sun.speech.freetts.audio.JavaStreamingAudioPlayer -
Closes this audio player -
close() - -Method in class com.sun.speech.freetts.audio.MultiFile8BitAudioPlayer -
Closes this audio player -
close() - -Method in class com.sun.speech.freetts.audio.MultiFileAudioPlayer -
Closes this audio player -
close() - -Method in class com.sun.speech.freetts.audio.NullAudioPlayer -
Waits for all audio playback to stop, and closes this AudioPlayer. -
close() - -Method in class com.sun.speech.freetts.audio.RawFileAudioPlayer -
Waits for all audio playback to stop, and closes this AudioPlayer. -
close() - -Method in class com.sun.speech.freetts.audio.SingleFileAudioPlayer -
Closes this audio player -
com.sun.speech.engine - package com.sun.speech.engine
Provides a partial and unsupported support for the -javax.speech package for JSAPI 1.0.
com.sun.speech.engine.synthesis - package com.sun.speech.engine.synthesis
Provides a JSML 0.6 parser as well as a partial and unsupported -support -of interfaces in the javax.speech.synthesis package for JSAPI 1.0.
com.sun.speech.engine.synthesis.text - package com.sun.speech.engine.synthesis.text
Provides a sample text-output-only Synthesizer support that -doesn't make any -noise.
com.sun.speech.freetts - package com.sun.speech.freetts
Top level package for FreeTTS.
com.sun.speech.freetts.audio - package com.sun.speech.freetts.audio
Provides support for generic audio output for FreeTTS.
com.sun.speech.freetts.cart - package com.sun.speech.freetts.cart
Provides interface and implementations of several Classification -and Regression Trees (CART) based on the Breiman, Friedman, Olshen, -and Stone document "Classification and Regression Trees." -
com.sun.speech.freetts.clunits - package com.sun.speech.freetts.clunits
Support for cluster unit selection of audio data as described in the -Black and Taylor document "Automatically clustering similar units for -unit selection in speech synthesis", published in Proceedings of the -Eurospeech 1997, Rhodes, Greece
com.sun.speech.freetts.diphone - package com.sun.speech.freetts.diphone
Support for diphones encoded using residual excited linear prediction (RELP)
com.sun.speech.freetts.en - package com.sun.speech.freetts.en
Support for English.
com.sun.speech.freetts.en.us - package com.sun.speech.freetts.en.us
Support for US English
com.sun.speech.freetts.jsapi - package com.sun.speech.freetts.jsapi
- -Provides a partial and unsupported support for a JSAPI 1.0 speech synthesizer for FreeTTS.
com.sun.speech.freetts.lexicon - package com.sun.speech.freetts.lexicon
Provides the definition and implementation of the Lexicon and -LetterToSound interfaces
com.sun.speech.freetts.relp - package com.sun.speech.freetts.relp
Support for Residual Excited Linear Predictive (RELP) decoding of audio -samples
com.sun.speech.freetts.util - package com.sun.speech.freetts.util
Provides a set of tools and utililties used by FreeTTS
command - -Variable in class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
For the item at the top of the queue, the output command reflects - whether item should be PAUSE, RESUME, CANCEL. -
commandLock - -Variable in class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
Object on which accesses to the command must synchronize. -
compare(ClusterUnitDatabase) - -Method in class com.sun.speech.freetts.clunits.ClusterUnitDatabase -
Determines if two databases are identical. -
compare(DiphoneUnitDatabase) - -Method in class com.sun.speech.freetts.diphone.DiphoneUnitDatabase -
Compares this database to another. -
compare(LetterToSoundImpl) - -Method in class com.sun.speech.freetts.lexicon.LetterToSoundImpl -
Compares this LTS to another for debugging purposes. -
compare(LexiconImpl) - -Method in class com.sun.speech.freetts.lexicon.LexiconImpl -
Tests to see if this lexicon is identical to the other for - debugging purposes. -
compare(Sample) - -Method in class com.sun.speech.freetts.relp.Sample -
Compares two samples. -
compareTo(Object) - -Method in class com.sun.speech.freetts.Age -
Compare two ages. -
compareTo(Object) - -Method in class com.sun.speech.freetts.Gender -
Compare two genders. -
completed() - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
indicate that this item has been completed -
completed() - -Method in interface com.sun.speech.freetts.FreeTTSSpeakable -
Indicates that this speakable has been completed. -
completed() - -Method in class com.sun.speech.freetts.FreeTTSSpeakableImpl -
Indicates that this speakable has been completed. -
contains(String) - -Method in class com.sun.speech.freetts.VoiceManager -
Check if there is a voice provides with the given name. -
copyResiduals(byte[], int, int) - -Method in class com.sun.speech.freetts.relp.LPCResult -
Copies the information in the given unit to the array of residuals, - starting at the given index, up until targetSize chars. -
copyResidualsPulse(byte[], int, int) - -Method in class com.sun.speech.freetts.relp.LPCResult -
Copies the residual puse in the given unit to the array of residuals, - starting at the given index, up until targetSize chars. -
createDaughter() - -Method in class com.sun.speech.freetts.Item -
Creates a new Item, adds it as a daughter to this item - and returns the new item. -
createEngine() - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizerModeDesc -
Constructs a text synthesizer with the properties of this mode - desc. -
createEngine() - -Method in class com.sun.speech.freetts.jsapi.FreeTTSSynthesizerModeDesc -
Constructs a FreeTTSSynthesizer with the properties of this mode - descriptor. -
createEngineList(EngineModeDesc) - -Method in class com.sun.speech.engine.synthesis.text.TextEngineCentral -
Returns a list containing a single reference to a - TextSynthesizerModeDesc - if the required features match those of the - TextSynthesizer. -
createEngineList(EngineModeDesc) - -Method in class com.sun.speech.freetts.jsapi.FreeTTSEngineCentral -
Returns a list containing references to all matching - synthesizers. -
createEngineProperties() - -Method in class com.sun.speech.engine.BaseEngine -
Factory constructor for EngineProperties object. -
createEngineProperties() - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizer -
Factory constructor for EngineProperties object. - -
createEngineProperties() - -Method in class com.sun.speech.freetts.jsapi.FreeTTSSynthesizer -
Factory constructor for EngineProperties object. - -
createLexicon(InputStream, boolean, int) - -Method in class com.sun.speech.freetts.lexicon.LexiconImpl -
Reads the given input stream as lexicon data and returns the - results in a Map. -
createOutputThread() - -Static method in class com.sun.speech.freetts.Voice -
Creates an output thread that will asynchronously - output utterances that are generated by this voice (and other - voices). -
createQueueItem() - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizer -
Factory method that creates a BaseSynthesizerQueueItem. - -
createQueueItem() - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizer -
Creates a TextSynthesizerQueueItem. -
createQueueItem() - -Method in class com.sun.speech.freetts.jsapi.FreeTTSSynthesizer -
Factory method to create a BaseSynthesizerQueueItem. -
createRelation(String) - -Method in class com.sun.speech.freetts.Utterance -
Creates a new relation with the given name and adds it to this - utterance. -
createWordRelation(Utterance, TokenToWords) - -Static method in class com.sun.speech.freetts.en.us.WordRelation -
Creates a WordRelation object with the given utterance and - TokenToWords. -
currentItemLock - -Variable in class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
Object to lock on for setting the current item. -
currentPitch - -Variable in class com.sun.speech.engine.synthesis.BaseSynthesizerProperties -
The current pitch. -
currentPitchRange - -Variable in class com.sun.speech.engine.synthesis.BaseSynthesizerProperties -
The current pitch range. -
currentSpeakingRate - -Variable in class com.sun.speech.engine.synthesis.BaseSynthesizerProperties -
The current speaking rate. -
currentVoice - -Variable in class com.sun.speech.engine.synthesis.BaseSynthesizerProperties -
The current voice. -
currentVolume - -Variable in class com.sun.speech.engine.synthesis.BaseSynthesizerProperties -
The current volume. -
-
-

-D

-
-
DATABASE_NAME - -Static variable in class com.sun.speech.freetts.Voice -
Constant that describes the name of the unit database used by - this voice. -
DATA_PREFIX - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
  -
DATA_SUFFIX - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
  -
DEFAULT_AUDIO_PLAYER - -Static variable in class com.sun.speech.freetts.Voice -
Feature name for the default AudioPlayer class to use. -
DEFAULT_AUDIO_PLAYER_DEFAULT - -Static variable in class com.sun.speech.freetts.Voice -
The default class to use for the DEFAULT_AUDIO_PLAYER. -
DEFAULT_POSTPUNCTUATION_SYMBOLS - -Static variable in class com.sun.speech.freetts.en.TokenizerImpl -
A string containing the default post-punctuation characters. -
DEFAULT_PREPUNCTUATION_SYMBOLS - -Static variable in class com.sun.speech.freetts.en.TokenizerImpl -
A string containing the default pre-punctuation characters. -
DEFAULT_SINGLE_CHAR_SYMBOLS - -Static variable in class com.sun.speech.freetts.en.TokenizerImpl -
A string containing the default single characters. -
DEFAULT_WHITESPACE_SYMBOLS - -Static variable in class com.sun.speech.freetts.en.TokenizerImpl -
A string containing the default whitespace characters. -
DIV - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
  -
DIV_ATTRIBUTES - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
  -
DONT_CARE - -Static variable in class com.sun.speech.freetts.Age -
Matches against any Age. -
DONT_CARE - -Static variable in class com.sun.speech.freetts.Gender -
Match against all other genders. -
Diphone - class com.sun.speech.freetts.diphone.Diphone.
Represents two adjacent phones.
Diphone(String, Sample[], int) - -Constructor for class com.sun.speech.freetts.diphone.Diphone -
Creates a diphone with the given name, samples and midpoint. -
Diphone(String) - -Constructor for class com.sun.speech.freetts.diphone.Diphone -
Constructor to be used only by subclasses who do not use the - variables except for the name -
DiphonePitchmarkGenerator - class com.sun.speech.freetts.diphone.DiphonePitchmarkGenerator.
Calculates pitchmarks.
DiphonePitchmarkGenerator() - -Constructor for class com.sun.speech.freetts.diphone.DiphonePitchmarkGenerator -
  -
DiphoneUnitDatabase - class com.sun.speech.freetts.diphone.DiphoneUnitDatabase.
Represents and manages the unit data for all diphones.
DiphoneUnitDatabase(URL, boolean) - -Constructor for class com.sun.speech.freetts.diphone.DiphoneUnitDatabase -
Creates the DiphoneUnitDatabase from the given input stream. -
DiphoneUnitSelector - class com.sun.speech.freetts.diphone.DiphoneUnitSelector.
Generates the Unit Relation of an Utterance from the - Segment Relation.
DiphoneUnitSelector(URL) - -Constructor for class com.sun.speech.freetts.diphone.DiphoneUnitSelector -
Constructs a DiphoneUnitSelector. -
Dumpable - interface com.sun.speech.freetts.Dumpable.
Tags an object that can be dumped for debugging purposes.
Durator - class com.sun.speech.freetts.cart.Durator.
Determines duration timing for - Relation.SEGMENT relations in an utterance. -
Durator(CART, float, PhoneDurations) - -Constructor for class com.sun.speech.freetts.cart.Durator -
Creates a new duration UtteranceProcessor with the given - CART and phone durations. -
database - -Variable in class com.sun.speech.freetts.en.us.CMUClusterUnitVoice -
  -
database - -Variable in class com.sun.speech.freetts.en.us.CMUDiphoneVoice -
  -
de.dfki.lt.freetts.en.us - package de.dfki.lt.freetts.en.us
Provides support for US English MBROLA voices - -de.dfki.lt.freetts.mbrola - package de.dfki.lt.freetts.mbrola
Provides engine support for MBROLA voices - -deStress(String) - -Method in class com.sun.speech.freetts.Segmenter -
Converts stressed phoneme to regular phoneme. -
deallocate() - -Method in class com.sun.speech.engine.BaseEngine -
Frees the resources of this Engine that were - acquired during allocation and during operation and return this - Engine to the DEALLOCATED. -
deallocate() - -Method in class com.sun.speech.freetts.Voice -
Shuts down the voice processing. -
deallocatedLabel - -Variable in class com.sun.speech.engine.EngineMonitor -
The label containing the string "deallocated". -
deallocatingResourcesLabel - -Variable in class com.sun.speech.engine.EngineMonitor -
The label containing the string "deallocating resources". -
defaultPitch - -Variable in class com.sun.speech.engine.synthesis.BaseSynthesizerProperties -
The default pitch. -
defaultPitch - -Variable in class com.sun.speech.engine.synthesis.BaseVoice -
The default pitch -
defaultPitchRange - -Variable in class com.sun.speech.engine.synthesis.BaseSynthesizerProperties -
The default pitch range. -
defaultPitchRange - -Variable in class com.sun.speech.engine.synthesis.BaseVoice -
The default pitch range -
defaultSpeakingRate - -Variable in class com.sun.speech.engine.synthesis.BaseSynthesizerProperties -
The default specking rate. -
defaultSpeakingRate - -Variable in class com.sun.speech.engine.synthesis.BaseVoice -
The default speaking rate -
defaultVoice - -Variable in class com.sun.speech.engine.synthesis.BaseSynthesizerProperties -
The default voice. -
defaultVolume - -Variable in class com.sun.speech.engine.synthesis.BaseSynthesizerProperties -
The default volume. -
defaultVolume - -Variable in class com.sun.speech.engine.synthesis.BaseVoice -
The default volume -
deleteChar(String, char) - -Static method in class com.sun.speech.freetts.util.Utilities -
Removes all instances of the specified character from the given String. -
dispatchSpeechEvent(SpeechEvent) - -Method in class com.sun.speech.engine.BaseEngine -
Dispatches a SpeechEvent. - -
dispatchSpeechEvent(SpeechEvent) - -Method in class com.sun.speech.engine.BaseEngineProperties -
Dispatches a PropertyChangeEvent. - -
dispatchSpeechEvent(SpeechEvent) - -Method in interface com.sun.speech.engine.SpeechEventDispatcher -
Dispatches a SpeechEvent to all appropriate - SpeechEventListeners - on the object that implements this interface. -
dispatchSpeechEvent(SpeechEvent) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizer -
Dispatches a SpeechEvent. - -
dispatchSpeechEvent(SpeechEvent) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
Dispatches a SpeechEvent. - -
done - -Variable in class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
  -
drain() - -Method in interface com.sun.speech.freetts.audio.AudioPlayer -
Waits for all queued audio to be played -
drain() - -Method in class com.sun.speech.freetts.audio.JavaClipAudioPlayer -
Waits for all queued audio to be played -
drain() - -Method in class com.sun.speech.freetts.audio.JavaStreamingAudioPlayer -
Waits for all queued audio to be played -
drain() - -Method in class com.sun.speech.freetts.audio.MultiFile8BitAudioPlayer -
Waits for all queued audio to be played -
drain() - -Method in class com.sun.speech.freetts.audio.MultiFileAudioPlayer -
Waits for all queued audio to be played -
drain() - -Method in class com.sun.speech.freetts.audio.NullAudioPlayer -
Waits for all queued audio to be played -
drain() - -Method in class com.sun.speech.freetts.audio.RawFileAudioPlayer -
Waits for all queued audio to be played -
drain() - -Method in class com.sun.speech.freetts.audio.SingleFileAudioPlayer -
Waits for all queued audio to be played -
dump(PrintWriter, int, String) - -Method in interface com.sun.speech.freetts.Dumpable -
Dumps the object to a PrintWriter. -
dump(PrintWriter, int, String) - -Method in interface com.sun.speech.freetts.FeatureSet -
Dumps the FeatureSet in textual form. -
dump(PrintWriter, int, String) - -Method in class com.sun.speech.freetts.FeatureSetImpl -
Dumps the FeatureSet in textual form. -
dump(PrintWriter, int, String, boolean) - -Method in class com.sun.speech.freetts.FeatureSetImpl -
Dumps the FeatureSet in textual form. -
dump(PrintWriter, int, String) - -Method in class com.sun.speech.freetts.Item -
Dumps out this item to the given output stream. -
dump(PrintWriter, int, String) - -Method in class com.sun.speech.freetts.Relation -
Dumps this relation to the print writer. -
dump() - -Method in interface com.sun.speech.freetts.Unit -
Dumps this unit. -
dump(PrintWriter, int, String, boolean) - -Method in class com.sun.speech.freetts.Utterance -
Dumps this utterance in textual form. -
dump(PrintWriter, int, String) - -Method in class com.sun.speech.freetts.Utterance -
Dumps this utterance in textual form. -
dump(PrintWriter, String) - -Method in class com.sun.speech.freetts.Utterance -
Dumps this utterance in textual form. -
dump(String) - -Method in class com.sun.speech.freetts.Utterance -
Dumps this utterance in textual form. -
dump(PrintWriter, int, String) - -Method in class com.sun.speech.freetts.Voice -
Dumps the voice in textual form. -
dump() - -Method in class com.sun.speech.freetts.diphone.AliasDiphone -
dumps out this Diphone. -
dump() - -Method in class com.sun.speech.freetts.diphone.Diphone -
dumps out this Diphone. -
dump() - -Method in class com.sun.speech.freetts.diphone.DiphoneUnitDatabase -
Dumps the diphone database. -
dump() - -Method in class com.sun.speech.freetts.relp.LPCResult -
Dumps this LPCResult to standard out -
dump(Writer) - -Method in class com.sun.speech.freetts.relp.LPCResult -
Dumps this LPCResult to the given stream. -
dump() - -Method in class com.sun.speech.freetts.relp.Sample -
Dumps the sample: -
dump(PrintWriter, int, String) - -Static method in class com.sun.speech.freetts.util.Utilities -
Dumps padded text. -
dumpASCII() - -Method in class com.sun.speech.freetts.relp.LPCResult -
Dumps the wave data associated with this result -
dumpASCII(String) - -Method in class com.sun.speech.freetts.relp.LPCResult -
Dumps the wave data associated with this result -
dumpASCII(Writer) - -Method in class com.sun.speech.freetts.relp.LPCResult -
Dumps the wave out to the given stream -
dumpBinary(DataOutputStream) - -Method in interface com.sun.speech.freetts.cart.CART -
Dumps this CART to the output stream. -
dumpBinary(DataOutputStream) - -Method in class com.sun.speech.freetts.cart.CARTImpl -
Dumps this CART to the output stream. -
dumpBinary(ByteBuffer) - -Method in class com.sun.speech.freetts.diphone.AliasDiphone -
Dumps the diphone to the given channel. -
dumpBinary(DataOutputStream) - -Method in class com.sun.speech.freetts.diphone.AliasDiphone -
Dumps the diphone to the given channel. -
dumpBinary(ByteBuffer) - -Method in class com.sun.speech.freetts.diphone.Diphone -
Dumps the diphone to the given channel. -
dumpBinary(DataOutputStream) - -Method in class com.sun.speech.freetts.diphone.Diphone -
Dumps the diphone to the given channel. -
dumpBinary(String) - -Method in class com.sun.speech.freetts.diphone.DiphoneUnitDatabase -
Dumps a binary form of the database. -
dumpBinary(String) - -Method in class com.sun.speech.freetts.lexicon.LetterToSoundImpl -
Dumps a binary form of the letter to sound rules. - -
dumpBinary(String) - -Method in class com.sun.speech.freetts.lexicon.LexiconImpl -
Dumps this lexicon (just the compiled form). -
dumpBinary(ByteBuffer) - -Method in class com.sun.speech.freetts.relp.Sample -
Dumps the samples to the given ByteBuffer -
dumpBinary(DataOutputStream) - -Method in class com.sun.speech.freetts.relp.Sample -
Dumps the samples to the given stream -
dumpBinary(DataOutputStream) - -Method in class com.sun.speech.freetts.relp.SampleInfo -
Dump a binary form of the sample rate - to the given output stream -
dumpBinary(DataOutputStream) - -Method in class com.sun.speech.freetts.relp.SampleSet -
Dumps this sample set to the given stream -
dumpProcessors(PrintWriter, int, String) - -Method in class com.sun.speech.freetts.Voice -
Dumps the voice processors. -
dumpRelations(String) - -Method in class com.sun.speech.freetts.Utterance -
Dumps the utterance in textual form -
durations - -Variable in class com.sun.speech.freetts.cart.Durator -
The PhoneDurations used for this duration UtteranceProcessor. - -
-
-

-E

-
-
ELEMENTS - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
  -
ELEMENT_ATTRIBUTES - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
  -
ELEMENT_END - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
  -
ELEMENT_START - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
  -
EMPHASIS - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
  -
EMPHASIS_ATTRIBUTES - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
  -
ENGINE - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
  -
ENGINE_ATTRIBUTES - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
  -
EOF - -Static variable in class com.sun.speech.freetts.en.TokenizerImpl -
A constant indicating that the end of the stream has been read. -
EngineEventPanel - class com.sun.speech.engine.EngineEventPanel.
Simple GUI for monitoring events of an Engine.
EngineEventPanel() - -Constructor for class com.sun.speech.engine.EngineEventPanel -
Class constructor. -
EngineMonitor - class com.sun.speech.engine.EngineMonitor.
Simple GUI for monitoring events and state changes of an - Engine.
EngineMonitor(Engine) - -Constructor for class com.sun.speech.engine.EngineMonitor -
Class constructor. -
EngineMonitor.EngineMonitorEngineListener - class com.sun.speech.engine.EngineMonitor.EngineMonitorEngineListener.
Handles engine events from the engine.
EngineMonitor.EngineMonitorEngineListener() - -Constructor for class com.sun.speech.engine.EngineMonitor.EngineMonitorEngineListener -
  -
end() - -Method in interface com.sun.speech.freetts.audio.AudioPlayer -
Signals the end of a set of data. -
end() - -Method in class com.sun.speech.freetts.audio.JavaClipAudioPlayer -
Marks the end a set of data. -
end() - -Method in class com.sun.speech.freetts.audio.JavaStreamingAudioPlayer -
Marks the end of a set of data. -
end() - -Method in class com.sun.speech.freetts.audio.MultiFile8BitAudioPlayer -
Marks the end of a set of data. -
end() - -Method in class com.sun.speech.freetts.audio.MultiFileAudioPlayer -
Marks the end of a set of data. -
end() - -Method in class com.sun.speech.freetts.audio.NullAudioPlayer -
Marks the end of a set of data -
end() - -Method in class com.sun.speech.freetts.audio.RawFileAudioPlayer -
Marks the end of a set of data -
end() - -Method in class com.sun.speech.freetts.audio.SingleFileAudioPlayer -
Marks the end of a set of data. -
endBatch() - -Method in class com.sun.speech.freetts.Voice -
Ends a batch of utterances. -
engine - -Variable in class com.sun.speech.engine.EngineMonitor -
The Engine to monitor. -
engineAllocated(EngineEvent) - -Method in class com.sun.speech.engine.EngineMonitor.EngineMonitorEngineListener -
  -
engineAllocatingResources(EngineEvent) - -Method in class com.sun.speech.engine.EngineMonitor.EngineMonitorEngineListener -
  -
engineDeallocated(EngineEvent) - -Method in class com.sun.speech.engine.EngineMonitor.EngineMonitorEngineListener -
  -
engineDeallocatingResources(EngineEvent) - -Method in class com.sun.speech.engine.EngineMonitor.EngineMonitorEngineListener -
  -
engineError(EngineErrorEvent) - -Method in class com.sun.speech.engine.EngineMonitor.EngineMonitorEngineListener -
  -
engineListener - -Variable in class com.sun.speech.engine.EngineMonitor -
The EngineListener registered with the engine. -
engineListeners - -Variable in class com.sun.speech.engine.BaseEngine -
List of EngineListeners registered for - EngineEvents on this Engine. -
engineModeDesc - -Variable in class com.sun.speech.engine.BaseEngine -
The EngineModeDesc for this Engine. -
enginePaused(EngineEvent) - -Method in class com.sun.speech.engine.EngineMonitor.EngineMonitorEngineListener -
  -
engineProperties - -Variable in class com.sun.speech.engine.BaseEngine -
The EngineProperties for this Engine. -
engineResumed(EngineEvent) - -Method in class com.sun.speech.engine.EngineMonitor.EngineMonitorEngineListener -
  -
engineState - -Variable in class com.sun.speech.engine.BaseEngine -
A bitmask holding the current state of this Engine. -
engineStateLock - -Variable in class com.sun.speech.engine.BaseEngine -
An Object used for synchronizing access to - engineState. -
engineStateString(long) - -Method in class com.sun.speech.engine.EngineMonitor -
Returns a String representing the - state. -
engineStateString(long) - -Method in class com.sun.speech.engine.synthesis.SynthesizerMonitor -
  -
enumerateQueue() - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizer -
Returns an enumeration of the queue. -
enumerateQueue() - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
Returns the current queue. -
enumerateQueue() - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizer -
Returns an enumeration of the queue. -
enumerateQueue() - -Method in class com.sun.speech.freetts.jsapi.FreeTTSSynthesizer -
Returns an enumeration of the queue. -
equalsShared(Item) - -Method in class com.sun.speech.freetts.Item -
Determines if the shared contents of the two items are the same. -
eventObject - -Variable in class com.sun.speech.engine.SpeechEventWrapper -
The wrapped event. -
eventPanel - -Variable in class com.sun.speech.engine.EngineMonitor -
The panel used to post engine events. -
expandDigits(String, WordRelation) - -Static method in class com.sun.speech.freetts.en.us.NumberExpander -
Expands given token to list of words pronouncing it as digits -
expandID(String, WordRelation) - -Static method in class com.sun.speech.freetts.en.us.NumberExpander -
Expands the given number string as pairs as in years or IDs -
expandLetters(String, WordRelation) - -Static method in class com.sun.speech.freetts.en.us.NumberExpander -
Expands the given string of letters as a list of single char symbols. -
expandNumber(String, WordRelation) - -Static method in class com.sun.speech.freetts.en.us.NumberExpander -
Expands a digit string into a list of English words of those digits. - -
expandOrdinal(String, WordRelation) - -Static method in class com.sun.speech.freetts.en.us.NumberExpander -
Expands the digit string of an ordinal number. -
expandReal(String, WordRelation) - -Static method in class com.sun.speech.freetts.en.us.NumberExpander -
Expands the given number string as a real number. -
expandRoman(String) - -Static method in class com.sun.speech.freetts.en.us.NumberExpander -
Returns the integer value of the given string of Roman numerals. -
-
-

-F

-
-
FEATURE_JOIN_TYPE - -Static variable in class com.sun.speech.freetts.Voice -
Feature name for the join type string. -
FEATURE_SILENCE - -Static variable in class com.sun.speech.freetts.Voice -
Feature name for the silence phone string. -
FEMALE - -Static variable in class com.sun.speech.freetts.Gender -
Female. -
FILE - -Static variable in class com.sun.speech.freetts.InputMode -
Indicates that the input is from a file. -
FeatureProcessor - interface com.sun.speech.freetts.FeatureProcessor.
Performs a specific type of processing on an item and returns an - object.
FeatureProcessors - class com.sun.speech.freetts.en.us.FeatureProcessors.
Provides the set of feature processors that are used by this - language as part of the CART processing.
FeatureProcessors.Accented - class com.sun.speech.freetts.en.us.FeatureProcessors.Accented.
Checks to see if the given syllable is accented. -
FeatureProcessors.Accented() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.Accented -
  -
FeatureProcessors.AccentedSylIn - class com.sun.speech.freetts.en.us.FeatureProcessors.AccentedSylIn.
Counts the number of accented syllables since the last major break. -
FeatureProcessors.AccentedSylIn() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.AccentedSylIn -
  -
FeatureProcessors.Gpos - class com.sun.speech.freetts.en.us.FeatureProcessors.Gpos.
Returns a guess of the part-of-speech. - -
FeatureProcessors.Gpos(PartOfSpeech) - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.Gpos -
Creates a GPOS with the given part-of-speech table -
FeatureProcessors.LastAccent - class com.sun.speech.freetts.en.us.FeatureProcessors.LastAccent.
Find the last accented syllable - This is a feature processor.
FeatureProcessors.LastAccent() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.LastAccent -
  -
FeatureProcessors.MonthRange - class com.sun.speech.freetts.en.us.FeatureProcessors.MonthRange.
Returns true ("1") if the given item is a number between 0 and - 32 exclusive, otherwise, returns "0". -
FeatureProcessors.MonthRange() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.MonthRange -
  -
FeatureProcessors.NumDigits - class com.sun.speech.freetts.en.us.FeatureProcessors.NumDigits.
Returns the length of the string.
FeatureProcessors.NumDigits() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.NumDigits -
  -
FeatureProcessors.PH_CPlace - class com.sun.speech.freetts.en.us.FeatureProcessors.PH_CPlace.
Return consonant cplace - l-labial a-alveolar p-palatal b-labio_dental d-dental v-velar - - This is a feature processor.
FeatureProcessors.PH_CPlace() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.PH_CPlace -
  -
FeatureProcessors.PH_CType - class com.sun.speech.freetts.en.us.FeatureProcessors.PH_CType.
Return consonant type - s-stop f-fricative a-affricative n-nasal * l-liquid - - This is a feature processor.
FeatureProcessors.PH_CType() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.PH_CType -
  -
FeatureProcessors.PH_CVox - class com.sun.speech.freetts.en.us.FeatureProcessors.PH_CVox.
Return consonant voicing - +=on -=off - - This is a feature processor.
FeatureProcessors.PH_CVox() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.PH_CVox -
  -
FeatureProcessors.PH_VC - class com.sun.speech.freetts.en.us.FeatureProcessors.PH_VC.
Return vowel or consonant - +=on -=off - - This is a feature processor.
FeatureProcessors.PH_VC() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.PH_VC -
  -
FeatureProcessors.PH_VFront - class com.sun.speech.freetts.en.us.FeatureProcessors.PH_VFront.
Return vowel frontness - 1-front 2-mid 3-back - - This is a feature processor.
FeatureProcessors.PH_VFront() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.PH_VFront -
  -
FeatureProcessors.PH_VHeight - class com.sun.speech.freetts.en.us.FeatureProcessors.PH_VHeight.
Return vowel height - 1-high 2-mid 3-low - - This is a feature processor.
FeatureProcessors.PH_VHeight() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.PH_VHeight -
  -
FeatureProcessors.PH_VLength - class com.sun.speech.freetts.en.us.FeatureProcessors.PH_VLength.
Return vowel length - s-short l-long d-dipthong a-schwa - - This is a feature processor.
FeatureProcessors.PH_VLength() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.PH_VLength -
  -
FeatureProcessors.PH_VRnd - class com.sun.speech.freetts.en.us.FeatureProcessors.PH_VRnd.
Return vowel rnd (lip rounding) - lip rounding +=on -=off - - This is a feature processor.
FeatureProcessors.PH_VRnd() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.PH_VRnd -
  -
FeatureProcessors.PosInSyl - class com.sun.speech.freetts.en.us.FeatureProcessors.PosInSyl.
Finds the position of the phoneme in the syllable - This is a feature processor.
FeatureProcessors.PosInSyl() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.PosInSyl -
  -
FeatureProcessors.PositionType - class com.sun.speech.freetts.en.us.FeatureProcessors.PositionType.
Classifies the the syllable as single, initial, mid or final. -
FeatureProcessors.PositionType() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.PositionType -
  -
FeatureProcessors.SegCodaFric - class com.sun.speech.freetts.en.us.FeatureProcessors.SegCodaFric.
Checks for fricative - This is a feature processor.
FeatureProcessors.SegCodaFric() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.SegCodaFric -
  -
FeatureProcessors.SegCodaGlide - class com.sun.speech.freetts.en.us.FeatureProcessors.SegCodaGlide.
Checks for coda glide - This is a feature processor.
FeatureProcessors.SegCodaGlide() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.SegCodaGlide -
  -
FeatureProcessors.SegCodaNasal - class com.sun.speech.freetts.en.us.FeatureProcessors.SegCodaNasal.
Checks for coda nasal - This is a feature processor.
FeatureProcessors.SegCodaNasal() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.SegCodaNasal -
  -
FeatureProcessors.SegCodaStop - class com.sun.speech.freetts.en.us.FeatureProcessors.SegCodaStop.
Checks for coda stop - This is a feature processor.
FeatureProcessors.SegCodaStop() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.SegCodaStop -
  -
FeatureProcessors.SegOnsetCoda - class com.sun.speech.freetts.en.us.FeatureProcessors.SegOnsetCoda.
Checks for onset coda - This is a feature processor.
FeatureProcessors.SegOnsetCoda() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.SegOnsetCoda -
  -
FeatureProcessors.SegOnsetFric - class com.sun.speech.freetts.en.us.FeatureProcessors.SegOnsetFric.
Checks for fricative - This is a feature processor.
FeatureProcessors.SegOnsetFric() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.SegOnsetFric -
  -
FeatureProcessors.SegOnsetGlide - class com.sun.speech.freetts.en.us.FeatureProcessors.SegOnsetGlide.
Checks for onset glide - This is a feature processor.
FeatureProcessors.SegOnsetGlide() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.SegOnsetGlide -
  -
FeatureProcessors.SegOnsetNasal - class com.sun.speech.freetts.en.us.FeatureProcessors.SegOnsetNasal.
Checks for onset nasal - This is a feature processor.
FeatureProcessors.SegOnsetNasal() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.SegOnsetNasal -
  -
FeatureProcessors.SegOnsetStop - class com.sun.speech.freetts.en.us.FeatureProcessors.SegOnsetStop.
Checks for onset stop - This is a feature processor.
FeatureProcessors.SegOnsetStop() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.SegOnsetStop -
  -
FeatureProcessors.SegmentDuration - class com.sun.speech.freetts.en.us.FeatureProcessors.SegmentDuration.
Returns the duration of the given segment - This is a feature processor.
FeatureProcessors.SegmentDuration() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.SegmentDuration -
  -
FeatureProcessors.StressedSylIn - class com.sun.speech.freetts.en.us.FeatureProcessors.StressedSylIn.
Counts the number of stressed syllables since the last major break. -
FeatureProcessors.StressedSylIn() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.StressedSylIn -
  -
FeatureProcessors.StressedSylOut - class com.sun.speech.freetts.en.us.FeatureProcessors.StressedSylOut.
Counts the number of stressed syllables until the next major break. -
FeatureProcessors.StressedSylOut() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.StressedSylOut -
  -
FeatureProcessors.SubPhrases - class com.sun.speech.freetts.en.us.FeatureProcessors.SubPhrases.
Counts the number of phrases before this one. -
FeatureProcessors.SubPhrases() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.SubPhrases -
  -
FeatureProcessors.SylBreak - class com.sun.speech.freetts.en.us.FeatureProcessors.SylBreak.
Determines the break level after this syllable - This is a feature processor.
FeatureProcessors.SylBreak() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.SylBreak -
  -
FeatureProcessors.SylCodaSize - class com.sun.speech.freetts.en.us.FeatureProcessors.SylCodaSize.
Determines the coda size - This is a feature processor.
FeatureProcessors.SylCodaSize() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.SylCodaSize -
  -
FeatureProcessors.SylIn - class com.sun.speech.freetts.en.us.FeatureProcessors.SylIn.
Counts the number of stressed syllables since the last major break. -
FeatureProcessors.SylIn() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.SylIn -
  -
FeatureProcessors.SylOnsetSize - class com.sun.speech.freetts.en.us.FeatureProcessors.SylOnsetSize.
Determines the onset size of this syllable - This is a feature processor.
FeatureProcessors.SylOnsetSize() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.SylOnsetSize -
  -
FeatureProcessors.SylOut - class com.sun.speech.freetts.en.us.FeatureProcessors.SylOut.
Counts the number of stressed syllables since the last major break. -
FeatureProcessors.SylOut() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.SylOut -
  -
FeatureProcessors.TokenPosGuess - class com.sun.speech.freetts.en.us.FeatureProcessors.TokenPosGuess.
Attempts to guess the part of speech. -
FeatureProcessors.TokenPosGuess() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.TokenPosGuess -
  -
FeatureProcessors.WordBreak - class com.sun.speech.freetts.en.us.FeatureProcessors.WordBreak.
Determines the word break. -
FeatureProcessors.WordBreak() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.WordBreak -
  -
FeatureProcessors.WordNumSyls - class com.sun.speech.freetts.en.us.FeatureProcessors.WordNumSyls.
Returns as an Integer the number of syllables in the given - word.
FeatureProcessors.WordNumSyls() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.WordNumSyls -
  -
FeatureProcessors.WordPunc - class com.sun.speech.freetts.en.us.FeatureProcessors.WordPunc.
Determines the word punctuation. -
FeatureProcessors.WordPunc() - -Constructor for class com.sun.speech.freetts.en.us.FeatureProcessors.WordPunc -
  -
FeatureSet - interface com.sun.speech.freetts.FeatureSet.
Represents the abstract interface to an entity that has - a set of features.
FeatureSetImpl - class com.sun.speech.freetts.FeatureSetImpl.
Implementation of the FeatureSet interface.
FeatureSetImpl() - -Constructor for class com.sun.speech.freetts.FeatureSetImpl -
Creates a new empty feature set -
FreeTTS - class com.sun.speech.freetts.FreeTTS.
Standalone utility that directly interacts with a CMUDiphoneVoice.
FreeTTS() - -Constructor for class com.sun.speech.freetts.FreeTTS -
Constructs a default FreeTTS with the kevin16 voice. -
FreeTTS(Voice) - -Constructor for class com.sun.speech.freetts.FreeTTS -
Creates a FreeTTS object with the given Voice. -
FreeTTSEngineCentral - class com.sun.speech.freetts.jsapi.FreeTTSEngineCentral.
Supports the EngineCentral JSAPI 1.0 interface for the - FreeTTSSynthesizer.
FreeTTSEngineCentral() - -Constructor for class com.sun.speech.freetts.jsapi.FreeTTSEngineCentral -
Creates a FreeTTSEngineCentral -
FreeTTSSpeakable - interface com.sun.speech.freetts.FreeTTSSpeakable.
Represents something that should be spoken.
FreeTTSSpeakableImpl - class com.sun.speech.freetts.FreeTTSSpeakableImpl.
Minimal implementation of a FreeTTSSpeakable
FreeTTSSpeakableImpl(String) - -Constructor for class com.sun.speech.freetts.FreeTTSSpeakableImpl -
Constructor. -
FreeTTSSpeakableImpl(Document) - -Constructor for class com.sun.speech.freetts.FreeTTSSpeakableImpl -
Constructor. -
FreeTTSSpeakableImpl(InputStream) - -Constructor for class com.sun.speech.freetts.FreeTTSSpeakableImpl -
Constructor. -
FreeTTSSynthesizer - class com.sun.speech.freetts.jsapi.FreeTTSSynthesizer.
Provides partial support for a JSAPI 1.0 synthesizer for the - FreeTTS speech synthesis system.
FreeTTSSynthesizer(FreeTTSSynthesizerModeDesc) - -Constructor for class com.sun.speech.freetts.jsapi.FreeTTSSynthesizer -
Creates a new Synthesizer in the DEALLOCATED state. -
FreeTTSSynthesizerModeDesc - class com.sun.speech.freetts.jsapi.FreeTTSSynthesizerModeDesc.
Represents a SynthesizerModeDesc for the - FreeTTSSynthesizer.
FreeTTSSynthesizerModeDesc(String, String, Locale) - -Constructor for class com.sun.speech.freetts.jsapi.FreeTTSSynthesizerModeDesc -
Creates a fully-specified descriptor. - -
FreeTTSSynthesizerQueueItem - class com.sun.speech.freetts.jsapi.FreeTTSSynthesizerQueueItem.
Represents an object on the speech output queue of a - FreeTTSSynthesizer. -
FreeTTSSynthesizerQueueItem() - -Constructor for class com.sun.speech.freetts.jsapi.FreeTTSSynthesizerQueueItem -
Construct a queue item. -
FreeTTSTime - class com.sun.speech.freetts.FreeTTSTime.
Standalone utility that tells the time. - -
FreeTTSTime() - -Constructor for class com.sun.speech.freetts.FreeTTSTime -
Class constructor. -
FreeTTSTime(Voice) - -Constructor for class com.sun.speech.freetts.FreeTTSTime -
Class constructor. -
FreeTTSVoice - class com.sun.speech.freetts.jsapi.FreeTTSVoice.
Extends the BaseVoice class to encapsulate FreeTTSSynthesizer specific data.
FreeTTSVoice(Voice, String) - -Constructor for class com.sun.speech.freetts.jsapi.FreeTTSVoice -
Constructs a FreeTTSVoice -
fileToSpeech(String) - -Method in class com.sun.speech.freetts.FreeTTS -
Converts the text contained in the given path to speech. -
findFeature(String) - -Method in class com.sun.speech.freetts.Item -
Finds the feature by following the given path. - -
findFeature(Item) - -Method in interface com.sun.speech.freetts.PathExtractor -
Finds the feature associated with this object. -
findFeature(Item) - -Method in class com.sun.speech.freetts.PathExtractorImpl -
Finds the feature associated with this Path. -
findFromEnd(Relation, float) - -Static method in class com.sun.speech.freetts.util.SegmentRelationUtils -
Starting from the end of the given Segment Relation, go backwards - to find the Item that corresponds to the given time. -
findFromFront(Relation, float) - -Static method in class com.sun.speech.freetts.util.SegmentRelationUtils -
Starting from the front of the given Segment Relation, finds the Item - that corresponds to the given time. -
findItem(String) - -Method in class com.sun.speech.freetts.Item -
Finds the item specified by the given path. - - -
findItem(Item) - -Method in interface com.sun.speech.freetts.PathExtractor -
Finds the item associated with this object. -
findItem(Item) - -Method in class com.sun.speech.freetts.PathExtractorImpl -
Finds the item associated with this Path. -
fireEngineAllocated(EngineEvent) - -Method in class com.sun.speech.engine.BaseEngine -
Utility function that sends an ENGINE_ALLOCATED - event to all EngineListeners registered with this - Engine. -
fireEngineAllocatingResources(EngineEvent) - -Method in class com.sun.speech.engine.BaseEngine -
Utility function that sends an - ENGINE_ALLOCATING_RESOURCES event to all - EngineListeners registered with this - Engine. -
fireEngineDeallocated(EngineEvent) - -Method in class com.sun.speech.engine.BaseEngine -
Utility function that sends an - ENGINE_DEALLOCATED event to all - EngineListeners registered with this - Engine. -
fireEngineDeallocatingResources(EngineEvent) - -Method in class com.sun.speech.engine.BaseEngine -
Utility function that sends a - ENGINE_DEALLOCATING_RESOURCES event to all - EngineListeners registered with this - Engine. -
fireEnginePaused(EngineEvent) - -Method in class com.sun.speech.engine.BaseEngine -
Utility function that sends an ENGINE_PAUSED event - to all - EngineListeners registered with this - Engine. -
fireEngineResumed(EngineEvent) - -Method in class com.sun.speech.engine.BaseEngine -
Utility function that sends an ENGINE_RESUMED event - to all - EngineListeners registered with this - Engine. -
fireMarkerReached(SpeakableEvent) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
Utility function that sends a MARKER_REACHED event - to all speakable listeners. -
firePropertyChangeEvent(PropertyChangeEvent) - -Method in class com.sun.speech.engine.BaseEngineProperties -
Sends a PropertyChangeEvent - to all PropertyChangeListeners registered with - this object. -
fireQueueEmptied(SynthesizerEvent) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizer -
Utility function that sends a QUEUE_EMPTIED - event to all SynthesizerListeners. -
fireQueueUpdated(SynthesizerEvent) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizer -
Utility function that sends a QUEUE_UPDATED - event to all SynthesizerListeners. -
fireSpeakableCancelled(SpeakableEvent) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
Utility function that sends a SPEAKABLE_CANCELLED event - to all speakable listeners. -
fireSpeakableEnded(SpeakableEvent) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
Utility function that sends a SPEAKABLE_ENDED event - to all speakable listeners. -
fireSpeakablePaused(SpeakableEvent) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
Utility function that sends a SPEAKABLE_PAUSED event - to all speakable listeners. -
fireSpeakableResumed(SpeakableEvent) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
Utility function that sends a SPEAKABLE_RESUMED event - to all speakable listeners. -
fireSpeakableStarted(SpeakableEvent) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
Utility function that sends a SPEAKABLE_STARTED event - to all speakable listeners. -
fireTopOfQueue(SpeakableEvent) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
Utility function that sends a TOP_OF_QUEUE event - to all speakable listeners. -
fireWordStarted(SpeakableEvent) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
Utility function that sends a WORD_STARTED event - to all speakable listeners. -
fixPartOfSpeech(String) - -Static method in class com.sun.speech.freetts.lexicon.LexiconImpl -
Fixes the part of speech if it is null. -
-
-

-G

-
-
Gender - class com.sun.speech.freetts.Gender.
Provides an enumeration of Gender, following the JSAPI style. -
getAge() - -Method in class com.sun.speech.freetts.Voice -
Get the age of this voice. -
getAudioFormat() - -Method in interface com.sun.speech.freetts.audio.AudioPlayer -
Retrieves the audio format for this player -
getAudioFormat() - -Method in class com.sun.speech.freetts.audio.JavaClipAudioPlayer -
Retrieves the audio format for this player -
getAudioFormat() - -Method in class com.sun.speech.freetts.audio.JavaStreamingAudioPlayer -
Gets the audio format for this player -
getAudioFormat() - -Method in class com.sun.speech.freetts.audio.MultiFile8BitAudioPlayer -
Gets the audio format for this player -
getAudioFormat() - -Method in class com.sun.speech.freetts.audio.MultiFileAudioPlayer -
Gets the audio format for this player -
getAudioFormat() - -Method in class com.sun.speech.freetts.audio.NullAudioPlayer -
Retrieves the audio format for this player -
getAudioFormat() - -Method in class com.sun.speech.freetts.audio.RawFileAudioPlayer -
Retrieves the audio format for this player -
getAudioFormat() - -Method in class com.sun.speech.freetts.audio.SingleFileAudioPlayer -
Gets the audio format for this player -
getAudioManager() - -Method in class com.sun.speech.engine.BaseEngine -
Returns an object that provides management of the audio input - or output of this Engine. -
getAudioOutput() - -Method in class com.sun.speech.freetts.Voice -
Returns the AudioOutput processor to be used by this voice. - -
getAudioOutput() - -Method in class com.sun.speech.freetts.en.us.CMUVoice -
Returns the AudioOutput processor to be used by this voice - Derived voices typically override this to customize behaviors. -
getAudioOutput() - -Method in class de.dfki.lt.freetts.en.us.MbrolaVoice -
Returns the audio output used by this voice. -
getAudioPlayer() - -Method in class com.sun.speech.freetts.Voice -
Gets the audio player associated with this voice. -
getBoolean(String) - -Static method in class com.sun.speech.freetts.util.Utilities -
Gets a boolean property by name. -
getCoeffMin() - -Method in class com.sun.speech.freetts.relp.SampleInfo -
Returns the minimum for linear predictive coding. -
getCoeffRange() - -Method in class com.sun.speech.freetts.relp.SampleInfo -
Returns the range for linear predictive coding. -
getControlComponent() - -Method in class com.sun.speech.engine.BaseEngineProperties -
Obtains the AWT Component that provides the - default user interface - for setting the properties of the Engine - associated with this object. -
getCurrentTime() - -Method in class com.sun.speech.freetts.util.Timer -
Returns the current time. -
getDatabase() - -Method in class com.sun.speech.freetts.en.us.CMUClusterUnitVoice -
Gets the url to the database that defines the unit data for this - voice. -
getDatabase() - -Method in class com.sun.speech.freetts.en.us.CMUDiphoneVoice -
Gets the url to the database that defines the unit data for this - voice. -
getDatabase() - -Method in class de.dfki.lt.freetts.en.us.MbrolaVoice -
Returns the absolute file name of the Voice database - this MbrolaVoice uses. -
getDaughter() - -Method in class com.sun.speech.freetts.Item -
Retrieves the first daughter of this item. -
getDefaultAudioPlayer() - -Method in class com.sun.speech.freetts.Voice -
Gets the default audio player for this voice. -
getDescription() - -Method in class com.sun.speech.freetts.Voice -
Get the description of this voice. -
getDocument() - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
Gets the DOM document for this object. -
getDocument() - -Method in class com.sun.speech.engine.synthesis.JSMLParser -
Gets the document for this parser. -
getDocument() - -Method in interface com.sun.speech.freetts.FreeTTSSpeakable -
Gets the DOM document for this object. -
getDocument() - -Method in class com.sun.speech.freetts.FreeTTSSpeakableImpl -
Gets the DOM document for this object. -
getDocument() - -Method in class com.sun.speech.freetts.jsapi.FreeTTSSynthesizerQueueItem -
Gets the DOM document for this object. -
getDomain() - -Method in class com.sun.speech.freetts.Voice -
Get the domain of this voice. -
getDuration() - -Method in class com.sun.speech.freetts.Utterance -
Returns the duration of this Utterance in seconds. -
getDurationStretch() - -Method in class com.sun.speech.freetts.Voice -
Gets the duration Stretch -
getEngineListener() - -Method in class com.sun.speech.engine.EngineMonitor -
Creates the engine listener if necessary, and then returns it. - -
getEngineListener() - -Method in class com.sun.speech.engine.synthesis.SynthesizerMonitor -
  -
getEngineModeDesc() - -Method in class com.sun.speech.engine.BaseEngine -
Gets the current operating properties and mode of - this Engine. -
getEngineProperties() - -Method in class com.sun.speech.engine.BaseEngine -
Gets the EngineProperties of this Engine. - -
getEngineState() - -Method in class com.sun.speech.engine.BaseEngine -
Returns a or'ed set of flags indicating the current state of - this Engine. - - -
getEngineText() - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
Gets the text form of this queue item. -
getErrorDescription() - -Method in interface com.sun.speech.freetts.Tokenizer -
If hasErrors returns true, returns a description of the error - encountered. -
getErrorDescription() - -Method in class com.sun.speech.freetts.en.TokenizerImpl -
if hasErrors returns true, this will return a - description of the error encountered, otherwise - it will return null -
getEventObject() - -Method in class com.sun.speech.engine.SpeechEventWrapper -
Gets the wrapped event. -
getEventPanel() - -Method in class com.sun.speech.engine.EngineMonitor -
Gets the panel containing the area to post engine events in. -
getFeatureProcessor(String) - -Method in class com.sun.speech.freetts.Voice -
Returns a language/voice specific Feature Processor. -
getFeatures() - -Method in class com.sun.speech.freetts.Item -
Returns the feature set of this item. -
getFeatures() - -Method in class com.sun.speech.freetts.ItemContents -
Returns the feature set for this item contents. -
getFeatures() - -Method in class com.sun.speech.freetts.Voice -
Returns the feature set associated with this voice. -
getFloat(String) - -Method in interface com.sun.speech.freetts.FeatureSet -
Convenience method that returns the named feature as a float. -
getFloat(String) - -Method in class com.sun.speech.freetts.FeatureSetImpl -
Convenience method that returns the named feature as a float. -
getFloat(String) - -Method in class com.sun.speech.freetts.Utterance -
Convenience method that returns the named feature as a float. - -
getFrame(int) - -Method in class com.sun.speech.freetts.relp.LPCResult -
Returns the frame at the given index. -
getFrameData() - -Method in class com.sun.speech.freetts.relp.Sample -
Gets the frame data associated with this sample -
getFrameData(int) - -Method in class com.sun.speech.freetts.relp.Sample -
Returns the normalized frame data. -
getFrameShift(int) - -Method in class com.sun.speech.freetts.relp.LPCResult -
Returns the time difference of the frame at the given position - with the frame prior to that. -
getFrameSize() - -Method in class com.sun.speech.freetts.relp.LPCResult -
Returns the sizes of frames in this LPC. -
getFrameSize(int) - -Method in class com.sun.speech.freetts.relp.SampleSet -
Gets the size of the given frame -
getFullBuff(String) - -Method in class com.sun.speech.freetts.lexicon.LetterToSoundImpl -
Makes a character array that looks like "000#word#000". -
getGender() - -Method in class com.sun.speech.freetts.Voice -
Get the gender of this voice. -
getHead() - -Method in class com.sun.speech.freetts.Relation -
Gets the head of the item list. -
getId() - -Method in class com.sun.speech.engine.synthesis.BaseVoice -
Gets the id for this voice. -
getId() - -Method in class com.sun.speech.freetts.jsapi.FreeTTSVoice -
Gets the id for this voice. - -
getInputMode() - -Method in class com.sun.speech.freetts.FreeTTS -
Returns the InputMode. -
getInputStream() - -Method in interface com.sun.speech.freetts.FreeTTSSpeakable -
Gets the input stream -
getInputStream() - -Method in class com.sun.speech.freetts.FreeTTSSpeakableImpl -
Gets the input stream. -
getInputStream() - -Method in class com.sun.speech.freetts.jsapi.FreeTTSSynthesizerQueueItem -
Gets the input stream -
getInputStream(URL) - -Static method in class com.sun.speech.freetts.util.Utilities -
Returns an input stream for the given URL. -
getInstance() - -Static method in class com.sun.speech.freetts.VoiceManager -
Gets the instance of the VoiceManager -
getInstance(boolean) - -Static method in class com.sun.speech.freetts.en.us.CMULexicon -
Get the CMULexicon. -
getInstance(String, boolean) - -Static method in class com.sun.speech.freetts.en.us.CMULexicon -
Get the CMULexicon. -
getInt(String) - -Method in interface com.sun.speech.freetts.FeatureSet -
Convenience method that returns the named feature as an int. -
getInt(String) - -Method in class com.sun.speech.freetts.FeatureSetImpl -
Convenience method that returns the named feature as a int. -
getInt(String) - -Method in class com.sun.speech.freetts.Utterance -
Convenience method that returns the named feature as a int. - -
getInteger(String, int) - -Static method in class com.sun.speech.freetts.util.Utilities -
Gets an Integer property by name. -
getItem(String, float) - -Method in class com.sun.speech.freetts.Utterance -
Returns the Item in the given Relation associated with the given time. -
getItem(Relation, float) - -Static method in class com.sun.speech.freetts.util.SegmentRelationUtils -
Returns the Item in the Segment Relation that corresponds to the given - time. -
getItemAs(String) - -Method in class com.sun.speech.freetts.Item -
Finds the item in the given relation that has the same shared - contents. -
getItemNumber() - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
Gets the item number for debug purposes only. -
getItemRelation(String) - -Method in class com.sun.speech.freetts.ItemContents -
Given the name of a relation, returns the item the shares the - same ItemContents. -
getLPCMin() - -Method in class com.sun.speech.freetts.relp.LPCResult -
Returns the LPC minimum. -
getLPCRange() - -Method in class com.sun.speech.freetts.relp.LPCResult -
Returns the LPC range. -
getLastDaughter() - -Method in class com.sun.speech.freetts.Item -
Retrieves the last daughter of this item. -
getLexicon() - -Method in class com.sun.speech.freetts.Voice -
Gets the lexicon for this voice. -
getLineNumber() - -Method in class com.sun.speech.freetts.Token -
Returns the line of this token in the original text. -
getLocale() - -Method in class com.sun.speech.freetts.Voice -
Get the locale of this voice. -
getLong(String, long) - -Static method in class com.sun.speech.freetts.util.Utilities -
Gets a long property by name. -
getMbrolaBase() - -Method in class de.dfki.lt.freetts.en.us.MbrolaVoice -
Returns the absolute name of the MBROLA directory. -
getMbrolaBinary() - -Method in class de.dfki.lt.freetts.en.us.MbrolaVoice -
Returns the absolute file name of the MBROLA binary. -
getMbrolaCommand() - -Method in class de.dfki.lt.freetts.en.us.MbrolaVoice -
Returns the command line that invokes the MBROLA executable. - -
getMean() - -Method in class com.sun.speech.freetts.PhoneDuration -
Gets the mean. -
getMidPoint() - -Method in class com.sun.speech.freetts.diphone.AliasDiphone -
Returns the midpoint index. the midpoint index is the sample - that divides the diphone into the first and second parts. -
getMidPoint() - -Method in class com.sun.speech.freetts.diphone.Diphone -
Returns the midpoint index. the midpoint index is the sample - that divides the diphone into the first and second parts. -
getName() - -Method in class com.sun.speech.freetts.Relation -
Retrieves the name of this Relation. -
getName() - -Method in interface com.sun.speech.freetts.Unit -
Returns the name of this Unit. -
getName() - -Method in class com.sun.speech.freetts.Voice -
Get the name of this voice. -
getName() - -Method in class com.sun.speech.freetts.diphone.Diphone -
Gets the name of the diphone. -
getName() - -Method in class com.sun.speech.freetts.diphone.DiphoneUnitDatabase -
Returns the name of this DiphoneUnitDatabase. -
getNearestSample(float) - -Method in interface com.sun.speech.freetts.Unit -
Retrieves the nearest sample. -
getNext() - -Method in class com.sun.speech.freetts.Item -
Gets the next item in this list. -
getNextToken() - -Method in interface com.sun.speech.freetts.Tokenizer -
Returns the next token. -
getNextToken() - -Method in class com.sun.speech.freetts.en.TokenizerImpl -
Returns the next token. -
getNode(String, StringTokenizer, int) - -Method in class com.sun.speech.freetts.cart.CARTImpl -
Gets the node based upon the type and tokenizer. -
getNthDaughter(int) - -Method in class com.sun.speech.freetts.Item -
Retrieves the Nth daughter of this item. -
getNumberOfChannels() - -Method in class com.sun.speech.freetts.relp.LPCResult -
Returns the number of channels in this LPCResult. -
getNumberOfChannels() - -Method in class com.sun.speech.freetts.relp.SampleInfo -
Returns the number of channels. -
getNumberOfFrames() - -Method in class com.sun.speech.freetts.relp.LPCResult -
Returns the number of frames in this LPCResult. -
getNumberOfSamples() - -Method in class com.sun.speech.freetts.relp.LPCResult -
Returns the number of samples in this LPC result -
getObject(String) - -Method in interface com.sun.speech.freetts.FeatureSet -
Returns the named feature as an object. -
getObject(String) - -Method in class com.sun.speech.freetts.FeatureSetImpl -
Returns the named feature as an object. -
getObject(String) - -Method in class com.sun.speech.freetts.Utterance -
Returns the named feature as an object. - -
getOrganization() - -Method in class com.sun.speech.freetts.Voice -
Gets the organization which created this voice. -
getOriginalName() - -Method in class com.sun.speech.freetts.diphone.AliasDiphone -
Get the name of the original name that this alias points to. -
getOutputQueue() - -Method in class com.sun.speech.freetts.Voice -
Returns the output queue associated with this voice. -
getOwnerRelation() - -Method in class com.sun.speech.freetts.Item -
Retrieves the owning Relation. -
getParent() - -Method in class com.sun.speech.freetts.Item -
Returns the parent of this item. -
getPartOfSpeech(String) - -Method in interface com.sun.speech.freetts.PartOfSpeech -
Returns a description of the part of speech given a word. - -
getPartOfSpeech(String) - -Method in class com.sun.speech.freetts.PartOfSpeechImpl -
Returns a description of the part of speech given a word. - -
getPbPositionMillis() - -Method in class com.sun.speech.freetts.diphone.AliasDiphone -
Returns the midpoint index. the midpoint index is the sample - that divides the diphone into the first and second parts. -
getPbPositionMillis() - -Method in class com.sun.speech.freetts.diphone.Diphone -
Returns the midpoint index. the midpoint index is the sample - that divides the diphone into the first and second parts. -
getPhoneDuration(String) - -Method in interface com.sun.speech.freetts.PhoneDurations -
Gets the PhoneDuration for the given phone. -
getPhoneDuration(String) - -Method in class com.sun.speech.freetts.PhoneDurationsImpl -
Gets the PhoneDuration for the given phone. -
getPhoneFeature(String, String) - -Method in interface com.sun.speech.freetts.PhoneSet -
Given a phoneme and a feature name, return the feature. -
getPhoneFeature(String, String) - -Method in class com.sun.speech.freetts.PhoneSetImpl -
Given a phoneme and a feature name, returns the feature. -
getPhoneFeature(String, String) - -Method in class com.sun.speech.freetts.Voice -
Given a phoneme and a feature name, returns the feature. -
getPhoneFeature(String, String) - -Method in class com.sun.speech.freetts.en.us.CMUVoice -
Given a phoneme and a feature name, return the feature -
getPhoneFeature(Item, String) - -Static method in class com.sun.speech.freetts.en.us.FeatureProcessors -
Gets the phoneset feature with the given name -
getPhones(String, String) - -Method in interface com.sun.speech.freetts.lexicon.LetterToSound -
Calculate the phone list for a given word. -
getPhones(String, String) - -Method in class com.sun.speech.freetts.lexicon.LetterToSoundImpl -
Calculates the phone list for a given word. -
getPhones(String, String) - -Method in interface com.sun.speech.freetts.lexicon.Lexicon -
Gets the phone list for a given word. -
getPhones(String, String, boolean) - -Method in interface com.sun.speech.freetts.lexicon.Lexicon -
Gets the phone list for a given word. -
getPhones(String, String) - -Method in class com.sun.speech.freetts.lexicon.LexiconImpl -
Gets the phone list for a given word. -
getPhones(String, String, boolean) - -Method in class com.sun.speech.freetts.lexicon.LexiconImpl -
Gets the phone list for a given word. -
getPhones(Map, String, String) - -Method in class com.sun.speech.freetts.lexicon.LexiconImpl -
Gets a phone list for a word from a given lexicon. -
getPhones(Map, String) - -Method in class com.sun.speech.freetts.lexicon.LexiconImpl -
Gets a phone list for a word from a given lexicon. -
getPhones(String) - -Method in class com.sun.speech.freetts.lexicon.LexiconImpl -
Turns the phone String into a String[], - using " " as the delimiter. -
getPitch() - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerProperties -
Gets the baseline pitch for synthesis. -
getPitch() - -Method in class com.sun.speech.engine.synthesis.BaseVoice -
Gets the pitch for this voice -
getPitch() - -Method in class com.sun.speech.freetts.Voice -
Retreives the baseline pitch. -
getPitchRange() - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerProperties -
Gets the pitch range for synthesis. -
getPitchRange() - -Method in class com.sun.speech.engine.synthesis.BaseVoice -
Gets the pitch range for this voice -
getPitchRange() - -Method in class com.sun.speech.freetts.Voice -
Gets the pitch range. -
getPitchShift() - -Method in class com.sun.speech.freetts.Voice -
Gets the pitch shift. -
getPitchmarkGenerator() - -Method in class com.sun.speech.freetts.en.us.CMUClusterUnitVoice -
Returns the pitch mark generator to be used by this voice. - -
getPitchmarkGenerator() - -Method in class com.sun.speech.freetts.en.us.CMUDiphoneVoice -
Returns the pitch mark generator to be used by this voice. - -
getPitchmarkGenerator() - -Method in class com.sun.speech.freetts.en.us.CMUVoice -
Returns the pitch mark generator to be used by this voice - Derived voices typically override this to customize behaviors. -
getPosition() - -Method in class com.sun.speech.freetts.Token -
Returns the position of this token in the original input text. -
getPostEmphasis() - -Method in class com.sun.speech.freetts.relp.SampleInfo -
Returns the post emphasis -
getPostLexicalAnalyzer() - -Method in class com.sun.speech.freetts.en.us.CMUDiphoneVoice -
Returns the post lexical processor to be used by this voice. - -
getPostLexicalAnalyzer() - -Method in class com.sun.speech.freetts.en.us.CMUTimeVoice -
The FestVox voice does not take advantage of any post lexical - processing. -
getPostLexicalAnalyzer() - -Method in class com.sun.speech.freetts.en.us.CMUVoice -
Returns the post lexical processor to be used by this voice. - -
getPostpunctuation() - -Method in class com.sun.speech.freetts.Token -
Returns the postpunctuation characters of this Token. -
getPrepunctuation() - -Method in class com.sun.speech.freetts.Token -
Returns the prepunctuation characters of this Token. -
getPrevious() - -Method in class com.sun.speech.freetts.Item -
Gets the previous item in this list. -
getProperty(String, String) - -Static method in class com.sun.speech.freetts.util.Utilities -
Gets a property by name and returns its value. -
getQueueItem() - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
Returns, but does not remove, the first item on the queue. -
getRate() - -Method in class com.sun.speech.freetts.Voice -
Gets the rate of speech. -
getRelation(String) - -Method in class com.sun.speech.freetts.Utterance -
Retrieves a relation from this utterance. -
getRenameList() - -Method in class de.dfki.lt.freetts.en.us.MbrolaVoice -
Returns the absolute file name of the MBROLA phonetic symbols - rename table. -
getResidualData() - -Method in class com.sun.speech.freetts.relp.Sample -
Gets the residual data associated with this sample -
getResidualData(int) - -Method in class com.sun.speech.freetts.relp.Sample -
Returns the normalized residual data. -
getResidualFold() - -Method in class com.sun.speech.freetts.relp.SampleInfo -
Returns the residual fold. -
getResidualSize() - -Method in class com.sun.speech.freetts.relp.Sample -
Returns the number of residuals in this Sample. -
getResidualSizes() - -Method in class com.sun.speech.freetts.relp.LPCResult -
Returns the array of residuals sizes. -
getResiduals() - -Method in class com.sun.speech.freetts.relp.LPCResult -
Returns the array of residuals. -
getResource(String) - -Method in class com.sun.speech.freetts.Voice -
Get a resource for this voice. - -
getResource(String) - -Method in class de.dfki.lt.freetts.en.us.MbrolaVoice -
Get a resource for this voice. -
getRunTitle() - -Method in class com.sun.speech.freetts.Voice -
Gets the title for this run. -
getSample(int) - -Method in class com.sun.speech.freetts.relp.SampleSet -
return the sample associated with the index -
getSampleInfo() - -Method in class com.sun.speech.freetts.clunits.ClusterUnitSelector -
Get the sample info for the underlying database. -
getSampleInfo() - -Method in class com.sun.speech.freetts.diphone.DiphoneUnitSelector -
Get the sample info for the underlying database. -
getSampleInfo() - -Method in class com.sun.speech.freetts.relp.SampleSet -
Retrieves the info on this SampleSet -
getSampleRate() - -Method in class com.sun.speech.freetts.relp.LPCResult -
Returns the sample rate. -
getSampleRate() - -Method in class com.sun.speech.freetts.relp.SampleInfo -
Returns the sample rate. -
getSamples() - -Method in class com.sun.speech.freetts.diphone.AliasDiphone -
Returns the samples associated with this diphone. -
getSamples(int) - -Method in class com.sun.speech.freetts.diphone.AliasDiphone -
Returns a particular sample. -
getSamples() - -Method in class com.sun.speech.freetts.diphone.Diphone -
Returns the samples associated with this diphone. -
getSamples(int) - -Method in class com.sun.speech.freetts.diphone.Diphone -
Returns a particular sample. -
getSegmentEnd(Item) - -Static method in class com.sun.speech.freetts.util.SegmentRelationUtils -
Returns the value of the feature end of - the given Segment Item. -
getSharedContents() - -Method in class com.sun.speech.freetts.Item -
Retrieves the shared contents for this item. -
getSilentMode() - -Method in class com.sun.speech.freetts.FreeTTS -
Gets silent mode. -
getSize() - -Method in interface com.sun.speech.freetts.Unit -
Returns the size of this unit. -
getSonority(String) - -Static method in class com.sun.speech.freetts.en.us.CMULexicon -
Determines the sonority for the given phone. -
getSpeakable() - -Method in class com.sun.speech.freetts.Utterance -
Returns the queueitem associated with this utterance. -
getSpeakingRate() - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerProperties -
Gets the current target speaking rate in words per minute. -
getSpeakingRate() - -Method in class com.sun.speech.engine.synthesis.BaseVoice -
Gets the speaking rate for this voice -
getStandardDeviation() - -Method in class com.sun.speech.freetts.PhoneDuration -
Gets the standard deviation from the mean. -
getState(int) - -Method in class com.sun.speech.freetts.lexicon.LetterToSoundImpl -
Gets the State at the given index. -
getState(String) - -Method in class com.sun.speech.freetts.lexicon.LetterToSoundImpl -
Gets the State based upon the String. -
getState(String, StringTokenizer) - -Method in class com.sun.speech.freetts.lexicon.LetterToSoundImpl -
Gets the State based upon the type - and tokenizer. -
getStatePanel() - -Method in class com.sun.speech.engine.EngineMonitor -
Gets the panel containing the labels for representing the - current engine state. -
getStatePanel() - -Method in class com.sun.speech.engine.synthesis.SynthesizerMonitor -
Gets the panel containing the labels for representing the - current engine state. -
getString(String) - -Method in interface com.sun.speech.freetts.FeatureSet -
Convenience method that returns the named feature as a string. -
getString(String) - -Method in class com.sun.speech.freetts.FeatureSetImpl -
Convenience method that returns the named feature as a string. -
getString(String) - -Method in class com.sun.speech.freetts.Utterance -
Convenience method that returns the named feature as a string. - -
getString(DataInputStream) - -Static method in class com.sun.speech.freetts.util.Utilities -
Inputs a string from a DataInputStream. -
getString(ByteBuffer) - -Static method in class com.sun.speech.freetts.util.Utilities -
Inputs a string from a ByteBuffer. -
getStyle() - -Method in class com.sun.speech.freetts.Voice -
Gets the voice style. -
getSynthesizerModeDesc(Component, String) - -Static method in class com.sun.speech.engine.synthesis.SynthesizerSelector -
Asks Central for a list of available synthesizers. - -
getSynthesizerProperties() - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizer -
Returns the SynthesizerProperties object (a JavaBean). - -
getTail() - -Method in class com.sun.speech.freetts.Relation -
Gets the tail of the item list. -
getTail() - -Method in class com.sun.speech.freetts.en.us.WordRelation -
Returns the last item in this WordRelation. -
getText() - -Method in interface com.sun.speech.freetts.FreeTTSSpeakable -
Returns the text corresponding to this Playable. -
getText() - -Method in class com.sun.speech.freetts.FreeTTSSpeakableImpl -
Returns the text corresponding to this Playable. -
getTime() - -Method in interface com.sun.speech.freetts.audio.AudioPlayer -
Gets the amount of audio played since the last resetTime -
getTime() - -Method in class com.sun.speech.freetts.audio.JavaClipAudioPlayer -
Returns the current position in the output stream since the - last resetTime - - Currently not supported. -
getTime() - -Method in class com.sun.speech.freetts.audio.JavaStreamingAudioPlayer -
Gets the amount of played since the last mark -
getTime() - -Method in class com.sun.speech.freetts.audio.MultiFile8BitAudioPlayer -
Gets the amount of played since the last mark -
getTime() - -Method in class com.sun.speech.freetts.audio.MultiFileAudioPlayer -
Gets the amount of played since the last mark -
getTime() - -Method in class com.sun.speech.freetts.audio.NullAudioPlayer -
Gets the amount of played since the last resetTime - Currently not supported. -
getTime() - -Method in class com.sun.speech.freetts.audio.RawFileAudioPlayer -
Gets the amount of played since the last resetTime - Currently not supported. -
getTime() - -Method in class com.sun.speech.freetts.audio.SingleFileAudioPlayer -
Gets the amount of played since the last mark -
getTimer(String) - -Method in class com.sun.speech.freetts.util.BulkTimer -
Gets the timer with the given name. -
getTimes() - -Method in class com.sun.speech.freetts.relp.LPCResult -
Returns the array of times. -
getTokenItem() - -Method in class com.sun.speech.freetts.en.us.TokenToWords -
Returns the currently processing token Item. -
getTokenizer() - -Method in class com.sun.speech.freetts.Voice -
Returns the tokenizer associated with this voice. -
getTokenizer() - -Method in class com.sun.speech.freetts.en.us.CMUVoice -
Gets a tokenizer for this voice -
getTypeString() - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
Gets the type of this queue item. -
getUnit(String) - -Method in class com.sun.speech.freetts.diphone.DiphoneUnitDatabase -
Looks up the diphone with the given name. -
getUnitConcatenator() - -Method in class com.sun.speech.freetts.en.us.CMUClusterUnitVoice -
Returns the unit concatenator to be used by this voice. - -
getUnitConcatenator() - -Method in class com.sun.speech.freetts.en.us.CMUDiphoneVoice -
Returns the unit concatenator to be used by this voice. - -
getUnitConcatenator() - -Method in class com.sun.speech.freetts.en.us.CMUVoice -
Returns the unit concatenator to be used by this voice - Derived voices typically override this to customize behaviors. -
getUnitConcatenator() - -Method in class de.dfki.lt.freetts.en.us.MbrolaVoice -
Returns the unit concatenator to be used by this voice. - -
getUnitSelector() - -Method in class com.sun.speech.freetts.en.us.CMUArcticVoice -
Returns the unit selector to be used by this voice. - -
getUnitSelector() - -Method in class com.sun.speech.freetts.en.us.CMUClusterUnitVoice -
Returns the unit selector to be used by this voice. - -
getUnitSelector() - -Method in class com.sun.speech.freetts.en.us.CMUDiphoneVoice -
Returns the unit selector to be used by this voice. - -
getUnitSelector() - -Method in class com.sun.speech.freetts.en.us.CMUVoice -
Returns the unit selector to be used by this voice - Derived voices typically override this to customize behaviors. -
getUnitSelector() - -Method in class de.dfki.lt.freetts.en.us.MbrolaVoice -
Returns the unit selector to be used by this voice. - -
getUnitSize(int) - -Method in class com.sun.speech.freetts.diphone.AliasDiphone -
Returns the total number of residuals in the given part for this - diphone. -
getUnitSize(int) - -Method in class com.sun.speech.freetts.diphone.Diphone -
Returns the total number of residuals in the given part for this - diphone. -
getUnitSize(int, int) - -Method in class com.sun.speech.freetts.relp.SampleSet -
Returns the size of the unit represented - by the given start and end points -
getUtterance() - -Method in class com.sun.speech.freetts.Item -
Returns the utterance associated with this item. -
getUtterance() - -Method in class com.sun.speech.freetts.Relation -
Returns the utterance that contains this relation. -
getUtteranceProcessors() - -Method in class com.sun.speech.freetts.Voice -
Return the list of UtteranceProcessor instances. -
getVocabManager() - -Method in class com.sun.speech.engine.BaseEngine -
Returns an object that provides management of the vocabulary for - this Engine. -
getVoice() - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerProperties -
Gets the current synthesizer voice. -
getVoice() - -Method in class com.sun.speech.freetts.FreeTTS -
Returns the voice used by FreeTTS. -
getVoice() - -Method in class com.sun.speech.freetts.Utterance -
Retrieves the Voice associated with this Utterance. -
getVoice(String) - -Method in class com.sun.speech.freetts.VoiceManager -
Get a Voice with a given name. -
getVoice() - -Method in class com.sun.speech.freetts.jsapi.FreeTTSVoice -
Gets a FreeTTS com.sun.speech.freetts.Voice from this JSAPI voice -
getVoiceById(String) - -Method in class com.sun.speech.engine.synthesis.VoiceList -
Gets a voice by its identifier. -
getVoiceClassLoader() - -Static method in class com.sun.speech.freetts.VoiceManager -
Gets the class loader used for loading dynamically detected jars. -
getVoiceId(Voice, int) - -Method in class com.sun.speech.engine.synthesis.VoiceList -
Gets the id of a voice. -
getVoiceId(String, int, int, int) - -Method in class com.sun.speech.engine.synthesis.VoiceList -
Gets id for voice based on parameters provided in JSML. - -
getVoiceInfo() - -Method in class com.sun.speech.freetts.VoiceManager -
Prints detailed information about all available voices. -
getVoiceList() - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizer -
Returns the list of voices for this Synthesizer. -
getVoices() - -Method in class com.sun.speech.freetts.VoiceDirectory -
Provide a means to access the voices in a voice jar file. -
getVoices() - -Method in class com.sun.speech.freetts.VoiceManager -
Provide an array of all voices available to FreeTTS. - - -
getVoices() - -Method in class com.sun.speech.freetts.jsapi.FreeTTSSynthesizerModeDesc -
Returns the valid voices in this synthesizer mode. -
getVoices() - -Method in class de.dfki.lt.freetts.en.us.MbrolaVoiceDirectory -
  -
getVolume() - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerProperties -
Gets the current volume. -
getVolume() - -Method in class com.sun.speech.engine.synthesis.BaseVoice -
Gets the volume for this voice -
getVolume() - -Method in class com.sun.speech.freetts.Voice -
Gets the volume. -
getVolume() - -Method in interface com.sun.speech.freetts.audio.AudioPlayer -
Returns the current volume. -
getVolume() - -Method in class com.sun.speech.freetts.audio.JavaClipAudioPlayer -
Returns the current volume. -
getVolume() - -Method in class com.sun.speech.freetts.audio.JavaStreamingAudioPlayer -
Returns the current volume. -
getVolume() - -Method in class com.sun.speech.freetts.audio.MultiFile8BitAudioPlayer -
Returns the current volume. -
getVolume() - -Method in class com.sun.speech.freetts.audio.MultiFileAudioPlayer -
Returns the current volume. -
getVolume() - -Method in class com.sun.speech.freetts.audio.NullAudioPlayer -
Returns the current volume. -
getVolume() - -Method in class com.sun.speech.freetts.audio.RawFileAudioPlayer -
Returns the current volume. -
getVolume() - -Method in class com.sun.speech.freetts.audio.SingleFileAudioPlayer -
Returns the current volume. -
getWaveDumpFile() - -Method in class com.sun.speech.freetts.Voice -
Gets the dumpfile for this voice. -
getWaveSamples() - -Method in class com.sun.speech.freetts.relp.LPCResult -
  -
getWhitespace() - -Method in class com.sun.speech.freetts.Token -
Returns the whitespace characters of this Token. -
getWord() - -Method in class com.sun.speech.freetts.Token -
Returns the string associated with this token. -
-
-

-H

-
-
handleAllocate() - -Method in class com.sun.speech.engine.BaseEngine -
Called from the allocate method. -
handleAllocate() - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizer -
Starts the output thread. -
handleAllocate() - -Method in class com.sun.speech.freetts.jsapi.FreeTTSSynthesizer -
Starts the output thread. -
handleDeallocate() - -Method in class com.sun.speech.engine.BaseEngine -
Called from the deallocate method. -
handleDeallocate() - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizer -
Stops the output thread. -
handleDeallocate() - -Method in class com.sun.speech.freetts.jsapi.FreeTTSSynthesizer -
Handles a deallocation request. -
handleEvent(EngineEvent) - -Method in class com.sun.speech.engine.EngineMonitor -
Handles an event from the engine. -
handleEvent(EngineEvent) - -Method in class com.sun.speech.engine.synthesis.SynthesizerMonitor -
  -
handlePause() - -Method in class com.sun.speech.engine.BaseEngine -
Called from the pause method. -
handlePause() - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizer -
Pauses the output. -
handlePause() - -Method in class com.sun.speech.freetts.jsapi.FreeTTSSynthesizer -
Pauses the output -
handleResume() - -Method in class com.sun.speech.engine.BaseEngine -
Called from the resume method. -
handleResume() - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizer -
Resumes the output. -
handleResume() - -Method in class com.sun.speech.freetts.jsapi.FreeTTSSynthesizer -
Resumes the output -
hasDaughters() - -Method in class com.sun.speech.freetts.Item -
Determines if this item has daughters. -
hasErrors() - -Method in interface com.sun.speech.freetts.Tokenizer -
Returns true if there were errors while reading tokens. -
hasErrors() - -Method in class com.sun.speech.freetts.en.TokenizerImpl -
Returns true if there were errors while reading tokens -
hasMoreTokens() - -Method in interface com.sun.speech.freetts.Tokenizer -
Returns true if there are more tokens, false otherwise. -
hasMoreTokens() - -Method in class com.sun.speech.freetts.en.TokenizerImpl -
Returns true if there are more tokens, - false otherwise. -
hasRelation(String) - -Method in class com.sun.speech.freetts.Utterance -
Determines if this utterance contains a relation with the given - name. -
hasVowel(String[], int) - -Static method in class com.sun.speech.freetts.en.us.CMULexicon -
Determines if there is a vowel in the remainder of the array, - starting at the given index. -
hasVowel(List) - -Static method in class com.sun.speech.freetts.en.us.CMULexicon -
Determines if there is a vowel in given list of phones. -
-
-

-I

-
-
INTERACTIVE - -Static variable in class com.sun.speech.freetts.InputMode -
Indicates that the input is from the keyboard. -
INTERPRET_PATHS_PROPERTY - -Static variable in class com.sun.speech.freetts.PathExtractorImpl -
If this system property is set to true, paths will - not be compiled. -
InputMode - class com.sun.speech.freetts.InputMode.
Specifies the input mode of FreeTTS.
Intonator - class com.sun.speech.freetts.cart.Intonator.
Annotates the Relation.SYLLABLE relations of an - utterance with "accent" - and "endtone" features.
Intonator(CART, CART) - -Constructor for class com.sun.speech.freetts.cart.Intonator -
Creates a new Intonation UtteranceProcessor with the given - CARTs. -
Item - class com.sun.speech.freetts.Item.
Represents a node in a Relation.
Item(Relation, ItemContents) - -Constructor for class com.sun.speech.freetts.Item -
Creates an item. -
ItemContents - class com.sun.speech.freetts.ItemContents.
Contains the information that is shared between multiple items.
ItemContents() - -Constructor for class com.sun.speech.freetts.ItemContents -
Class Constructor. -
interpret(Item) - -Method in interface com.sun.speech.freetts.cart.CART -
Passes the given item through this CART and returns the - interpretation. -
interpret(Item) - -Method in class com.sun.speech.freetts.cart.CARTImpl -
Passes the given item through this CART and returns the - interpretation. -
isAWTRunning() - -Static method in class com.sun.speech.engine.SpeechEventUtilities -
Determine if the AWT event queue is running. -
isBreak() - -Method in interface com.sun.speech.freetts.Tokenizer -
Determines if the current token should start a new sentence. -
isBreak() - -Method in class com.sun.speech.freetts.en.TokenizerImpl -
Determines if the current token should start a new sentence. -
isCancelled() - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
determines if this queue item has been canceled -
isClosed() - -Method in class com.sun.speech.freetts.OutputQueue -
Determines if the queue is closed. -
isCommand(String, int) - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
Determines if the next thing in line is a command. -
isCompleted() - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
returns true if this queue item has been - processed. -
isCompleted() - -Method in interface com.sun.speech.freetts.FreeTTSSpeakable -
Returns true if this queue item has been - processed. -
isCompleted() - -Method in class com.sun.speech.freetts.FreeTTSSpeakableImpl -
Returns true if this queue item has been - processed. -
isDetailedMetrics() - -Method in class com.sun.speech.freetts.Voice -
Gets the state of the detailedMetrics mode. -
isDigit(char) - -Static method in class com.sun.speech.freetts.en.us.NumberExpander -
Returns true if the given character is a digit (0-9 only). -
isDocument() - -Method in interface com.sun.speech.freetts.FreeTTSSpeakable -
Returns true if the item is a JSML document - (Java Speech Markup Language). -
isDocument() - -Method in class com.sun.speech.freetts.FreeTTSSpeakableImpl -
Returns true if the item is a JSML document - (Java Speech Markup Language). -
isDocument() - -Method in class com.sun.speech.freetts.jsapi.FreeTTSSynthesizerQueueItem -
Returns true if the item is a JSML document - (Java Speech Markup Language text). -
isDumpRelations() - -Method in class com.sun.speech.freetts.Voice -
Gets the state of the dumpRelations mode. -
isDumpUtterance() - -Method in class com.sun.speech.freetts.Voice -
Gets the state of the dumpUtterance mode. -
isFirst() - -Method in class com.sun.speech.freetts.Utterance -
Returns true if this utterance is the first is a series of - utterances. -
isLast() - -Method in class com.sun.speech.freetts.Utterance -
Returns true if this utterance is the last is a series of - utterances. -
isLoaded() - -Method in class com.sun.speech.freetts.Voice -
Returns true if this voice is loaded. -
isLoaded() - -Method in interface com.sun.speech.freetts.lexicon.Lexicon -
Determines if this lexicon is loaded. -
isLoaded() - -Method in class com.sun.speech.freetts.lexicon.LexiconImpl -
Determines if this lexicon is loaded. -
isMetrics() - -Method in class com.sun.speech.freetts.Voice -
Gets the state of the metrics mode. -
isPlainText() - -Method in interface com.sun.speech.freetts.FreeTTSSpeakable -
Returns true if the item contains plain text - (not Java Speech Markup Language text). -
isPlainText() - -Method in class com.sun.speech.freetts.FreeTTSSpeakableImpl -
Returns true if the item contains plain text - (not Java Speech Markup Language text). -
isPresent(String) - -Method in interface com.sun.speech.freetts.FeatureSet -
Determines if the given feature is present. -
isPresent(String) - -Method in class com.sun.speech.freetts.FeatureSetImpl -
Determines if the given feature is present. -
isPresent(String) - -Method in class com.sun.speech.freetts.Utterance -
Determines if the given feature is present. -
isPronounceable(String) - -Method in class com.sun.speech.freetts.en.us.TokenToWords -
Returns true if the given word is pronounceable. - -
isQueueEmpty() - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
Determines if the queue is empty. -
isSilence(String) - -Static method in class com.sun.speech.freetts.en.us.CMULexicon -
Determines if the given phone represents a silent phone. -
isStream() - -Method in interface com.sun.speech.freetts.FreeTTSSpeakable -
Returns true if the item is an input stream. -
isStream() - -Method in class com.sun.speech.freetts.FreeTTSSpeakableImpl -
Returns true if the item is an input stream. -
isStream() - -Method in class com.sun.speech.freetts.jsapi.FreeTTSSynthesizerQueueItem -
Returns true if the item is an input stream -
isStressed(String) - -Method in class com.sun.speech.freetts.Segmenter -
Determines if the given phonemene is stressed. - -
isSyllableBoundary(List, String[], int) - -Method in class com.sun.speech.freetts.en.us.CMULexicon -
Determines if the currentPhone represents a new syllable - boundary. -
isSyllableBoundary(List, String[], int) - -Method in interface com.sun.speech.freetts.lexicon.Lexicon -
Determines if the currentWordPhone represents a - new syllable boundary. -
isVerbose() - -Method in class com.sun.speech.freetts.util.BulkTimer -
Checks to see if we are in verbose mode. -
isVowel(String) - -Static method in class com.sun.speech.freetts.en.us.CMULexicon -
Determines if the given phone is a vowel -
isWhitespace(String, int) - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
Determines if there is whitespace at the current index. -
itemNumber - -Static variable in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
Global count of queue items used for debug. -
-
-

-J

-
-
JSML - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
  -
JSMLParser - class com.sun.speech.engine.synthesis.JSMLParser.
Parses a JSML 0.6 document and returns a DOM.
JSMLParser(String, boolean) - -Constructor for class com.sun.speech.engine.synthesis.JSMLParser -
Creates a new JSMLParser for the given JSML - text. -
JSMLParser(URL, boolean) - -Constructor for class com.sun.speech.engine.synthesis.JSMLParser -
Creates a new JSMLParser for the given URL. - -
JSML_ATTRIBUTES - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
  -
JavaClipAudioPlayer - class com.sun.speech.freetts.audio.JavaClipAudioPlayer.
Provides an implementation of AudioPlayer that creates - javax.sound.sampled audio clips and outputs them via the - javax.sound API.
JavaClipAudioPlayer() - -Constructor for class com.sun.speech.freetts.audio.JavaClipAudioPlayer -
Constructs a default JavaClipAudioPlayer -
JavaStreamingAudioPlayer - class com.sun.speech.freetts.audio.JavaStreamingAudioPlayer.
Streams audio to java audio.
JavaStreamingAudioPlayer() - -Constructor for class com.sun.speech.freetts.audio.JavaStreamingAudioPlayer -
Constructs a default JavaStreamingAudioPlayer -
-
-

-K

-
-
kingLike(Item) - -Static method in class com.sun.speech.freetts.en.us.TokenToWords -
Returns true if the given token item contains a token that is - in a king-like context, e.g., "King" or "Louis". -
-
-

-L

-
-
LAZY_COMPILE_PROPERTY - -Static variable in class com.sun.speech.freetts.PathExtractorImpl -
If this system property is set to true, CART feature/item - paths will only be compiled as needed. -
LINES - -Static variable in class com.sun.speech.freetts.InputMode -
Indicates that the input is a set of lines in a file.. -
LOAD - -Static variable in class com.sun.speech.freetts.util.BulkTimer -
A BulkTimer that can be used by classes that need to - time their loading phase. -
LPCResult - class com.sun.speech.freetts.relp.LPCResult.
Contains the result of linear predictive coding processing.
LPCResult() - -Constructor for class com.sun.speech.freetts.relp.LPCResult -
  -
LetterToSound - interface com.sun.speech.freetts.lexicon.LetterToSound.
Provides the phone list for words using letter-to-sound rules.
LetterToSoundImpl - class com.sun.speech.freetts.lexicon.LetterToSoundImpl.
Provides the phone list for words using the CMU6 letter-to-sound - (LTS) rules, which are based on the Black, Lenzo, and Pagel paper, - "Issues in Building General Letter-to-Sound Rules."
LetterToSoundImpl(URL, boolean) - -Constructor for class com.sun.speech.freetts.lexicon.LetterToSoundImpl -
Class constructor. -
Lexicon - interface com.sun.speech.freetts.lexicon.Lexicon.
Provides the phone list for words.
LexiconImpl - class com.sun.speech.freetts.lexicon.LexiconImpl.
Provides an implementation of a Lexicon. - -
LexiconImpl(URL, URL, URL, boolean) - -Constructor for class com.sun.speech.freetts.lexicon.LexiconImpl -
Create a new LexiconImpl by reading from the given URLS. -
LexiconImpl() - -Constructor for class com.sun.speech.freetts.lexicon.LexiconImpl -
Class constructor for an empty Lexicon. -
letterIndex - -Variable in class com.sun.speech.freetts.lexicon.LetterToSoundImpl -
The indexes of the starting points for letters in the state machine. -
linearize(Node, StringBuffer) - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
Appends the text for this node to the given StringBuffer. -
listeners - -Variable in class com.sun.speech.engine.BaseAudioManager -
List of AudioListeners registered for - AudioEvents on this object. -
load() - -Method in class com.sun.speech.freetts.Voice -
Deprecated. As of FreeTTS 1.2, replaced by Voice.allocate(). -
load() - -Method in interface com.sun.speech.freetts.lexicon.Lexicon -
Loads this lexicon. -
load() - -Method in class com.sun.speech.freetts.lexicon.LexiconImpl -
Loads the data for this lexicon. -
loadBinary(ByteBuffer) - -Static method in class com.sun.speech.freetts.cart.CARTImpl -
Loads a CART from the input byte buffer. -
loadBinary(DataInputStream) - -Static method in class com.sun.speech.freetts.cart.CARTImpl -
Loads a CART from the input stream. -
loadBinary(ByteBuffer) - -Static method in class com.sun.speech.freetts.diphone.Diphone -
Loads a new diphone from the given buffer. -
loadBinary(DataInputStream) - -Static method in class com.sun.speech.freetts.diphone.Diphone -
Loads a new diphone from the given DataInputStream. -
loadBinary(ByteBuffer) - -Static method in class com.sun.speech.freetts.relp.Sample -
Loads the samples from the byte bufer -
loadBinary(DataInputStream) - -Static method in class com.sun.speech.freetts.relp.Sample -
Loads the samples from the given channel -
loadTextLexicon(InputStream, int) - -Method in class com.sun.speech.freetts.lexicon.LexiconImpl -
Reads the given input stream as text lexicon data and returns the - results in a Map. -
loader() - -Method in class com.sun.speech.freetts.Voice -
Loads voice specific data. -
loader() - -Method in class com.sun.speech.freetts.en.us.CMUVoice -
Called by Voice during loading, derived voices - should override this to provide customized loading. -
-
-

-M

-
-
MAGIC - -Static variable in class com.sun.speech.freetts.diphone.Diphone -
  -
MALE - -Static variable in class com.sun.speech.freetts.Gender -
Male. -
MARKER - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
  -
MARKER_ATTRIBUTES - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
  -
MIDDLE_ADULT - -Static variable in class com.sun.speech.freetts.Age -
Age roughly 40 to 60 years. -
MbrolaAudioOutput - class de.dfki.lt.freetts.mbrola.MbrolaAudioOutput.
Supports generating audio output from an MBROLA-synthesized utterance.
MbrolaAudioOutput() - -Constructor for class de.dfki.lt.freetts.mbrola.MbrolaAudioOutput -
  -
MbrolaCaller - class de.dfki.lt.freetts.mbrola.MbrolaCaller.
Calls external MBROLA binary to synthesise the utterance.
MbrolaCaller(String[]) - -Constructor for class de.dfki.lt.freetts.mbrola.MbrolaCaller -
Create an Mbrola caller which will call an external MBROLA binary - using the command cmd. -
MbrolaVoice - class de.dfki.lt.freetts.en.us.MbrolaVoice.
Defines an unlimited-domain diphone synthesis based voice using - the MBROLA synthesis.
MbrolaVoice(String, String, float, float, float, String, Gender, Age, String, Locale, String, String, CMULexicon) - -Constructor for class de.dfki.lt.freetts.en.us.MbrolaVoice -
Creates an MbrolaVoice. -
MbrolaVoiceDirectory - class de.dfki.lt.freetts.en.us.MbrolaVoiceDirectory.
Provides access to MBROLA voices.
MbrolaVoiceDirectory() - -Constructor for class de.dfki.lt.freetts.en.us.MbrolaVoiceDirectory -
  -
MbrolaVoiceValidator - class de.dfki.lt.freetts.en.us.MbrolaVoiceValidator.
Shows this MbrolaVoice is valid (or usable).
MbrolaVoiceValidator(MbrolaVoice) - -Constructor for class de.dfki.lt.freetts.en.us.MbrolaVoiceValidator -
  -
MultiFile8BitAudioPlayer - class com.sun.speech.freetts.audio.MultiFile8BitAudioPlayer.
Streams audio to multiple files as 8-bit samples, one per utterance. -
MultiFile8BitAudioPlayer() - -Constructor for class com.sun.speech.freetts.audio.MultiFile8BitAudioPlayer -
Creates a default audio player for an AudioFileFormat of type - WAVE. -
MultiFile8BitAudioPlayer(String, AudioFileFormat.Type) - -Constructor for class com.sun.speech.freetts.audio.MultiFile8BitAudioPlayer -
Constructs a MultiFile8BitAudioPlayer -
MultiFileAudioPlayer - class com.sun.speech.freetts.audio.MultiFileAudioPlayer.
Streams audio to multiple files, one per utterance.
MultiFileAudioPlayer() - -Constructor for class com.sun.speech.freetts.audio.MultiFileAudioPlayer -
Creates a default audio player for an AudioFileFormat of type - WAVE. -
MultiFileAudioPlayer(String, AudioFileFormat.Type) - -Constructor for class com.sun.speech.freetts.audio.MultiFileAudioPlayer -
Constructs a MultiFileAudioPlayer -
main(String[]) - -Static method in class com.sun.speech.freetts.FreeTTS -
The main entry point for FreeTTS. -
main(String[]) - -Static method in class com.sun.speech.freetts.FreeTTSTime -
The main entry point for FreeTTSTime. -
main(String[]) - -Static method in class com.sun.speech.freetts.VoiceDirectory -
The main function must be implemented by subclasses to print - out information about provided voices. -
main(String[]) - -Static method in class com.sun.speech.freetts.clunits.ClusterUnitDatabase -
Manipulates a ClusterUnitDatabase. - - -
main(String[]) - -Static method in class com.sun.speech.freetts.diphone.DiphoneUnitDatabase -
Manipulates a DiphoneUnitDatabase. -
main(String[]) - -Static method in class com.sun.speech.freetts.en.us.CMULexicon -
Provides test code for the CMULexicon. - -
main(String[]) - -Static method in class com.sun.speech.freetts.lexicon.LetterToSoundImpl -
Translates between text and binary forms of the CMU6 LTS rules. -
main(String[]) - -Static method in class com.sun.speech.freetts.util.Timer -
The main program for performing simple tests. -
main(String[]) - -Static method in class com.sun.speech.freetts.util.WaveUtils -
Provides test program for method ulawToShort(). -
main(String[]) - -Static method in class de.dfki.lt.freetts.en.us.MbrolaVoiceDirectory -
Prints out the MBROLA voices. -
-
-

-N

-
-
NAME_LENGTH - -Static variable in class com.sun.speech.freetts.diphone.Diphone -
  -
NEUTRAL - -Static variable in class com.sun.speech.freetts.Age -
An Age that is indeterminate. -
NEUTRAL - -Static variable in class com.sun.speech.freetts.Gender -
Neutral such as a robot or artificial. -
NONE - -Static variable in class com.sun.speech.freetts.InputMode -
Indicates that there is no input mode -
NullAudioPlayer - class com.sun.speech.freetts.audio.NullAudioPlayer.
Provides an implementation of AudioPlayer that sends - all audio data to the bit bucket.
NullAudioPlayer() - -Constructor for class com.sun.speech.freetts.audio.NullAudioPlayer -
Constructs a NullAudioPlayer -
NumberExpander - class com.sun.speech.freetts.en.us.NumberExpander.
Expands Strings containing digits characters into - a list of words representing those digits. - -
nearestSample(float, int) - -Method in class com.sun.speech.freetts.diphone.AliasDiphone -
Returns the sample that is closest to uIndex. -
nearestSample(float, int) - -Method in class com.sun.speech.freetts.diphone.Diphone -
Returns the sample that is closest to uIndex. -
-
-

-O

-
-
OLDER_ADULT - -Static variable in class com.sun.speech.freetts.Age -
Age roughly 60 years and up. -
OutputQueue - class com.sun.speech.freetts.OutputQueue.
Manages a process queue for utterances.
OutputQueue(int) - -Constructor for class com.sun.speech.freetts.OutputQueue -
Creates an OutputQueue with the given size. -
OutputQueue() - -Constructor for class com.sun.speech.freetts.OutputQueue -
Creates a queue with the default size. -
outString(DataOutputStream, String) - -Static method in class com.sun.speech.freetts.util.Utilities -
Outputs a string to the given stream. -
outputItem(TextSynthesizerQueueItem) - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
Starts outputting the item. -
-
-

-P

-
-
PAUSE - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
  -
PHONEME - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
  -
PHONEME_ATTRIBUTES - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
  -
PHRASE - -Static variable in class com.sun.speech.freetts.Relation -
Name of the relation that groups elements from the Word relation - into phrases. -
PREPUNCTUATION_SYMBOLS - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
pre-punctuation regular expression pattern -
PROP_OUTPUT_LPC - -Static variable in class com.sun.speech.freetts.relp.UnitConcatenator -
  -
PROP_PREFIX - -Static variable in class com.sun.speech.freetts.Voice -
Prefix for System property names. -
PROSODY - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
  -
PROSODY_ATTRIBUTES - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
  -
PUNCTUATION_SYMBOLS - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
punctuation regular expression pattern -
ParametersToMbrolaConverter - class de.dfki.lt.freetts.mbrola.ParametersToMbrolaConverter.
Utterance processor converting phoneme timing and f0-time targets - into MBROLA format.
ParametersToMbrolaConverter() - -Constructor for class de.dfki.lt.freetts.mbrola.ParametersToMbrolaConverter -
  -
PartOfSpeech - interface com.sun.speech.freetts.PartOfSpeech.
Determines the part of speech of a word.
PartOfSpeechImpl - class com.sun.speech.freetts.PartOfSpeechImpl.
Implementation of a PartOfSpeech that reads the info - from a file.
PartOfSpeechImpl(URL, String) - -Constructor for class com.sun.speech.freetts.PartOfSpeechImpl -
Creates a new PartOfSpeechImpl by reading from the given URL. -
PartOfSpeechTagger - class com.sun.speech.freetts.en.PartOfSpeechTagger.
Tags the words in the utterance with their part-of-speech. -
PartOfSpeechTagger() - -Constructor for class com.sun.speech.freetts.en.PartOfSpeechTagger -
Constructs a PartOfSpeechTagger -
PathExtractor - interface com.sun.speech.freetts.PathExtractor.
Manages a feature or item path.
PathExtractorImpl - class com.sun.speech.freetts.PathExtractorImpl.
Interface that Manages a feature or item path.
PathExtractorImpl(String, boolean) - -Constructor for class com.sun.speech.freetts.PathExtractorImpl -
Creates a path for the given feature. -
PauseGenerator - class com.sun.speech.freetts.en.PauseGenerator.
Annotates an utterance with pause information.
PauseGenerator() - -Constructor for class com.sun.speech.freetts.en.PauseGenerator -
Constructs a PauseGenerator -
PhoneDuration - class com.sun.speech.freetts.PhoneDuration.
Maintains the mean duration and standard deviation about a phone. -
PhoneDuration(float, float) - -Constructor for class com.sun.speech.freetts.PhoneDuration -
Creates a new PhoneDuration with the given mean - and standard deviation. -
PhoneDurations - interface com.sun.speech.freetts.PhoneDurations.
Maintains a set of PhoneDuration instances indexed by - phone.
PhoneDurationsImpl - class com.sun.speech.freetts.PhoneDurationsImpl.
Maintains set of PhoneDuration instances read in from a file.
PhoneDurationsImpl(URL) - -Constructor for class com.sun.speech.freetts.PhoneDurationsImpl -
Creates a new PhoneDurationsImpl by reading from the given URL. -
PhoneSet - interface com.sun.speech.freetts.PhoneSet.
Maintains a list of phones with various features for those phones.
PhoneSetImpl - class com.sun.speech.freetts.PhoneSetImpl.
Implementation of a PhoneSet that reads the info from - a file.
PhoneSetImpl(URL) - -Constructor for class com.sun.speech.freetts.PhoneSetImpl -
Create a new PhoneSetImpl by reading from the - given URL. -
Phraser - class com.sun.speech.freetts.cart.Phraser.
Creates a Relation.PHRASE relation, grouping - Relation.WORD relations by breaks.
Phraser(CART) - -Constructor for class com.sun.speech.freetts.cart.Phraser -
Creates a new Phrasing UtteranceProcessor with the given - CART. -
PostLexicalAnalyzer - class com.sun.speech.freetts.en.PostLexicalAnalyzer.
Annotates the utterance with post lexical information.
PostLexicalAnalyzer() - -Constructor for class com.sun.speech.freetts.en.PostLexicalAnalyzer -
Constructs a PostLexicalAnalyzer -
PrefixFSM - class com.sun.speech.freetts.en.us.PrefixFSM.
Implements a finite state machine that checks if a given string - is a prefix.
PrefixFSM(URL) - -Constructor for class com.sun.speech.freetts.en.us.PrefixFSM -
Constructs a PrefixFSM. -
ProcessException - exception com.sun.speech.freetts.ProcessException.
Thrown by an UtteranceProcessor if any errors - are encountered while processing an Utterance.
ProcessException(String) - -Constructor for class com.sun.speech.freetts.ProcessException -
Class constructor. -
PronounceableFSM - class com.sun.speech.freetts.en.us.PronounceableFSM.
Implements a finite state machine that checks if a given string - is pronounceable.
PronounceableFSM(URL, boolean) - -Constructor for class com.sun.speech.freetts.en.us.PronounceableFSM -
Constructs a PronounceableFSM with information in the given URL. -
PronounceableFSM(int, int[], boolean) - -Constructor for class com.sun.speech.freetts.en.us.PronounceableFSM -
Constructs a PronounceableFSM with the given attributes. -
pad(int) - -Static method in class com.sun.speech.freetts.util.Utilities -
Returns a string with the given number of - spaces. -
pad(String, int) - -Static method in class com.sun.speech.freetts.util.Utilities -
Pads with spaces or truncates the given string to guarantee that it is - exactly the desired length. -
parse(InputSource, boolean) - -Method in class com.sun.speech.engine.synthesis.JSMLParser -
Parses the source and optionally validates it. -
parseAndAdd(String) - -Method in class com.sun.speech.freetts.cart.CARTImpl -
Creates a node from the given input line and add it to the CART. - -
parseAndAdd(List, String) - -Method in class com.sun.speech.freetts.en.ContourGenerator -
Parses the line into an F0ModelTerm. -
parseAndAdd(String) - -Method in class com.sun.speech.freetts.lexicon.LetterToSoundImpl -
Creates a word from the given input line and add it to the state - machine. -
parseAndAdd(Map, String) - -Method in class com.sun.speech.freetts.lexicon.LexiconImpl -
Creates a word from the given input line and add it to the lexicon. -
parseValue(String) - -Method in class com.sun.speech.freetts.cart.CARTImpl -
Coerces a string into a value. -
pause() - -Method in class com.sun.speech.engine.BaseEngine -
Pauses the audio stream for this Engine and put - this Engine into the PAUSED state. -
pause() - -Method in interface com.sun.speech.freetts.audio.AudioPlayer -
Pauses all audio output on this player. -
pause() - -Method in class com.sun.speech.freetts.audio.JavaClipAudioPlayer -
Pauses audio output. -
pause() - -Method in class com.sun.speech.freetts.audio.JavaStreamingAudioPlayer -
Pauses audio output -
pause() - -Method in class com.sun.speech.freetts.audio.MultiFile8BitAudioPlayer -
Pauses audio output -
pause() - -Method in class com.sun.speech.freetts.audio.MultiFileAudioPlayer -
Pauses audio output -
pause() - -Method in class com.sun.speech.freetts.audio.NullAudioPlayer -
Pauses the audio output -
pause() - -Method in class com.sun.speech.freetts.audio.RawFileAudioPlayer -
Pauses the audio output -
pause() - -Method in class com.sun.speech.freetts.audio.SingleFileAudioPlayer -
Pauses audio output -
pauseItem() - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
Pauses the output. -
pausedLabel - -Variable in class com.sun.speech.engine.EngineMonitor -
The label containing the string "paused". -
pend() - -Method in class com.sun.speech.freetts.OutputQueue -
Blocks until there is an utterance in the queue. -
phoneme(String) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizer -
Optional method that converts a text string to a phoneme string. -
playWave(AudioPlayer, Utterance) - -Method in class com.sun.speech.freetts.relp.LPCResult -
Synthesize a Wave from this LPCResult -
post(Utterance) - -Method in class com.sun.speech.freetts.OutputQueue -
Posts the given utterance to the queue. -
postEngineAllocated(long, long) - -Method in class com.sun.speech.engine.BaseEngine -
Utility function that generates an - ENGINE_ALLOCATED event and posts it - to the event queue. -
postEngineAllocatingResources(long, long) - -Method in class com.sun.speech.engine.BaseEngine -
Utility function that generates an - ENGINE_ALLOCATING_RESOURCES event and - posts it to the event queue. -
postEngineDeallocated(long, long) - -Method in class com.sun.speech.engine.BaseEngine -
Utility function that generates an - ENGINE_DEALLOCATED event and posts it - to the event queue. -
postEngineDeallocatingResources(long, long) - -Method in class com.sun.speech.engine.BaseEngine -
Utility function that generates - ENGINE_DEALLOCATING_RESOURCES event and - posts it to the event queue. -
postEnginePaused(long, long) - -Method in class com.sun.speech.engine.BaseEngine -
Utility function that generates an - ENGINE_PAUSED event and posts it - to the event queue. -
postEngineResumed(long, long) - -Method in class com.sun.speech.engine.BaseEngine -
Utility function that generates an ENGINE_RESUMED - event and posts it to the event queue. -
postMarkerReached(String, int) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
Utility function that generates a - MARKER_REACHED event and posts it - to the event queue. -
postPropertyChangeEvent(String, Object, Object) - -Method in class com.sun.speech.engine.BaseEngineProperties -
Generates a - PropertyChangeEvent for an Object value - and posts it to the event queue. -
postPropertyChangeEvent(String, float, float) - -Method in class com.sun.speech.engine.BaseEngineProperties -
Generates a - PropertyChangeEvent for a float value - and posts it to the event queue. -
postPropertyChangeEvent(String, int, int) - -Method in class com.sun.speech.engine.BaseEngineProperties -
Generates a - PropertyChangeEvent for a int value - and posts it to the event queue. -
postPropertyChangeEvent(String, boolean, boolean) - -Method in class com.sun.speech.engine.BaseEngineProperties -
Generates a - PropertyChangeEvent for a boolean value - and posts it to the event queue. -
postQueueEmptied(long, long) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizer -
Utility function that generates QUEUE_EMPTIED - event and posts it to the event queue. -
postQueueUpdated(boolean, long, long) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizer -
Utility function that generates QUEUE_UPDATED - event and posts it to the event queue. -
postSpeakableCancelled() - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
Utility function that generates a - SPEAKABLE_CANCELLED event and posts it - to the event queue. -
postSpeakableEnded() - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
Utility function that generates a - SPEAKABLE_ENDED event and posts it - to the event queue. -
postSpeakablePaused() - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
Utility function that generates a - SPEAKABLE_PAUSED event and posts it - to the event queue. -
postSpeakableResumed() - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
Utility function that generates a - SPEAKABLE_RESUMED event and posts it - to the event queue. -
postSpeakableStarted() - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
Utility function that generates a - SPEAKABLE_STARTED event and posts it - to the event queue. -
postSpeechEvent(SpeechEventDispatcher, SpeechEvent) - -Static method in class com.sun.speech.engine.SpeechEventUtilities -
Post a JSAPI SpeechEvent. -
postSpeechEvent(SpeechEventDispatcher, SpeechEvent, boolean) - -Static method in class com.sun.speech.engine.SpeechEventUtilities -
Post a JSAPI SpeechEvent. -
postTopOfQueue() - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
Utility function that generates a - TOP_OF_QUEUE event and posts it - to the event queue. -
postWordStarted(String, int, int) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
Utility function that generates a - WORD_STARTED event and posts it - to the event queue. -
prependItem(Item) - -Method in class com.sun.speech.freetts.Item -
Prepends an item in this list before this item. -
process(Item) - -Method in interface com.sun.speech.freetts.FeatureProcessor -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.Accented -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.AccentedSylIn -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.Gpos -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.LastAccent -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.MonthRange -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.NumDigits -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.PH_CPlace -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.PH_CType -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.PH_CVox -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.PH_VC -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.PH_VFront -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.PH_VHeight -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.PH_VLength -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.PH_VRnd -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.PosInSyl -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.PositionType -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.SegCodaFric -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.SegCodaGlide -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.SegCodaNasal -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.SegCodaStop -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.SegOnsetCoda -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.SegOnsetFric -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.SegOnsetGlide -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.SegOnsetNasal -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.SegOnsetStop -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.SegmentDuration -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.StressedSylIn -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.StressedSylOut -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.SubPhrases -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.SylBreak -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.SylCodaSize -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.SylIn -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.SylOnsetSize -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.SylOut -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.TokenPosGuess -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.WordBreak -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.WordNumSyls -
Performs some processing on the given item. -
process(Item) - -Method in class com.sun.speech.freetts.en.us.FeatureProcessors.WordPunc -
Performs some processing on the given item. -
processAttributes(Element, String[]) - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
Gets the list of attributes of the element and returns them in - a StringBuffer. -
processCommand(TextSynthesizerQueueItem, String, int) - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
Attempts to process a command starting at the next character - in the synthesizer text. -
processElement(Element, StringBuffer) - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
Adds any commands for this element and returns any text that might - be needed to undo the effects of this element after it is processed. -
processEvent(AWTEvent) - -Method in class com.sun.speech.engine.SpeechEventUtilities.SpeechAWTEventTarget -
  -
processNode(Node, StringBuffer) - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
Adds text for just this node, and returns any text that might - be needed to undo the effects of this node after it is - processed. -
processNode(Node, StringBuffer) - -Method in class com.sun.speech.freetts.Voice -
Adds text for just this node and returns any text that might - be needed to undo the effects of this node after it is - processed. -
processNormalText(TextSynthesizerQueueItem, String, int) - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
Processes next set of characters in output up to whitespace - or next '/' that could indicate the start of a command. -
processUtterance(Utterance) - -Method in class com.sun.speech.freetts.Segmenter -
Annotates an utterance with Relation.SYLLABLE, - Relation.SYLLABLE_STRUCTURE, and - Relation.SEGMENT. -
processUtterance(Utterance) - -Method in interface com.sun.speech.freetts.UtteranceProcessor -
Performs an operation on the given Utterance. -
processUtterance(Utterance) - -Method in class com.sun.speech.freetts.Voice -
Processes the given Utterance by passing it to each - UtteranceProcessor managed by this Voice. -
processUtterance(Utterance) - -Method in class com.sun.speech.freetts.cart.Durator -
Annotates the Relation.SEGMENT relations with - cumulative "end" time - features based on phone durations. -
processUtterance(Utterance) - -Method in class com.sun.speech.freetts.cart.Intonator -
Annotates the Relation.SYLLABLE relations of an - utterance with "accent" - and "endtone" features. -
processUtterance(Utterance) - -Method in class com.sun.speech.freetts.cart.Phraser -
Creates a Relation.PHRASE relation, grouping - Relation.WORD relations by breaks. - -
processUtterance(Utterance) - -Method in class com.sun.speech.freetts.clunits.ClusterUnitPitchmarkGenerator -
Calculates the pitchmarks for the utterance and adds them as - an LPCResult to the Utterance in a relation named - "target_lpcres". -
processUtterance(Utterance) - -Method in class com.sun.speech.freetts.clunits.ClusterUnitSelector -
Generates the Unit Relation from the Segment Relation. - -
processUtterance(Utterance) - -Method in class com.sun.speech.freetts.diphone.DiphonePitchmarkGenerator -
Generates the LPCResult for this utterance. -
processUtterance(Utterance) - -Method in class com.sun.speech.freetts.diphone.DiphoneUnitSelector -
Generates the Unit Relation from the Segment Relation. -
processUtterance(Utterance) - -Method in class com.sun.speech.freetts.en.ContourGenerator -
Generates the F0 contour for the utterance. -
processUtterance(Utterance) - -Method in class com.sun.speech.freetts.en.PartOfSpeechTagger -
Tags the utterance with part-of-speech information. -
processUtterance(Utterance) - -Method in class com.sun.speech.freetts.en.PauseGenerator -
Annotates an utterance with pause information. -
processUtterance(Utterance) - -Method in class com.sun.speech.freetts.en.PostLexicalAnalyzer -
Performs the post lexical processing. -
processUtterance(Utterance) - -Method in class com.sun.speech.freetts.en.us.TokenToWords -
process the utterance -
processUtterance(Utterance) - -Method in class com.sun.speech.freetts.relp.AudioOutput -
Generates audio waves for the given Utterance. -
processUtterance(Utterance) - -Method in class com.sun.speech.freetts.relp.UnitConcatenator -
Concatenate the Units in the given Utterance to the target_lpc - result. -
processUtterance(Utterance) - -Method in class de.dfki.lt.freetts.mbrola.MbrolaAudioOutput -
Reads audio data generated by the external MBROLA binary for the given - Utterance. -
processUtterance(Utterance) - -Method in class de.dfki.lt.freetts.mbrola.MbrolaCaller -
Call external MBROLA binary to synthesize the utterance. -
processUtterance(Utterance) - -Method in class de.dfki.lt.freetts.mbrola.ParametersToMbrolaConverter -
Convert phoneme timing and f0-time targets - into MBROLA format. -
processWhitespace(String, int) - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
Processes whitespace at the current index in the synthesizer text. - -
propertyChangeListeners - -Variable in class com.sun.speech.engine.BaseEngineProperties -
List of PropertyChangeListeners registered for - PropertyChangeEvents on this object. -
-
-

-Q

-
-
queue - -Variable in class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
Internal speech output queue that will contain a set of - TextSynthesizerQueueItems. -
queueEmptyLabel - -Variable in class com.sun.speech.engine.synthesis.SynthesizerMonitor -
Label containing "queue empty" -
queueNotEmptyLabel - -Variable in class com.sun.speech.engine.synthesis.SynthesizerMonitor -
Label containing "queue not empty" -
queueSizeLabel - -Variable in class com.sun.speech.engine.synthesis.SynthesizerMonitor -
Label containing "queue size" -
-
-

-R

-
-
RESUME - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
  -
RX_ALPHABET - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
letter regular expression pattern -
RX_ALPHANUMERIC - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
alphanumeric regular expression pattern -
RX_COMMAINT - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
comma separated integer regular expression pattern -
RX_DEFAULT_DIGITS2DASH - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
default digits2dash (e.g. 999-999-999) regular expression -
RX_DEFAULT_DIGITSSLASHDIGITS - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
default digits/digits (e.g. 999/999) regular expression -
RX_DEFAULT_DRST - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
default drst "Dr. -
RX_DEFAULT_FOUR_DIGIT - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
default 4-digit number -
RX_DEFAULT_HAS_VOWEL - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
default has-vowel regular expression -
RX_DEFAULT_ILLION - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
default -illion regular expression -
RX_DEFAULT_NUMBER_TIME - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
default number time regular expression -
RX_DEFAULT_NUMESS - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
default numess -
RX_DEFAULT_ROMAN_NUMBER - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
default Roman numerals regular expression -
RX_DEFAULT_SEVEN_DIGIT_PHONE_NUMBER - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
default 7-digit phone number -
RX_DEFAULT_THREE_DIGIT - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
default 3-digit number -
RX_DEFAULT_US_EN_ALPHABET - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
default letter regular expression pattern -
RX_DEFAULT_US_EN_ALPHANUMERIC - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
default alpha-numeric regular expression pattern -
RX_DEFAULT_US_EN_COMMAINT - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
default integer with commas regular expression pattern -
RX_DEFAULT_US_EN_DIGITS - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
default digits regular expression pattern -
RX_DEFAULT_US_EN_DOTTED_ABBREV - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
default dotted abbreviation regular expression pattern -
RX_DEFAULT_US_EN_DOUBLE - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
default double regular expression pattern -
RX_DEFAULT_US_EN_IDENTIFIER - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
default identifier regular expression pattern -
RX_DEFAULT_US_EN_INT - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
default integer regular expression pattern -
RX_DEFAULT_US_EN_LOWERCASE - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
default lowercase regular expression pattern -
RX_DEFAULT_US_EN_ORDINAL_NUMBER - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
default ordinal number regular expression pattern -
RX_DEFAULT_US_EN_UPPERCASE - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
default uppercase regular expression pattern -
RX_DEFAULT_US_EN_WHITESPACE - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
default whitespace regular expression pattern -
RX_DEFAULT_US_MONEY - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
default US money regular expression -
RX_DIGITS - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
digits regular expression pattern -
RX_DIGITS2DASH - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
digits2dash (e.g. 999-999-999) regular expression -
RX_DIGITSSLASHDIGITS - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
digits/digits (e.g. 999/999) regular expression -
RX_DOTTED_ABBREV - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
dotted abbreviation regular expression pattern -
RX_DOUBLE - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
double regular expression pattern -
RX_DRST - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
drst "Dr. -
RX_FOUR_DIGIT - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
4-digit number -
RX_HAS_VOWEL - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
has-vowel regular expression -
RX_IDENTIFIER - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
identifier regular expression pattern -
RX_ILLION - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
-illion regular expression -
RX_INT - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
integer regular expression pattern -
RX_LOWERCASE - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
lowercase regular expression pattern -
RX_NUMBER_TIME - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
number time regular expression -
RX_NUMESS - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
default numess -
RX_ORDINAL_NUMBER - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
ordinal number regular expression pattern -
RX_ROMAN_NUMBER - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
Roman numerals regular expression -
RX_SEVEN_DIGIT_PHONE_NUMBER - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
7-digit phone number -
RX_THREE_DIGIT - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
3-digit number -
RX_UPPERCASE - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
uppercase regular expression pattern -
RX_US_MONEY - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
US money regular expression -
RX_WHITESPACE - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
whitespace regular expression pattern -
RawFileAudioPlayer - class com.sun.speech.freetts.audio.RawFileAudioPlayer.
Provides an implementation of AudioPlayer that sends - all audio data to the given file.
RawFileAudioPlayer() - -Constructor for class com.sun.speech.freetts.audio.RawFileAudioPlayer -
Creates a default audio player for an AudioFileFormat of type - WAVE. -
RawFileAudioPlayer(String) - -Constructor for class com.sun.speech.freetts.audio.RawFileAudioPlayer -
Constructs a NullAudioPlayer -
Relation - class com.sun.speech.freetts.Relation.
Represents an ordered set of Items and their associated - children.
remove(String) - -Method in interface com.sun.speech.freetts.FeatureSet -
Removes the named feature from this set of features. -
remove(String) - -Method in class com.sun.speech.freetts.FeatureSetImpl -
Removes the named feature from this set of features. -
remove(String) - -Method in class com.sun.speech.freetts.Utterance -
Removes the named feature from this set of features. -
removeAddendum(String, String) - -Method in interface com.sun.speech.freetts.lexicon.Lexicon -
Removes a word from the addenda. -
removeAddendum(String, String) - -Method in class com.sun.speech.freetts.lexicon.LexiconImpl -
Removes a word from the addenda. -
removeAll() - -Method in class com.sun.speech.freetts.OutputQueue -
Removes all items from this OutputQueue. -
removeAudioListener(AudioListener) - -Method in class com.sun.speech.engine.BaseAudioManager -
Removes an AudioListener from the list of - AudioListeners. -
removeEngineListener(EngineListener) - -Method in class com.sun.speech.engine.BaseEngine -
Removes an EngineListener from the list of - EngineListeners. -
removeItemRelation(String) - -Method in class com.sun.speech.freetts.ItemContents -
Removes the relation/item mapping from this ItemContents. -
removePropertyChangeListener(PropertyChangeListener) - -Method in class com.sun.speech.engine.BaseEngineProperties -
Removes a PropertyChangeListener from the listener - list. -
removeSpeakableListener(SpeakableListener) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizer -
Removes a SpeakableListener from this - Synthesizer. -
removeVoice(BaseVoice) - -Method in class com.sun.speech.engine.synthesis.VoiceList -
Removes a voice from the list. -
reset() - -Method in class com.sun.speech.engine.BaseEngineProperties -
Returns all properties to reasonable defaults - for the Engine. -
reset() - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerProperties -
Resets all properties to their default values. -
reset() - -Method in interface com.sun.speech.freetts.audio.AudioPlayer -
Prepares for another batch of output. -
reset() - -Method in class com.sun.speech.freetts.audio.JavaClipAudioPlayer -
Prepares for another batch of output. -
reset() - -Method in class com.sun.speech.freetts.audio.JavaStreamingAudioPlayer -
Prepares for another batch of output. -
reset() - -Method in class com.sun.speech.freetts.audio.MultiFile8BitAudioPlayer -
Prepares for another batch of output. -
reset() - -Method in class com.sun.speech.freetts.audio.MultiFileAudioPlayer -
Prepares for another batch of output. -
reset() - -Method in class com.sun.speech.freetts.audio.NullAudioPlayer -
Prepares for another batch of output. -
reset() - -Method in class com.sun.speech.freetts.audio.RawFileAudioPlayer -
Prepares for another batch of output. -
reset() - -Method in class com.sun.speech.freetts.audio.SingleFileAudioPlayer -
Prepares for another batch of output. -
reset() - -Method in class com.sun.speech.freetts.util.Timer -
Resets the timer as if it has never run before. -
resetTime() - -Method in interface com.sun.speech.freetts.audio.AudioPlayer -
Resets the audio clock -
resetTime() - -Method in class com.sun.speech.freetts.audio.JavaClipAudioPlayer -
Resets the time for this audio stream to zero -
resetTime() - -Method in class com.sun.speech.freetts.audio.JavaStreamingAudioPlayer -
Resets the audio clock -
resetTime() - -Method in class com.sun.speech.freetts.audio.MultiFile8BitAudioPlayer -
Resets the audio clock -
resetTime() - -Method in class com.sun.speech.freetts.audio.MultiFileAudioPlayer -
Resets the audio clock -
resetTime() - -Method in class com.sun.speech.freetts.audio.NullAudioPlayer -
Resets the audio clock -
resetTime() - -Method in class com.sun.speech.freetts.audio.RawFileAudioPlayer -
Resets the audio clock -
resetTime() - -Method in class com.sun.speech.freetts.audio.SingleFileAudioPlayer -
Resets the audio clock -
resizeFrames(int) - -Method in class com.sun.speech.freetts.relp.LPCResult -
Resets the number of frames in this LPCResult. -
resizeResiduals(int) - -Method in class com.sun.speech.freetts.relp.LPCResult -
Resets the number of residuals, and initialize all of them to 255 - (which is 0 for mulaw). -
resume() - -Method in class com.sun.speech.engine.BaseEngine -
Resumes the audio stream for this Engine and put - this Engine into the RESUMED state. -
resume() - -Method in interface com.sun.speech.freetts.audio.AudioPlayer -
Resumes audio output on this player -
resume() - -Method in class com.sun.speech.freetts.audio.JavaClipAudioPlayer -
Resumes playing audio after a pause. -
resume() - -Method in class com.sun.speech.freetts.audio.JavaStreamingAudioPlayer -
Resumes audio output -
resume() - -Method in class com.sun.speech.freetts.audio.MultiFile8BitAudioPlayer -
Resumes audio output -
resume() - -Method in class com.sun.speech.freetts.audio.MultiFileAudioPlayer -
Resumes audio output -
resume() - -Method in class com.sun.speech.freetts.audio.NullAudioPlayer -
Resumes audio output -
resume() - -Method in class com.sun.speech.freetts.audio.RawFileAudioPlayer -
Resumes audio output -
resume() - -Method in class com.sun.speech.freetts.audio.SingleFileAudioPlayer -
Resumes audio output -
resumeItem() - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
Resumes the output. -
resumedLabel - -Variable in class com.sun.speech.engine.EngineMonitor -
The label containing the string "resumed". -
run() - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
Controls output of text until terminate is called. -
-
-

-S

-
-
SAYAS - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
  -
SAYAS_ATTRIBUTES - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
  -
SEGMENT - -Static variable in class com.sun.speech.freetts.Relation -
Name of the relation that contains the ordered list of the - smallest units of speech (typically phonemes) for the entire - utterance. -
SINGLE_CHAR_SYMBOLS - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
single char symbols regular expression pattern -
SYLLABLE - -Static variable in class com.sun.speech.freetts.Relation -
Name of the relation that contains the description of the - syllables for the Utterance. -
SYLLABLE_STRUCTURE - -Static variable in class com.sun.speech.freetts.Relation -
Name of the relation that contains the syllable structure - for the utterance. -
Sample - class com.sun.speech.freetts.relp.Sample.
A single short term sample containing Residual Excited Linear Predictive - (RELP) frame and residual voice data.
Sample(short[], byte[]) - -Constructor for class com.sun.speech.freetts.relp.Sample -
Constructs a RELP Sample from its component parts -
Sample(short[], byte[], int) - -Constructor for class com.sun.speech.freetts.relp.Sample -
Constructs a Sample from its component parts -
Sample(BufferedReader, int) - -Constructor for class com.sun.speech.freetts.relp.Sample -
Reads a sample from the input reader. -
SampleInfo - class com.sun.speech.freetts.relp.SampleInfo.
Describes global sample parameters.
SampleInfo(int, int, int, float, float, float) - -Constructor for class com.sun.speech.freetts.relp.SampleInfo -
Creates a new sample info. -
SampleInfo(ByteBuffer) - -Constructor for class com.sun.speech.freetts.relp.SampleInfo -
Constructs a sample info from the given byte buffer. -
SampleInfo(DataInputStream) - -Constructor for class com.sun.speech.freetts.relp.SampleInfo -
Constructs a sample info from the given input stream -
SampleSet - class com.sun.speech.freetts.relp.SampleSet.
Represents the frame and residual data - used by the diphone database - used Residual Excited Linear Predictive synthesizer
SampleSet(StringTokenizer, BufferedReader) - -Constructor for class com.sun.speech.freetts.relp.SampleSet -
Reads a SampleSet from the input reader. -
SampleSet(ByteBuffer) - -Constructor for class com.sun.speech.freetts.relp.SampleSet -
Creates a SampleSet by reading it from the given byte buffer -
SampleSet(DataInputStream) - -Constructor for class com.sun.speech.freetts.relp.SampleSet -
Creates a SampleSet by reading it from the given input stream -
SegmentRelationUtils - class com.sun.speech.freetts.util.SegmentRelationUtils.
Provides a set of utilities for the SegmentRelation.
SegmentRelationUtils() - -Constructor for class com.sun.speech.freetts.util.SegmentRelationUtils -
  -
Segmenter - class com.sun.speech.freetts.Segmenter.
Annotates an utterance with Relation.SYLLABLE, - Relation.SYLLABLE_STRUCTURE, and - Relation.SEGMENT. -
Segmenter() - -Constructor for class com.sun.speech.freetts.Segmenter -
  -
SingleFileAudioPlayer - class com.sun.speech.freetts.audio.SingleFileAudioPlayer.
Streams audio to a file.
SingleFileAudioPlayer(String, AudioFileFormat.Type) - -Constructor for class com.sun.speech.freetts.audio.SingleFileAudioPlayer -
Constructs a FileAudioPlayer -
SingleFileAudioPlayer() - -Constructor for class com.sun.speech.freetts.audio.SingleFileAudioPlayer -
Creates a default audio player for an AudioFileFormat of type - WAVE. -
SpeechEventDispatcher - interface com.sun.speech.engine.SpeechEventDispatcher.
Interface to be implemented by objects that dispatch - SpeechEvents.
SpeechEventUtilities - class com.sun.speech.engine.SpeechEventUtilities.
Utilities to help with dispatch JSAPI 1.0 events on the event - dispatching thread of AWT/Swing.
SpeechEventUtilities() - -Constructor for class com.sun.speech.engine.SpeechEventUtilities -
  -
SpeechEventUtilities.SpeechAWTEvent - class com.sun.speech.engine.SpeechEventUtilities.SpeechAWTEvent.
Inner class that defines SpeechAWTEvents.
SpeechEventUtilities.SpeechAWTEventTarget - class com.sun.speech.engine.SpeechEventUtilities.SpeechAWTEventTarget.
Inner class used to handle events as they are dispatched from the - AWT event queue.
SpeechEventWrapper - class com.sun.speech.engine.SpeechEventWrapper.
Wraps an arbitrary event object (from EventObject) - in a SpeechEvent so that it can be dispatched through - the speech event dispatch mechanism. -
SpeechEventWrapper(EventObject) - -Constructor for class com.sun.speech.engine.SpeechEventWrapper -
Class constructor. -
SuffixFSM - class com.sun.speech.freetts.en.us.SuffixFSM.
Implements a finite state machine that checks if a given string - is a suffix.
SuffixFSM(URL) - -Constructor for class com.sun.speech.freetts.en.us.SuffixFSM -
Constructs a SuffixFSM. -
SynthesizerMonitor - class com.sun.speech.engine.synthesis.SynthesizerMonitor.
Simple GUI that monitors events and state changes of an - Synthesizer.
SynthesizerMonitor(Synthesizer) - -Constructor for class com.sun.speech.engine.synthesis.SynthesizerMonitor -
Class constructor. -
SynthesizerSelector - class com.sun.speech.engine.synthesis.SynthesizerSelector.
GUI that displays a list of Synthesizer names in a - dialog box.
SynthesizerSelector() - -Constructor for class com.sun.speech.engine.synthesis.SynthesizerSelector -
  -
safeTimeToSpeech(String) - -Method in class com.sun.speech.freetts.FreeTTSTime -
Speaks the given time. -
scanFromFront - -Variable in class com.sun.speech.freetts.en.us.PronounceableFSM -
Whether we should scan the input string from the front. -
scroller - -Variable in class com.sun.speech.engine.EngineEventPanel -
The scroll pane containing the textArea. -
sectionLike(Item) - -Static method in class com.sun.speech.freetts.en.us.TokenToWords -
Returns true if the given token item contains a token that is - in a section-like context, e.g., "chapter" or "act". -
setAge(Age) - -Method in class com.sun.speech.freetts.Voice -
Set the age of this voice. -
setAudioFile(String) - -Method in class com.sun.speech.freetts.FreeTTS -
Sets the audio file . -
setAudioFormat(AudioFormat) - -Method in interface com.sun.speech.freetts.audio.AudioPlayer -
Sets the audio format to use for the next set of outputs. -
setAudioFormat(AudioFormat) - -Method in class com.sun.speech.freetts.audio.JavaClipAudioPlayer -
Sets the audio format for this player -
setAudioFormat(AudioFormat) - -Method in class com.sun.speech.freetts.audio.JavaStreamingAudioPlayer -
Sets the audio format for this player -
setAudioFormat(AudioFormat) - -Method in class com.sun.speech.freetts.audio.MultiFile8BitAudioPlayer -
Sets the audio format for this player -
setAudioFormat(AudioFormat) - -Method in class com.sun.speech.freetts.audio.MultiFileAudioPlayer -
Sets the audio format for this player -
setAudioFormat(AudioFormat) - -Method in class com.sun.speech.freetts.audio.NullAudioPlayer -
Sets the audio format for this player -
setAudioFormat(AudioFormat) - -Method in class com.sun.speech.freetts.audio.RawFileAudioPlayer -
Sets the audio format for this player -
setAudioFormat(AudioFormat) - -Method in class com.sun.speech.freetts.audio.SingleFileAudioPlayer -
Sets the audio format for this player -
setAudioPlayer(AudioPlayer) - -Method in class com.sun.speech.freetts.Voice -
Sets the audio player associated with this voice. -
setData(BaseSynthesizer, Speakable, SpeakableListener) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
Sets queue item data with a Speakable source. -
setData(BaseSynthesizer, String, boolean, SpeakableListener) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
Sets queue item data with a String source that is - either plain text or JSML. -
setData(BaseSynthesizer, URL, SpeakableListener) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
Sets queue item data with a URL source. -
setDescription(String) - -Method in class com.sun.speech.freetts.Voice -
Set the description of this voice. -
setDetailedMetrics(boolean) - -Method in class com.sun.speech.freetts.Voice -
Sets the state of the detailedMetrics mode. -
setDomain(String) - -Method in class com.sun.speech.freetts.Voice -
Set the domain of this voice. -
setDumpRelations(boolean) - -Method in class com.sun.speech.freetts.Voice -
Sets the state of the dumpRelations mode. -
setDumpUtterance(boolean) - -Method in class com.sun.speech.freetts.Voice -
Sets the state of the dumpUtterance mode. -
setDurationStretch(float) - -Method in class com.sun.speech.freetts.Voice -
Sets the duration stretch -
setEngineModeDesc(EngineModeDesc) - -Method in class com.sun.speech.engine.BaseEngine -
Sets the current operating properties and mode of - this Engine. -
setEngineState(long, long) - -Method in class com.sun.speech.engine.BaseEngine -
Updates this Engine state by clearing defined bits, - then setting other specified bits. -
setFirst(boolean) - -Method in class com.sun.speech.freetts.Utterance -
Sets this utterance as the first in a series. -
setFloat(String, float) - -Method in interface com.sun.speech.freetts.FeatureSet -
Convenience method that sets the named feature as a float -
setFloat(String, float) - -Method in class com.sun.speech.freetts.FeatureSetImpl -
Convenience method that sets the named feature as a float. -
setFloat(String, float) - -Method in class com.sun.speech.freetts.Utterance -
Convenience method that sets the named feature as a float. -
setFrame(int, short[]) - -Method in class com.sun.speech.freetts.relp.LPCResult -
Sets the frame at the given index. -
setFrameSize(int) - -Method in class com.sun.speech.freetts.relp.LPCResult -
Sets the sizes of frames in this LPC to the given size. -
setGender(Gender) - -Method in class com.sun.speech.freetts.Voice -
Set the gender of this voice. -
setId(String) - -Method in class com.sun.speech.engine.synthesis.BaseVoice -
Sets the id for this voice. -
setId(String) - -Method in class com.sun.speech.freetts.jsapi.FreeTTSVoice -
Sets the id for this voice. -
setInputMode(InputMode) - -Method in class com.sun.speech.freetts.FreeTTS -
Sets the input mode. -
setInputReader(Reader) - -Method in interface com.sun.speech.freetts.Tokenizer -
Sets the input reader. -
setInputReader(Reader) - -Method in class com.sun.speech.freetts.en.TokenizerImpl -
Sets the input reader -
setInputText(String) - -Method in interface com.sun.speech.freetts.Tokenizer -
Sets the text to be tokenized by this tokenizer. -
setInputText(String) - -Method in class com.sun.speech.freetts.en.TokenizerImpl -
Sets the text to tokenize. -
setInt(String, int) - -Method in interface com.sun.speech.freetts.FeatureSet -
Convenience method that sets the named feature as an int. -
setInt(String, int) - -Method in class com.sun.speech.freetts.FeatureSetImpl -
Convenience method that sets the named feature as a int. -
setInt(String, int) - -Method in class com.sun.speech.freetts.Utterance -
Convenience method that sets the named feature as an int. -
setLPCMin(float) - -Method in class com.sun.speech.freetts.relp.LPCResult -
Sets the LPC minimum. -
setLPCRange(float) - -Method in class com.sun.speech.freetts.relp.LPCResult -
Sets the LPC range. -
setLast(boolean) - -Method in class com.sun.speech.freetts.Utterance -
Sets this utterance as the last in a series. -
setLastWord(String) - -Method in class com.sun.speech.freetts.en.us.WordRelation -
Sets the last Item in this WordRelation to the given word. -
setLexicon(Lexicon) - -Method in class com.sun.speech.freetts.Voice -
Sets the lexicon to be used by this voice. -
setLexiconParameters(URL, URL, URL, boolean) - -Method in class com.sun.speech.freetts.lexicon.LexiconImpl -
Sets the lexicon parameters -
setLineNumber(int) - -Method in class com.sun.speech.freetts.Token -
Set the line of this token in the original text. -
setLoaded(boolean) - -Method in class com.sun.speech.freetts.Voice -
Sets the loaded state -
setLocale(Locale) - -Method in class com.sun.speech.freetts.Voice -
Set the locale of this voice. -
setMetrics(boolean) - -Method in class com.sun.speech.freetts.Voice -
Sets the metrics mode. -
setMultiAudio(boolean) - -Method in class com.sun.speech.freetts.FreeTTS -
Sets multi audio. -
setName(String) - -Method in class com.sun.speech.freetts.Voice -
Set the name of this voice. - -
setNumberOfChannels(int) - -Method in class com.sun.speech.freetts.relp.LPCResult -
Sets the number of channels. -
setNumberOfFrames(int) - -Method in class com.sun.speech.freetts.relp.LPCResult -
Sets the number of frames in this LPC Result. -
setObject(String, Object) - -Method in interface com.sun.speech.freetts.FeatureSet -
Sets the named feature . -
setObject(String, Object) - -Method in class com.sun.speech.freetts.FeatureSetImpl -
Sets the named feature. -
setObject(String, Object) - -Method in class com.sun.speech.freetts.Utterance -
Sets the named feature. -
setOrganization(String) - -Method in class com.sun.speech.freetts.Voice -
Sets the organization which created this voice. -
setOriginalDiphone(Diphone) - -Method in class com.sun.speech.freetts.diphone.AliasDiphone -
Associate the actual diphone object of the original with this alias. -
setOutputQueue(OutputQueue) - -Method in class com.sun.speech.freetts.Voice -
Sets the output queue for this voice. -
setPitch(float) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerProperties -
Sets the baseline pitch for the current synthesis voice. -
setPitch(float) - -Method in class com.sun.speech.freetts.Voice -
Sets the baseline pitch. -
setPitchRange(float) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerProperties -
Sets the pitch range for the current synthesis voice. -
setPitchRange(float) - -Method in class com.sun.speech.freetts.Voice -
Sets the pitch range. -
setPitchShift(float) - -Method in class com.sun.speech.freetts.Voice -
Sets the pitch shift -
setPosition(int) - -Method in class com.sun.speech.freetts.Token -
Sets the position of the token in the original input text. -
setPostpunctuation(String) - -Method in class com.sun.speech.freetts.Token -
Sets the postpunctuation characters of this Token. -
setPostpunctuationSymbols(String) - -Method in interface com.sun.speech.freetts.Tokenizer -
Sets the postpunctuation symbols of this Tokenizer to the given - symbols. -
setPostpunctuationSymbols(String) - -Method in class com.sun.speech.freetts.en.TokenizerImpl -
Sets the postpunctuation symbols of this Tokenizer to the given - symbols. -
setPrepunctuation(String) - -Method in class com.sun.speech.freetts.Token -
Sets the prepunctuation characters of this Token. -
setPrepunctuationSymbols(String) - -Method in interface com.sun.speech.freetts.Tokenizer -
Sets the prepunctuation symbols of this Tokenizer to the given - symbols. -
setPrepunctuationSymbols(String) - -Method in class com.sun.speech.freetts.en.TokenizerImpl -
Sets the prepunctuation symbols of this Tokenizer to the given - symbols. -
setRate(float) - -Method in class com.sun.speech.freetts.Voice -
Sets the rate of speech. -
setResidualSizes(int[]) - -Method in class com.sun.speech.freetts.relp.LPCResult -
Sets the array of residual sizes. -
setRunTitle(String) - -Method in class com.sun.speech.freetts.Voice -
Sets the title for this run. -
setSampleRate(int) - -Method in class com.sun.speech.freetts.relp.LPCResult -
Sets the sample rate. -
setSilentMode(boolean) - -Method in class com.sun.speech.freetts.FreeTTS -
Turns audio playing on and off. -
setSingleCharSymbols(String) - -Method in interface com.sun.speech.freetts.Tokenizer -
Sets the single character symbols of this Tokenizer to the given - symbols. -
setSingleCharSymbols(String) - -Method in class com.sun.speech.freetts.en.TokenizerImpl -
Sets the single character symbols of this Tokenizer to the given - symbols. -
setSpeakable(FreeTTSSpeakable) - -Method in class com.sun.speech.freetts.Utterance -
Sets the speakable item for this utterance. -
setSpeakingRate(float) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerProperties -
Sets the target speaking rate in words per minute. -
setStreamingAudio(boolean) - -Method in class com.sun.speech.freetts.FreeTTS -
Sets streaming audio. -
setString(String, String) - -Method in interface com.sun.speech.freetts.FeatureSet -
Convenience method that sets the named feature as a String. -
setString(String, String) - -Method in class com.sun.speech.freetts.FeatureSetImpl -
Convenience method that sets the named feature as a String. -
setString(String, String) - -Method in class com.sun.speech.freetts.Utterance -
Convenience method that sets the named feature as a String. -
setStyle(String) - -Method in class com.sun.speech.freetts.Voice -
Sets the voice style. -
setText(String) - -Method in class com.sun.speech.engine.EngineEventPanel -
Sets the text in the text area. -
setTimes(int[]) - -Method in class com.sun.speech.freetts.relp.LPCResult -
Sets the array of times. -
setUnitName(Item) - -Method in class com.sun.speech.freetts.clunits.ClusterUnitSelector -
Sets the cluster unit name given the segment. -
setValues(int, int, int, float, float) - -Method in class com.sun.speech.freetts.relp.LPCResult -
A convenience method for setting the LPC values. -
setVerbose(boolean) - -Method in class com.sun.speech.freetts.util.BulkTimer -
Sets verbose mode. -
setVoice(Voice) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerProperties -
Sets the current synthesizer voice. -
setVolume(float) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerProperties -
Sets the volume. -
setVolume(float) - -Method in class com.sun.speech.freetts.Voice -
Sets the volume. -
setVolume(float) - -Method in interface com.sun.speech.freetts.audio.AudioPlayer -
Sets the current volume. -
setVolume(float) - -Method in class com.sun.speech.freetts.audio.JavaClipAudioPlayer -
Sets the current volume. -
setVolume(float) - -Method in class com.sun.speech.freetts.audio.JavaStreamingAudioPlayer -
Sets the current volume. -
setVolume(float) - -Method in class com.sun.speech.freetts.audio.MultiFile8BitAudioPlayer -
Sets the current volume. -
setVolume(float) - -Method in class com.sun.speech.freetts.audio.MultiFileAudioPlayer -
Sets the current volume. -
setVolume(float) - -Method in class com.sun.speech.freetts.audio.NullAudioPlayer -
Sets the current volume. -
setVolume(float) - -Method in class com.sun.speech.freetts.audio.RawFileAudioPlayer -
Sets the current volume. -
setVolume(float) - -Method in class com.sun.speech.freetts.audio.SingleFileAudioPlayer -
Sets the current volume. -
setWaveDumpFile(String) - -Method in class com.sun.speech.freetts.Voice -
Sets the dumpfile for this voice. -
setWhitespace(String) - -Method in class com.sun.speech.freetts.Token -
Sets the whitespace characters of this Token. -
setWhitespaceSymbols(String) - -Method in interface com.sun.speech.freetts.Tokenizer -
Sets the whitespace symbols of this Tokenizer to the given - symbols. -
setWhitespaceSymbols(String) - -Method in class com.sun.speech.freetts.en.TokenizerImpl -
Sets the whitespace symbols of this Tokenizer to the given symbols. -
setWord(String) - -Method in class com.sun.speech.freetts.Token -
Sets the string of this Token. -
setupFeatureProcessors() - -Method in class com.sun.speech.freetts.en.us.CMUVoice -
Sets up the FeatureProcessors for this Voice. -
setupFeatureSet() - -Method in class com.sun.speech.freetts.en.us.CMUClusterUnitVoice -
Sets up the FeatureSet for this Voice. -
setupFeatureSet() - -Method in class com.sun.speech.freetts.en.us.CMUDiphoneVoice -
Sets the FeatureSet for this Voice. -
setupFeatureSet() - -Method in class com.sun.speech.freetts.en.us.CMUVoice -
Sets up the FeatureSet for this Voice. -
setupUtteranceProcessors() - -Method in class com.sun.speech.freetts.en.us.CMUVoice -
Sets up the utterance processors for this voice. -
shortToUlaw(short) - -Static method in class com.sun.speech.freetts.util.WaveUtils -
Converts a raw short to ulaw. -
show(String) - -Method in class com.sun.speech.freetts.util.BulkTimer -
Shows all of the collected times. -
showMetrics() - -Method in interface com.sun.speech.freetts.audio.AudioPlayer -
Shows metrics for this audio player -
showMetrics() - -Method in class com.sun.speech.freetts.audio.JavaClipAudioPlayer -
Shows metrics for this audio player -
showMetrics() - -Method in class com.sun.speech.freetts.audio.JavaStreamingAudioPlayer -
Shows metrics for this audio player -
showMetrics() - -Method in class com.sun.speech.freetts.audio.MultiFile8BitAudioPlayer -
Shows metrics for this audio player -
showMetrics() - -Method in class com.sun.speech.freetts.audio.MultiFileAudioPlayer -
Shows metrics for this audio player -
showMetrics() - -Method in class com.sun.speech.freetts.audio.NullAudioPlayer -
Shows metrics for this audio player -
showMetrics() - -Method in class com.sun.speech.freetts.audio.RawFileAudioPlayer -
Shows metrics for this audio player -
showMetrics() - -Method in class com.sun.speech.freetts.audio.SingleFileAudioPlayer -
Shows metrics for this audio player -
showRelations() - -Method in class com.sun.speech.freetts.ItemContents -
  -
showTimes(long) - -Method in class com.sun.speech.freetts.util.Timer -
Shows timing stats. -
showTimes() - -Method in class com.sun.speech.freetts.util.Timer -
Shows timing stats. -
showTimesLong(long) - -Method in class com.sun.speech.freetts.util.Timer -
Shows detailed timing stats. -
showTimesShort(long) - -Method in class com.sun.speech.freetts.util.Timer -
Shows brief timing stats. -
showTimesShortTitle(String) - -Static method in class com.sun.speech.freetts.util.Timer -
Shows the timing stats title. -
shutdown() - -Method in class com.sun.speech.freetts.FreeTTS -
Shuts down this FreeTTS synthesizer by closing the AudioPlayer and voice. -
speak(Speakable, SpeakableListener) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizer -
Speaks JSML text provided as a Speakable object. -
speak(URL, SpeakableListener) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizer -
Speaks JSML text provided as a URL. -
speak(String, SpeakableListener) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizer -
Speaks JSML text provided as a String. -
speak(String) - -Method in class com.sun.speech.freetts.Voice -
Speaks the given text. -
speak(Document) - -Method in class com.sun.speech.freetts.Voice -
Speaks the given document. -
speak(InputStream) - -Method in class com.sun.speech.freetts.Voice -
Speaks the input stream. -
speak(FreeTTSSpeakable) - -Method in class com.sun.speech.freetts.Voice -
Speak the given queue item. -
speakNow() - -Method in class com.sun.speech.freetts.FreeTTSTime -
Tells the current time. -
speakPlainText(String, SpeakableListener) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizer -
Speaks a plain text String. -
speakableListeners - -Variable in class com.sun.speech.engine.synthesis.BaseSynthesizer -
Set of speakable listeners belonging to the Synthesizer. - -
speechAWTEventTarget - -Static variable in class com.sun.speech.engine.SpeechEventUtilities -
A target used to process speechAWTEvent objects. -
start(String) - -Method in class com.sun.speech.freetts.util.BulkTimer -
Starts the timer with the given name. -
start() - -Method in class com.sun.speech.freetts.util.BulkTimer -
Starts the bulk timer. -
start() - -Method in class com.sun.speech.freetts.util.Timer -
Starts the timer running. -
startBatch() - -Method in class com.sun.speech.freetts.Voice -
Starts a batch of utterances. -
startFirstSampleTimer() - -Method in interface com.sun.speech.freetts.audio.AudioPlayer -
Starts the first sample timer -
startFirstSampleTimer() - -Method in class com.sun.speech.freetts.audio.JavaClipAudioPlayer -
Starts the first sample timer -
startFirstSampleTimer() - -Method in class com.sun.speech.freetts.audio.JavaStreamingAudioPlayer -
Starts the first sample timer -
startFirstSampleTimer() - -Method in class com.sun.speech.freetts.audio.MultiFile8BitAudioPlayer -
Starts the first sample timer -
startFirstSampleTimer() - -Method in class com.sun.speech.freetts.audio.MultiFileAudioPlayer -
Starts the first sample timer -
startFirstSampleTimer() - -Method in class com.sun.speech.freetts.audio.NullAudioPlayer -
Starts the first sample timer -
startFirstSampleTimer() - -Method in class com.sun.speech.freetts.audio.RawFileAudioPlayer -
Starts the first sample timer -
startFirstSampleTimer() - -Method in class com.sun.speech.freetts.audio.SingleFileAudioPlayer -
Starts the first sample timer -
started() - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
indicate that this item has been started -
started() - -Method in interface com.sun.speech.freetts.FreeTTSSpeakable -
Indicates that this speakable has been started. -
started() - -Method in class com.sun.speech.freetts.FreeTTSSpeakableImpl -
Indicate that this speakable has been started. -
startup() - -Method in class com.sun.speech.freetts.FreeTTS -
Starts this FreeTTS Synthesizer by loading the void and creating a new - AudioPlayer. -
statePanel - -Variable in class com.sun.speech.engine.EngineMonitor -
The panel containing the current engine states. -
stateToString(long) - -Method in class com.sun.speech.engine.BaseEngine -
Returns a String of the names of all the - Engine states in the given Engine - state. -
stateToString(long) - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizer -
Returns a String of the names of all the states implied - in the given bit pattern. -
stop(String) - -Method in class com.sun.speech.freetts.util.BulkTimer -
Stops the timer with the given name. -
stop() - -Method in class com.sun.speech.freetts.util.BulkTimer -
Stops the bulk timer. -
stop(boolean) - -Method in class com.sun.speech.freetts.util.Timer -
Stops the timer. -
stop() - -Method in class com.sun.speech.freetts.util.Timer -
Stops the timer. -
streamToSpeech(InputStream) - -Method in class com.sun.speech.freetts.FreeTTS -
Converts the text contained in the given stream to speech. -
synth - -Variable in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
Synthesizer that has queued this item. -
systemEventQueue - -Static variable in class com.sun.speech.engine.SpeechEventUtilities -
The AWT EventQueue. -
-
-

-T

-
-
TARGET - -Static variable in class com.sun.speech.freetts.Relation -
Name of the relation that maps fundamental frequency targets - to absolute times for wave to be generated from the utterance. -
TEENAGER - -Static variable in class com.sun.speech.freetts.Age -
Age roughly 13 to 19 years. -
TEXT - -Static variable in class com.sun.speech.freetts.InputMode -
Indicates that the input is from text. -
TOKEN - -Static variable in class com.sun.speech.freetts.Relation -
Name of the relation that contains tokens from the original - input text. -
TextEngineCentral - class com.sun.speech.engine.synthesis.text.TextEngineCentral.
Supports the JSAPI 1.0 EngineCentral interface for a - synthesizer that sends text to standard out.
TextEngineCentral() - -Constructor for class com.sun.speech.engine.synthesis.text.TextEngineCentral -
  -
TextSynthesizer - class com.sun.speech.engine.synthesis.text.TextSynthesizer.
Supports a simple text-output-only JSAPI 1.0 Synthesizer. -
TextSynthesizer(SynthesizerModeDesc) - -Constructor for class com.sun.speech.engine.synthesis.text.TextSynthesizer -
Creates a new Synthesizer in the DEALLOCATED state. -
TextSynthesizer.OutputHandler - class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler.
The output device for a TextSynthesizer.
TextSynthesizer.OutputHandler() - -Constructor for class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
Class constructor. -
TextSynthesizerModeDesc - class com.sun.speech.engine.synthesis.text.TextSynthesizerModeDesc.
Describes the TextSynthesizer.
TextSynthesizerModeDesc() - -Constructor for class com.sun.speech.engine.synthesis.text.TextSynthesizerModeDesc -
Class constructor. -
TextSynthesizerQueueItem - class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem.
Represents an object on the speech output queue of a - TextSynthesizer.
TextSynthesizerQueueItem() - -Constructor for class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
Class constructor. -
Timer - class com.sun.speech.freetts.util.Timer.
Keeps track of execution times.
Timer(String) - -Constructor for class com.sun.speech.freetts.util.Timer -
Creates a timer. -
Token - class com.sun.speech.freetts.Token.
Contains a parsed token from a Tokenizer.
Token() - -Constructor for class com.sun.speech.freetts.Token -
  -
TokenToWords - class com.sun.speech.freetts.en.us.TokenToWords.
Converts the Tokens (in US English words) in an - Utterance into a list of words.
TokenToWords(CART, PronounceableFSM, PronounceableFSM) - -Constructor for class com.sun.speech.freetts.en.us.TokenToWords -
Constructs a default USTokenWordProcessor. -
Tokenizer - interface com.sun.speech.freetts.Tokenizer.
Chops a string or text file into Token instances.
TokenizerImpl - class com.sun.speech.freetts.en.TokenizerImpl.
Implements the tokenizer interface.
TokenizerImpl() - -Constructor for class com.sun.speech.freetts.en.TokenizerImpl -
Constructs a Tokenizer. -
TokenizerImpl(String) - -Constructor for class com.sun.speech.freetts.en.TokenizerImpl -
Creates a tokenizer that will return tokens from - the given string. -
TokenizerImpl(Reader) - -Constructor for class com.sun.speech.freetts.en.TokenizerImpl -
Creates a tokenizer that will return tokens from - the given file. -
terminate() - -Method in class com.sun.speech.engine.synthesis.text.TextSynthesizer.OutputHandler -
Stops execution of the Thread. -
testEngineState(long) - -Method in class com.sun.speech.engine.BaseEngine -
Returns true if this state of this - Engine matches the specified state. - - -
textArea - -Variable in class com.sun.speech.engine.EngineEventPanel -
The area where engine events are posted. -
textToSpeech(String) - -Method in class com.sun.speech.freetts.FreeTTS -
Converts the given text to speech based using processing options - currently set in FreeTTS. -
thisItemNumber - -Variable in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
Count for this item used for debug. -
timeToSpeech(String) - -Method in class com.sun.speech.freetts.FreeTTSTime -
Speaks the given time. -
timeToSpeech(int, int) - -Method in class com.sun.speech.freetts.FreeTTSTime -
Speaks the time given the hour and minute. -
timeToString(String) - -Static method in class com.sun.speech.freetts.FreeTTSTime -
Returns a string that corresponds to the given time. -
timeToString(int, int) - -Static method in class com.sun.speech.freetts.FreeTTSTime -
Returns a string that corresponds to the given time. -
toString() - -Method in class com.sun.speech.engine.BaseEngine -
Returns the engine name and mode for debug purposes. -
toString() - -Method in class com.sun.speech.engine.synthesis.BaseVoice -
Converts a Voice to a printable string. -
toString() - -Method in class com.sun.speech.freetts.Age -
Provide a human readable string that describes the age. -
toString() - -Method in class com.sun.speech.freetts.Gender -
Generates a human readable name describing the gender. -
toString() - -Method in class com.sun.speech.freetts.InputMode -
  -
toString() - -Method in class com.sun.speech.freetts.Item -
  -
toString() - -Method in class com.sun.speech.freetts.PathExtractorImpl -
  -
toString() - -Method in class com.sun.speech.freetts.Segmenter -
Returns the simple name of this class. -
toString() - -Method in class com.sun.speech.freetts.Token -
Converts this token to a string. -
toString() - -Method in class com.sun.speech.freetts.Voice -
Returns the name of this Voice. -
toString() - -Method in class com.sun.speech.freetts.VoiceDirectory -
Print the information about voices contained in this voice - directory to a String. -
toString() - -Method in class com.sun.speech.freetts.VoiceManager -
Provides a string representation of all voices available to FreeTTS. -
toString() - -Method in class com.sun.speech.freetts.audio.JavaClipAudioPlayer -
Returns the name of this audio player -
toString() - -Method in class com.sun.speech.freetts.audio.JavaStreamingAudioPlayer -
Returns the name of this audioplayer -
toString() - -Method in class com.sun.speech.freetts.audio.MultiFile8BitAudioPlayer -
Returns the name of this audioplayer -
toString() - -Method in class com.sun.speech.freetts.audio.MultiFileAudioPlayer -
Returns the name of this audioplayer -
toString() - -Method in class com.sun.speech.freetts.audio.SingleFileAudioPlayer -
Returns the name of this audioplayer -
toString() - -Method in class com.sun.speech.freetts.cart.Durator -
  -
toString() - -Method in class com.sun.speech.freetts.cart.Intonator -
  -
toString() - -Method in class com.sun.speech.freetts.cart.Phraser -
  -
toString() - -Method in class com.sun.speech.freetts.clunits.ClusterUnitPitchmarkGenerator -
Retrieves the name of this utteranceProcessor. -
toString() - -Method in class com.sun.speech.freetts.clunits.ClusterUnitSelector -
Retrieves the string representation of this object. -
toString() - -Method in class com.sun.speech.freetts.diphone.DiphonePitchmarkGenerator -
Returns a string representation of this object. -
toString() - -Method in class com.sun.speech.freetts.diphone.DiphoneUnitSelector -
Returns a string representation of this object. -
toString() - -Method in class com.sun.speech.freetts.en.ContourGenerator -
Returns the string representation of the object. -
toString() - -Method in class com.sun.speech.freetts.en.PartOfSpeechTagger -
Returns the string representation of the object -
toString() - -Method in class com.sun.speech.freetts.en.PauseGenerator -
Returns the string representation of the object -
toString() - -Method in class com.sun.speech.freetts.en.PostLexicalAnalyzer -
Returns the string representation of the object -
toString() - -Method in class com.sun.speech.freetts.en.us.CMUClusterUnitVoice -
Converts this object to a string -
toString() - -Method in class com.sun.speech.freetts.en.us.CMUDiphoneVoice -
Converts this object to a string -
toString() - -Method in class com.sun.speech.freetts.en.us.CMUTimeVoice -
Converts this object to a string -
toString() - -Method in class com.sun.speech.freetts.en.us.CMUVoice -
Converts this object to its String representation -
toString() - -Method in class com.sun.speech.freetts.en.us.TokenToWords -
Converts this object to its String representation -
toString() - -Method in class com.sun.speech.freetts.jsapi.FreeTTSVoice -
Gets a string representation of the object -
toString() - -Method in class com.sun.speech.freetts.relp.AudioOutput -
Returns the string form of this object -
toString() - -Method in class com.sun.speech.freetts.relp.UnitConcatenator -
Converts this object to a string -
toString() - -Method in class de.dfki.lt.freetts.en.us.MbrolaVoice -
Converts this object to a string -
toString() - -Method in class de.dfki.lt.freetts.en.us.MbrolaVoiceValidator -
Returns the name of this validator. -
toString() - -Method in class de.dfki.lt.freetts.mbrola.MbrolaAudioOutput -
Returns the string form of this object -
toString() - -Method in class de.dfki.lt.freetts.mbrola.MbrolaCaller -
  -
toString() - -Method in class de.dfki.lt.freetts.mbrola.ParametersToMbrolaConverter -
  -
tokenizeOnLoad - -Variable in class com.sun.speech.freetts.lexicon.LetterToSoundImpl -
If true, the state string is tokenized when it is first read. - -
tokenizeOnLoad - -Variable in class com.sun.speech.freetts.lexicon.LexiconImpl -
If true, the phone string is replaced with the phone array in - the hashmap when the phone array is loaded. -
tokenizeOnLookup - -Variable in class com.sun.speech.freetts.lexicon.LetterToSoundImpl -
If true, the state string is tokenized the first time it is - referenced. -
tokenizeOnLookup - -Variable in class com.sun.speech.freetts.lexicon.LexiconImpl -
If true, the phone string is replaced with the phone array in - the hashmap when the phone array is first looked up. -
toneCart - -Variable in class com.sun.speech.freetts.cart.Intonator -
The tone CART used for this Intonation UtteranceProcessor. -
transitions - -Variable in class com.sun.speech.freetts.en.us.PronounceableFSM -
The transitions of this FSM -
-
-

-U

-
-
UNIT - -Static variable in class com.sun.speech.freetts.Relation -
Name of the relation that contains the ordered list of the - units from the unit database that will be used to create - the synthesized wave. -
URL - -Static variable in class com.sun.speech.freetts.InputMode -
Indicates that the input is from a URL. -
USEnglish - class com.sun.speech.freetts.en.us.USEnglish.
Provides the definitions for US English whitespace, punctuations, - prepunctuation, and postpunctuation symbols.
UTT_NAME - -Static variable in class com.sun.speech.freetts.relp.SampleInfo -
  -
Unit - interface com.sun.speech.freetts.Unit.
Defines a generic interface to a Unit.
UnitConcatenator - class com.sun.speech.freetts.relp.UnitConcatenator.
Concatenates the Units in the given Utterance to the target_lpc - result.
UnitConcatenator() - -Constructor for class com.sun.speech.freetts.relp.UnitConcatenator -
  -
Utilities - class com.sun.speech.freetts.util.Utilities.
Provides a set of generic utilities used by freetts.
Utterance - class com.sun.speech.freetts.Utterance.
Holds all the data for an utterance to be spoken. -
Utterance(Voice) - -Constructor for class com.sun.speech.freetts.Utterance -
Creates a new, empty utterance. -
Utterance(Voice, List) - -Constructor for class com.sun.speech.freetts.Utterance -
Creates an utterance with the given set of tokenized text. -
UtteranceProcessor - interface com.sun.speech.freetts.UtteranceProcessor.
Performs an operation on an Utterance. -
ulawToShort(short) - -Static method in class com.sun.speech.freetts.util.WaveUtils -
Converts from ulaw to 16 bit linear. - -
updateEngineStateComponents() - -Method in class com.sun.speech.engine.EngineMonitor -
Checks the current state of the engine and makes sure the GUI - components reflect this state accurately. -
updateGUIComponents() - -Method in class com.sun.speech.engine.EngineMonitor -
Checks the current state of the engine and makes sure the GUI - components reflect this state accurately. -
updateGUIComponents() - -Method in class com.sun.speech.engine.synthesis.SynthesizerMonitor -
  -
urlToSpeech(String) - -Method in class com.sun.speech.freetts.FreeTTS -
Converts the text contained in the given path to speech. -
usage() - -Static method in class com.sun.speech.freetts.FreeTTSTime -
Prints the usage message for FreeTTSTime. -
-
-

-V

-
-
VC - -Static variable in interface com.sun.speech.freetts.PhoneSet -
Vowel or consonant: + = vowel, - = consonant. -
VERSION - -Static variable in class com.sun.speech.freetts.FreeTTS -
Version number. -
VFRONT - -Static variable in interface com.sun.speech.freetts.PhoneSet -
Vowel frontness: 1 = front, 2 = mid, 3 = back. -
VHEIGHT - -Static variable in interface com.sun.speech.freetts.PhoneSet -
Vowel height: 1 = high, 2 = mid, 3 = low. -
VLNG - -Static variable in interface com.sun.speech.freetts.PhoneSet -
Vowel length: s = short, l = long, d = dipthong, a = schwa. -
VOICE - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
  -
VOICE_ATTRIBUTES - -Static variable in class com.sun.speech.engine.synthesis.text.TextSynthesizerQueueItem -
  -
VRND - -Static variable in interface com.sun.speech.freetts.PhoneSet -
Lip rounding: + = on, - = off. -
ValidationException - exception com.sun.speech.freetts.ValidationException.
Thrown by a Validator if any errors - are encountered while validating.
ValidationException(String) - -Constructor for class com.sun.speech.freetts.ValidationException -
Class constructor. -
Validator - interface com.sun.speech.freetts.Validator.
Implementors of this interface can be validated via the validate() - method.
Voice - class com.sun.speech.freetts.Voice.
Performs text-to-speech using a series of - UtteranceProcessors.
Voice() - -Constructor for class com.sun.speech.freetts.Voice -
Creates a new Voice. -
Voice(String, Gender, Age, String, Locale, String, String) - -Constructor for class com.sun.speech.freetts.Voice -
Creates a new Voice like above, except that it also - stores the properties of the voice. -
VoiceDirectory - class com.sun.speech.freetts.VoiceDirectory.
Provides a means to access the voices that are stored in a jar - file.
VoiceDirectory() - -Constructor for class com.sun.speech.freetts.VoiceDirectory -
Default constructor does nothing. -
VoiceList - class com.sun.speech.engine.synthesis.VoiceList.
Maintains a list of JSAPI 1.0 Voices.
VoiceList() - -Constructor for class com.sun.speech.engine.synthesis.VoiceList -
Class constructor. -
VoiceList(SynthesizerModeDesc) - -Constructor for class com.sun.speech.engine.synthesis.VoiceList -
Constructs from the voice list in desc. - -
VoiceManager - class com.sun.speech.freetts.VoiceManager.
Provides access to voices for all of FreeTTS.
validate() - -Method in interface com.sun.speech.freetts.Validator -
Validates a certain condition. -
validate() - -Method in class com.sun.speech.freetts.jsapi.FreeTTSSynthesizerModeDesc -
Returns true if this is a valid FreeTTSSynthesizerModeDesc. - -
validate() - -Method in class com.sun.speech.freetts.jsapi.FreeTTSVoice -
Validates this FreeTTSVoice. -
validate() - -Method in class de.dfki.lt.freetts.en.us.MbrolaVoiceValidator -
Validates this MbrolaVoice. -
vocabularySize - -Variable in class com.sun.speech.freetts.en.us.PronounceableFSM -
The vocabulary size. -
voiceId - -Variable in class com.sun.speech.engine.synthesis.BaseVoice -
The id of the voice -
voiceList - -Variable in class com.sun.speech.engine.synthesis.BaseSynthesizer -
The set of voices available in this Synthesizer. - -
voiceList - -Variable in class com.sun.speech.engine.synthesis.VoiceList -
The list of Voices. -
-
-

-W

-
-
WHITESPACE_SYMBOLS - -Static variable in class com.sun.speech.freetts.en.us.USEnglish -
whitespace symbols regular expression pattern -
WORD - -Static variable in class com.sun.speech.freetts.Relation -
Name of the relation that contains the normalized version of - the original input text. -
WRAPPER_ID - -Static variable in class com.sun.speech.engine.SpeechEventWrapper -
Use an id that won't be confused with JSAPI event ids. -
WaveUtils - class com.sun.speech.freetts.util.WaveUtils.
Provides a set of utilities for prrocessing wave/audio data.
WaveUtils() - -Constructor for class com.sun.speech.freetts.util.WaveUtils -
  -
WordRelation - class com.sun.speech.freetts.en.us.WordRelation.
Helper class to add words and breaks into a Relation object.
waitCompleted() - -Method in class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem -
wait for this queue item to be completed -
waitCompleted() - -Method in interface com.sun.speech.freetts.FreeTTSSpeakable -
Waits for this speakable item to be completed. -
waitCompleted() - -Method in class com.sun.speech.freetts.FreeTTSSpeakableImpl -
Waits for this speakable item to be completed. -
waitEngineState(long) - -Method in class com.sun.speech.engine.BaseEngine -
Blocks the calling thread until this Engine - is in a specified state. - - -
waitUntilDispatched - -Static variable in class com.sun.speech.engine.SpeechEventUtilities -
If true, wait until an event has been dispatched before returning - from the post method. -
wordBreak(Item) - -Static method in class com.sun.speech.freetts.en.us.FeatureProcessors -
Classifies the type of word break -
wordPunc(Item) - -Static method in class com.sun.speech.freetts.en.us.FeatureProcessors -
Gets the punctuation associated with the word -
write(byte[]) - -Method in interface com.sun.speech.freetts.audio.AudioPlayer -
Writes the given bytes to the audio stream -
write(byte[], int, int) - -Method in interface com.sun.speech.freetts.audio.AudioPlayer -
Writes the given bytes to the audio stream -
write(byte[]) - -Method in class com.sun.speech.freetts.audio.JavaClipAudioPlayer -
Writes the given bytes to the audio stream -
write(byte[], int, int) - -Method in class com.sun.speech.freetts.audio.JavaClipAudioPlayer -
Writes the given bytes to the audio stream -
write(byte[]) - -Method in class com.sun.speech.freetts.audio.JavaStreamingAudioPlayer -
Writes the given bytes to the audio stream -
write(byte[], int, int) - -Method in class com.sun.speech.freetts.audio.JavaStreamingAudioPlayer -
Writes the given bytes to the audio stream -
write(byte[]) - -Method in class com.sun.speech.freetts.audio.MultiFile8BitAudioPlayer -
Writes the given bytes to the audio stream -
write(byte[], int, int) - -Method in class com.sun.speech.freetts.audio.MultiFile8BitAudioPlayer -
Writes the given bytes to the audio stream -
write(byte[]) - -Method in class com.sun.speech.freetts.audio.MultiFileAudioPlayer -
Writes the given bytes to the audio stream -
write(byte[], int, int) - -Method in class com.sun.speech.freetts.audio.MultiFileAudioPlayer -
Writes the given bytes to the audio stream -
write(byte[]) - -Method in class com.sun.speech.freetts.audio.NullAudioPlayer -
Writes the given bytes to the audio stream -
write(byte[], int, int) - -Method in class com.sun.speech.freetts.audio.NullAudioPlayer -
Writes the given bytes to the audio stream -
write(byte[]) - -Method in class com.sun.speech.freetts.audio.RawFileAudioPlayer -
Writes the given bytes to the audio stream -
write(byte[], int, int) - -Method in class com.sun.speech.freetts.audio.RawFileAudioPlayer -
Writes the given bytes to the audio stream -
write(byte[]) - -Method in class com.sun.speech.freetts.audio.SingleFileAudioPlayer -
Writes the given bytes to the audio stream -
write(byte[], int, int) - -Method in class com.sun.speech.freetts.audio.SingleFileAudioPlayer -
Writes the given bytes to the audio stream -
-
-

-Y

-
-
YOUNGER_ADULT - -Static variable in class com.sun.speech.freetts.Age -
Age roughly 20 to 40 years. -
-
-A B C D E F G H I J K L M N O P Q R S T U V W Y - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/index.html b/javadoc/index.html deleted file mode 100644 index 2e7b18e..0000000 --- a/javadoc/index.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - -FreeTTS 1.2 - - - - - - - - - -<H2> -Frame Alert</H2> - -<P> -This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. -<BR> -Link to<A HREF="overview-summary.html">Non-frame version.</A> - - - diff --git a/javadoc/overview-frame.html b/javadoc/overview-frame.html deleted file mode 100644 index 2e5b699..0000000 --- a/javadoc/overview-frame.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - -Overview (FreeTTS 1.2) - - - - - - - - - - - - - - - -
-
- - - - - -
All Classes -

- -Packages -
-com.sun.speech.engine -
-com.sun.speech.engine.synthesis -
-com.sun.speech.engine.synthesis.text -
-com.sun.speech.freetts -
-com.sun.speech.freetts.audio -
-com.sun.speech.freetts.cart -
-com.sun.speech.freetts.clunits -
-com.sun.speech.freetts.diphone -
-com.sun.speech.freetts.en -
-com.sun.speech.freetts.en.us -
-com.sun.speech.freetts.jsapi -
-com.sun.speech.freetts.lexicon -
-com.sun.speech.freetts.relp -
-com.sun.speech.freetts.util -
-de.dfki.lt.freetts.en.us -
-de.dfki.lt.freetts.mbrola -
-

- -

-  - - diff --git a/javadoc/overview-summary.html b/javadoc/overview-summary.html deleted file mode 100644 index 735a40d..0000000 --- a/javadoc/overview-summary.html +++ /dev/null @@ -1,242 +0,0 @@ - - - - - - -Overview (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -


-
-

-FreeTTS 1.2 -

-
-The FreeTTS text to speech engine and partial support for JSAPI 1.0. -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages
com.sun.speech.engineProvides a partial and unsupported support for the -javax.speech package for JSAPI 1.0.
com.sun.speech.engine.synthesisProvides a JSML 0.6 parser as well as a partial and unsupported -support -of interfaces in the javax.speech.synthesis package for JSAPI 1.0.
com.sun.speech.engine.synthesis.textProvides a sample text-output-only Synthesizer support that -doesn't make any -noise.
com.sun.speech.freettsTop level package for FreeTTS.
com.sun.speech.freetts.audioProvides support for generic audio output for FreeTTS.
com.sun.speech.freetts.cartProvides interface and implementations of several Classification -and Regression Trees (CART) based on the Breiman, Friedman, Olshen, -and Stone document "Classification and Regression Trees." -
com.sun.speech.freetts.clunitsSupport for cluster unit selection of audio data as described in the -Black and Taylor document "Automatically clustering similar units for -unit selection in speech synthesis", published in Proceedings of the -Eurospeech 1997, Rhodes, Greece
com.sun.speech.freetts.diphoneSupport for diphones encoded using residual excited linear prediction (RELP)
com.sun.speech.freetts.enSupport for English.
com.sun.speech.freetts.en.usSupport for US English
com.sun.speech.freetts.jsapi - -Provides a partial and unsupported support for a JSAPI 1.0 speech synthesizer for FreeTTS.
com.sun.speech.freetts.lexiconProvides the definition and implementation of the Lexicon and -LetterToSound interfaces
com.sun.speech.freetts.relpSupport for Residual Excited Linear Predictive (RELP) decoding of audio -samples
com.sun.speech.freetts.utilProvides a set of tools and utililties used by FreeTTS
de.dfki.lt.freetts.en.usProvides support for US English MBROLA voices - - -
de.dfki.lt.freetts.mbrolaProvides engine support for MBROLA voices - - -
- -

-

-The FreeTTS text to speech engine and partial support for JSAPI 1.0. Note that -recognition is not supported in this release: FreeTTS -is only a synthesis engine. - - -

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/overview-tree.html b/javadoc/overview-tree.html deleted file mode 100644 index d318f75..0000000 --- a/javadoc/overview-tree.html +++ /dev/null @@ -1,308 +0,0 @@ - - - - - - -Class Hierarchy (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For All Packages

-
-
-
Package Hierarchies:
com.sun.speech.engine, com.sun.speech.engine.synthesis, com.sun.speech.engine.synthesis.text, com.sun.speech.freetts, com.sun.speech.freetts.audio, com.sun.speech.freetts.cart, com.sun.speech.freetts.clunits, com.sun.speech.freetts.diphone, com.sun.speech.freetts.en, com.sun.speech.freetts.en.us, com.sun.speech.freetts.jsapi, com.sun.speech.freetts.lexicon, com.sun.speech.freetts.relp, com.sun.speech.freetts.util, de.dfki.lt.freetts.en.us, de.dfki.lt.freetts.mbrola
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/package-list b/javadoc/package-list deleted file mode 100644 index 47cdeb7..0000000 --- a/javadoc/package-list +++ /dev/null @@ -1,16 +0,0 @@ -com.sun.speech.engine -com.sun.speech.engine.synthesis -com.sun.speech.engine.synthesis.text -com.sun.speech.freetts -com.sun.speech.freetts.audio -com.sun.speech.freetts.cart -com.sun.speech.freetts.clunits -com.sun.speech.freetts.diphone -com.sun.speech.freetts.en -com.sun.speech.freetts.en.us -com.sun.speech.freetts.jsapi -com.sun.speech.freetts.lexicon -com.sun.speech.freetts.relp -com.sun.speech.freetts.util -de.dfki.lt.freetts.en.us -de.dfki.lt.freetts.mbrola diff --git a/javadoc/packages.html b/javadoc/packages.html deleted file mode 100644 index eac6747..0000000 --- a/javadoc/packages.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - (FreeTTS 1.2) - - - - - - - - - - - -
- -
- -
-
-The front page has been relocated.Please see: -
-          Frame version -
-          Non-frame version.
- - - diff --git a/javadoc/resources/inherit.gif b/javadoc/resources/inherit.gif deleted file mode 100644 index c814867..0000000 Binary files a/javadoc/resources/inherit.gif and /dev/null differ diff --git a/javadoc/serialized-form.html b/javadoc/serialized-form.html deleted file mode 100644 index 8ea1d71..0000000 --- a/javadoc/serialized-form.html +++ /dev/null @@ -1,391 +0,0 @@ - - - - - - -Serialized Form (FreeTTS 1.2) - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Serialized Form

-
-
- - - - - -
-Package com.sun.speech.engine
- -

- - - - - -
-Class com.sun.speech.engine.EngineEventPanel extends javax.swing.JPanel implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-textArea

-
-javax.swing.JTextArea textArea
-
-
The area where engine events are posted. -

-

-
-
-
- -

-scroller

-
-javax.swing.JScrollPane scroller
-
-
The scroll pane containing the textArea. -

-

-
See Also:
EngineEventPanel.textArea
-
-
- -

-clearButton

-
-javax.swing.JButton clearButton
-
-
The button for clearing the textArea. -

-

-
See Also:
EngineEventPanel.textArea
-
- -

- - - - - -
-Class com.sun.speech.engine.SpeechEventUtilities.SpeechAWTEvent extends java.awt.AWTEvent implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-dispatcher

-
-SpeechEventDispatcher dispatcher
-
-
-
-
-
- -

-event

-
-javax.speech.SpeechEvent event
-
-
-
-
-
- -

-lock

-
-java.lang.Object lock
-
-
-
-
- -

- - - - - -
-Class com.sun.speech.engine.SpeechEventUtilities.SpeechAWTEventTarget extends java.awt.Component implements Serializable
- -

- -

- - - - - -
-Class com.sun.speech.engine.SpeechEventWrapper extends javax.speech.SpeechEvent implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-eventObject

-
-java.util.EventObject eventObject
-
-
The wrapped event. -

-

-
-
- -

-


- - - - - -
-Package com.sun.speech.freetts
- -

- - - - - -
-Class com.sun.speech.freetts.ProcessException extends java.lang.Exception implements Serializable
- -

- -

- - - - - -
-Class com.sun.speech.freetts.Utterance extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-voice

-
-Voice voice
-
-
-
-
-
- -

-features

-
-FeatureSetImpl features
-
-
-
-
-
- -

-relations

-
-FeatureSetImpl relations
-
-
-
-
-
- -

-first

-
-boolean first
-
-
-
-
-
- -

-last

-
-boolean last
-
-
-
-
-
- -

-speakable

-
-FreeTTSSpeakable speakable
-
-
-
-
- -

- - - - - -
-Class com.sun.speech.freetts.ValidationException extends java.lang.Exception implements Serializable
- -

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/javadoc/stylesheet.css b/javadoc/stylesheet.css deleted file mode 100644 index 14c3737..0000000 --- a/javadoc/stylesheet.css +++ /dev/null @@ -1,29 +0,0 @@ -/* Javadoc style sheet */ - -/* Define colors, fonts and other style attributes here to override the defaults */ - -/* Page background color */ -body { background-color: #FFFFFF } - -/* Headings */ -h1 { font-size: 145% } - -/* Table colors */ -.TableHeadingColor { background: #CCCCFF } /* Dark mauve */ -.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */ -.TableRowColor { background: #FFFFFF } /* White */ - -/* Font used in left-hand frame lists */ -.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif } -.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif } -.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif } - -/* Navigation bar fonts and colors */ -.NavBarCell1 { background-color:#EEEEFF;} /* Light mauve */ -.NavBarCell1Rev { background-color:#00008B;} /* Dark Blue */ -.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;} -.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;} - -.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} -.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} -