Main Page | Packages | Class List | File List | Class Members

voce.SpeechSynthesizer Class Reference

List of all members.

Public Member Functions

 SpeechSynthesizer (String name)
void destroy ()
void synthesize (String message)
void stopSynthesizing ()

Private Attributes

Synthesizer mSynthesizer = null

Detailed Description

Handles all speech synthesis (i.e. text-to-speech) functions.

Definition at line 50 of file

Constructor & Destructor Documentation

voce.SpeechSynthesizer.SpeechSynthesizer String  name  ) 

Constructs and initializes the speech synthesizer.

Definition at line 56 of file

References voce.SpeechSynthesizer.mSynthesizer, and voce.SpeechSynthesizer.synthesize().

Member Function Documentation

void voce.SpeechSynthesizer.destroy  ) 

Deallocates voice synthesizer.

Definition at line 108 of file

References voce.SpeechSynthesizer.mSynthesizer.

Referenced by voce.SpeechInterface.destroy().

void voce.SpeechSynthesizer.stopSynthesizing  ) 

Stops synthesizing the current message and removes all pending messages from the queue.

Definition at line 134 of file

References voce.SpeechSynthesizer.mSynthesizer.

Referenced by voce.SpeechInterface.stopSynthesizing().

void voce.SpeechSynthesizer.synthesize String  message  ) 

Adds a message to the synthesizer's queue and synthesize it as soon as it reaches the front of the queue.

Definition at line 124 of file

References voce.SpeechSynthesizer.mSynthesizer.

Referenced by voce.SpeechSynthesizer.SpeechSynthesizer(), and voce.SpeechInterface.synthesize().

Member Data Documentation

Synthesizer voce.SpeechSynthesizer.mSynthesizer = null [private]

The speech Synthesizer instance.

Definition at line 53 of file

Referenced by voce.SpeechSynthesizer.destroy(), voce.SpeechSynthesizer.SpeechSynthesizer(), voce.SpeechSynthesizer.stopSynthesizing(), and voce.SpeechSynthesizer.synthesize().

The documentation for this class was generated from the following file:
Generated on Wed Aug 3 16:25:02 2005 for Voce Java API by  doxygen 1.4.1