simpleSpeech
Class Speak

java.lang.Object
  extended by simpleSpeech.Speak

public class Speak
extends java.lang.Object

Speak: a Class for speech synthesis


Constructor Summary
Speak(processing.core.PApplet parent)
          Constructor: instantiate the class in procesing's standard way: pass "this" as a parameter,
when instantiating in a Processing applet
It uses the default voice (kevin16)
Speak(processing.core.PApplet parent, java.lang.String voiceName)
          Constructor (overload): instantiate the class in procesing's standard way: pass "this" as a parameter,
when instantiating in a Processing applet
voiceName selects the voice to use (kevin or kevin16)
 
Method Summary
 void dispose()
          Dispose the Voice
 boolean isSpeaking()
          Is the Voice still Speaking?
 void listVoices()
          List the available Voices in the Console
 void speak(java.lang.String _s)
          Speaking text from a string
 void speakAndWait(java.lang.String _s)
          Speak and Wait
 void version()
          Displays Version Information of this Library in the Console
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Speak

public Speak(processing.core.PApplet parent)
Constructor: instantiate the class in procesing's standard way: pass "this" as a parameter,
when instantiating in a Processing applet
It uses the default voice (kevin16)

Parameters:
parent - Processing applet

Speak

public Speak(processing.core.PApplet parent,
             java.lang.String voiceName)
Constructor (overload): instantiate the class in procesing's standard way: pass "this" as a parameter,
when instantiating in a Processing applet
voiceName selects the voice to use (kevin or kevin16)

Parameters:
parent - Processing applet
voiceName - Voice to use
Method Detail

speak

public void speak(java.lang.String _s)
Speaking text from a string

Parameters:
_s - Text to Speak

speakAndWait

public void speakAndWait(java.lang.String _s)
Speak and Wait

Parameters:
_s - Text to Speak

isSpeaking

public boolean isSpeaking()
Is the Voice still Speaking?

Parameters:
_s - Text to Speak

listVoices

public void listVoices()
List the available Voices in the Console


version

public void version()
Displays Version Information of this Library in the Console


dispose

public void dispose()
Dispose the Voice

Parameters:
_s - Text to Speak