|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.speech.EngineModeDesc javax.speech.synthesis.SynthesizerModeDesc org.wcb.plugins.speech.AliceSynthesizerModeDesc
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
Project: Home Automation Interface
Filename: $Id: AliceSynthesizerModeDesc.java,v 1.5 2004/02/27 01:29:53 wbogaardt Exp $
Abstract: Web bean for x10 jsp.
$Log: AliceSynthesizerModeDesc.java,v $
Revision 1.5 2004/02/27 01:29:53 wbogaardt
modified classes so they conform to Checkstyle format in readability
Revision 1.4 2003/12/18 17:35:53 wbogaardt
fixed speech engine issue so that the application does not lock up but will notify user of the need to
install speech.properties file in their home directory.
Revision 1.3 2003/12/13 05:36:52 wbogaardt
fixed javadoc comments.
Revision 1.2 2003/12/11 23:10:12 wbogaardt
cleaned up exception handeling and logging of system.out messages
Revision 1.1 2003/12/11 21:58:42 wbogaardt
added speach synthesizer using java speech api
A SynthesizerModeDesc that implements the toString()
method so that it returns the name of the synthesizer.
Constructor Summary | |
AliceSynthesizerModeDesc(javax.speech.synthesis.SynthesizerModeDesc modeDesc)
Constructs a MySynthesizerModeDesc with the attributes from the given SynthesizerModeDesc. |
Method Summary | |
javax.speech.synthesis.Synthesizer |
createSynthesizer()
Creates the Synthesizer and its Monitor. |
javax.speech.synthesis.Synthesizer |
getSynthesizer()
Returns a Synthesizer that fits the description of this MySynthesizerModeDesc. |
boolean |
isSynthesizerLoaded()
Returns true if the synthesizer is already loaded. |
javax.speech.synthesis.Synthesizer |
loadSynthesizer()
Allocates the synthesizer if it has never been allocated. |
java.lang.String |
toString()
Returns the name of the Synthesizer. |
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, wait, wait, wait |
Constructor Detail |
public AliceSynthesizerModeDesc(javax.speech.synthesis.SynthesizerModeDesc modeDesc)
modeDesc
- the SynthesizerModeDesc to get attributes fromMethod Detail |
public boolean isSynthesizerLoaded()
public javax.speech.synthesis.Synthesizer getSynthesizer()
public javax.speech.synthesis.Synthesizer createSynthesizer()
public javax.speech.synthesis.Synthesizer loadSynthesizer()
createSynthesizer()
.
It spawns a new thread to allocate the synthesizer.
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |