speech
All Data Structures Functions Modules Pages
Public Member Functions
Speech_IDL Class Reference

Speech_IDL. More...

#include <Speech_IDL.h>

Inherits yarp::os::Wire.

Inherited by yarp::dev::Speech.

Public Member Functions

virtual bool setLanguage (const std::string &language)
 set the speech langauge More...
 
virtual bool setSpeed (const int16_t speed)
 set the speech speed More...
 
virtual bool setPitch (const int16_t pitch)
 set the speech pitch More...
 
virtual int16_t getSpeed ()
 get the speech speed More...
 
virtual int16_t getPitch ()
 get the speech pitch More...
 
virtual std::vector< std::string > getSupportedLang ()
 get the available languages More...
 
virtual bool say (const std::string &text)
 render and play the speech More...
 
virtual bool play ()
 play the previously rendered or paused speech
 
virtual bool pause ()
 pause the current speech
 
virtual bool stop ()
 stop playing the current speech
 
virtual bool read (yarp::os::ConnectionReader &connection)
 
virtual std::vector< std::string > help (const std::string &functionName="--all")
 

Detailed Description

Speech_IDL.

Definition at line 16 of file Speech_IDL.h.

Member Function Documentation

◆ getPitch()

virtual int16_t Speech_IDL::getPitch ( )
virtual

get the speech pitch

Returns
the pitch

◆ getSpeed()

virtual int16_t Speech_IDL::getSpeed ( )
virtual

get the speech speed

Returns
the speed

◆ getSupportedLang()

virtual std::vector<std::string> Speech_IDL::getSupportedLang ( )
virtual

get the available languages

Returns
a list of the supported language

◆ say()

virtual bool Speech_IDL::say ( const std::string &  text)
virtual

render and play the speech

Returns
true/false on success/failure

◆ setLanguage()

virtual bool Speech_IDL::setLanguage ( const std::string &  language)
virtual

set the speech langauge

Returns
true/false on success/failure

◆ setPitch()

virtual bool Speech_IDL::setPitch ( const int16_t  pitch)
virtual

set the speech pitch

Returns
true/false on success/failure

◆ setSpeed()

virtual bool Speech_IDL::setSpeed ( const int16_t  speed)
virtual

set the speech speed

Returns
true/false on success/failure

The documentation for this class was generated from the following file: