4#ifndef YARP_THRIFT_GENERATOR_Speech_IDL
5#define YARP_THRIFT_GENERATOR_Speech_IDL
7#include <yarp/os/Wire.h>
8#include <yarp/os/idl/WireTypes.h>
53 virtual bool say(
const std::string& text);
66 virtual bool read(yarp::os::ConnectionReader& connection);
67 virtual std::vector<std::string> help(
const std::string& functionName=
"--all");
virtual bool say(const std::string &text)
render and play the speech
virtual std::vector< std::string > getSupportedLang()
get the available languages
virtual int16_t getPitch()
get the speech pitch
virtual int16_t getSpeed()
get the speech speed
virtual bool setPitch(const int16_t pitch)
set the speech pitch
virtual bool play()
play the previously rendered or paused speech
virtual bool setLanguage(const std::string &language)
set the speech langauge
virtual bool stop()
stop playing the current speech
virtual bool setSpeed(const int16_t speed)
set the speech speed
virtual bool pause()
pause the current speech