TextToSpeechAction Class Reference

Inheritance diagram for TextToSpeechAction:

R3Action List of all members.

Public Member Functions

 TextToSpeechAction ()
 TextToSpeechAction (String wordsToSay)
void close ()
 Clean up resources.
void initialize ()
void invoke ()
 Remote invocations should use this method.
void speak ()
void speak (String wordsToSpeak)

Static Public Member Functions

static TextToSpeechAction getInstance ()

Detailed Description

Speaks some text, if the receiving machine has FreeTTS installed (or some other JSAPI engine).

This software is distributed under the BSD License.

Ron B Yeh (ronyeh(AT)cs.stanford.edu)

Definition at line 27 of file TextToSpeechAction.java.

Member Function Documentation

static TextToSpeechAction getInstance (  )  [static]


Definition at line 36 of file TextToSpeechAction.java.

References TextToSpeechAction.initialize(), and TextToSpeechAction.TextToSpeechAction().

void invoke (  ) 

Remote invocations should use this method.

Local invocations may also use this, but it might be more efficient to keep a TextToSpeechAction around, initialize it, and then call speak(String) repeatedly.

See also:

Implements R3Action.

Definition at line 142 of file TextToSpeechAction.java.

References TextToSpeechAction.close(), TextToSpeechAction.initialize(), and TextToSpeechAction.speak().

void speak ( String  wordsToSpeak  ) 


Definition at line 158 of file TextToSpeechAction.java.

The documentation for this class was generated from the following file:
Generated on Sat Apr 14 18:21:40 2007 for R3 Paper Toolkit by  doxygen 1.4.7