|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread biocell.BioThread devs.speechpackage.SpeechSynthesizer
public class SpeechSynthesizer
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
SpeechSynthesizer()
default constructor simply check the ressources available from the speech.properties file |
Method Summary | |
---|---|
void |
addsynthListener(javax.speech.synthesis.SpeakableAdapter sA)
add a synthesizer listener, which is useful to check the status of the speech, and some time constants |
javax.speech.synthesis.Synthesizer |
getEngine()
|
javax.speech.EngineList |
getEngineList()
|
java.util.List |
getSynth()
|
javax.speech.synthesis.SynthesizerModeDesc |
getSynthDesc()
|
void |
run()
|
void |
setEngine(java.lang.String engineName)
set a speech synthesizer according to its name |
Methods inherited from class biocell.BioThread |
---|
getCurrentmood, getMoodParam, getstate, setMood, stepEnergy |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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 |
Constructor Detail |
---|
public SpeechSynthesizer()
Method Detail |
---|
public javax.speech.synthesis.Synthesizer getEngine()
public javax.speech.synthesis.SynthesizerModeDesc getSynthDesc()
public javax.speech.EngineList getEngineList()
public void setEngine(java.lang.String engineName)
engineName
- -
the name of an enginepublic void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public java.util.List getSynth()
public void addsynthListener(javax.speech.synthesis.SpeakableAdapter sA)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |