speech
Class Say

java.lang.Object
  |
  +--speech.Say

public class Say
extends Object

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(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

getSay

public static Say getSay()

looper

public void looper()
Get the async sayings and say them.

saySync

public void saySync(String text)
Say one thing, block till its over

say

public static void say(String text)

playWavSync

public void playWavSync(String wavFile)
This is the synchronized version of playWav.
Parameters:
wavFile - a String value of the sound to be played. This should include the full path.
See Also:
playWav(String wavFile)

playWav

public void playWav(String wavFile)
Plays wavs (and other sound formats) through AudioPlayer.
Parameters:
wavFile - a String value of the sound to be played. This should include the full path.
See Also:
playWavSync(String wavFile)

finalize

public void finalize()
Overrides:
finalize in class Object

voiceNames

public HashSet voiceNames()

setVoice

public void setVoice(String name)

main

public static void main(String[] argv)