|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectsimpleSpeech.Speak
public class Speak
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 |
---|
public Speak(processing.core.PApplet parent)
parent
- Processing appletpublic Speak(processing.core.PApplet parent, java.lang.String voiceName)
parent
- Processing appletvoiceName
- Voice to useMethod Detail |
---|
public void speak(java.lang.String _s)
_s
- Text to Speakpublic void speakAndWait(java.lang.String _s)
_s
- Text to Speakpublic boolean isSpeaking()
_s
- Text to Speakpublic void listVoices()
public void version()
public void dispose()
_s
- Text to Speak
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |