SpeechSynth Class Reference

Inheritance diagram for SpeechSynth:
Inheritance graph
[legend]
Collaboration diagram for SpeechSynth:
Collaboration graph
[legend]

List of all members.

Classes

struct  WavFileInfo

Public Member Functions

 SpeechSynth (OptionManager &mgr, const std::string &descrName="SpeechSynth", const std::string &tagName="SpeechSynth")
bool sayText (const std::string &text, int priority, bool block=false)
bool sendCommand (const std::string &text, int priority, bool block=false, time_t *timestamp=NULL)
void flushQueue ()
bool playWavFile (const std::string &fname, int priority, bool block=false, int mindelay=20)
 Play a wav file; the wav file must exist on the same machine as the running festival-server, which is not necessarily the same as localhost.
void start2 ()
 This is called from within start() after the subcomponents have started.

Detailed Description

Definition at line 64 of file SpeechSynth.H.


Member Function Documentation

bool SpeechSynth::playWavFile ( const std::string fname,
int  priority,
bool  block = false,
int  mindelay = 20 
)

Play a wav file; the wav file must exist on the same machine as the running festival-server, which is not necessarily the same as localhost.

The wave file will be first loaded into the festival-server if it has not yet been loaded.

Definition at line 274 of file SpeechSynth.C.

References sformat().

void SpeechSynth::start2 (  )  [virtual]

This is called from within start() after the subcomponents have started.

Reimplemented from ModelComponent.

Definition at line 154 of file SpeechSynth.C.


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:43:49 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3