|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--speech.Say
For speechout via IBM ViaVoice
Method Summary | |
void |
finalize()
|
static Say |
getSay()
|
void |
looper()
Get the async sayings and say them. |
static void |
main(String[] argv)
|
void |
playWav(String wavFile)
Plays wavs (and other sound formats) through AudioPlayer. |
void |
playWavSync(String wavFile)
This is the synchronized version of playWav. |
static void |
say(Collection c)
Randomly speak one of the objects in the given collection. |
static void |
say(Speakable sObject)
Speak this object's toSpeech using speech synthesis. |
static void |
say(String text)
|
void |
saySync(String text)
Say one thing, block till its over |
void |
setVoice(String name)
|
HashSet |
voiceNames()
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Say getSay()
public void looper()
public void saySync(String text)
public static void say(String text)
public static void say(Speakable sObject)
sObject
- a Speakable
valuepublic static void say(Collection c)
c
- a Collection
valuepublic void playWavSync(String wavFile)
wavFile
- a String
value of the sound to be played.
This should include the full path.playWav(String wavFile)
public void playWav(String wavFile)
wavFile
- a String
value of the sound to be played.
This should include the full path.playWavSync(String wavFile)
public void finalize()
finalize
in class Object
public HashSet voiceNames()
public void setVoice(String name)
public static void main(String[] argv)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |