6#ifndef YARP_DEV_SPEECHSYNTHESIZER_NWC_YARP_H
7#define YARP_DEV_SPEECHSYNTHESIZER_NWC_YARP_H
57 bool close()
override;
This class is the parameters parser for class SpeechSynthesizer_nwc_yarp.
speechSynthesizer_nwc_yarp: A network wrapper client that connects to a speechSynthesizer_nws_yarp to...
yarp::dev::ReturnValue synthesize(const std::string &text, yarp::sig::Sound &sound) override
Performs the speech synthesis.
yarp::dev::ReturnValue setSpeed(const double speed=0) override
Sets the voice speed for speech synthesis.
yarp::dev::ReturnValue getPitch(double &pitch) override
Gets the current pitch set for speech synthesis.
SpeechSynthesizer_nwc_yarp & operator=(SpeechSynthesizer_nwc_yarp &&)=delete
~SpeechSynthesizer_nwc_yarp() override
yarp::dev::ReturnValue getSpeed(double &speed) override
Gets the current voice speed.
yarp::dev::ReturnValue setLanguage(const std::string &language="auto") override
Sets the language for speech synthesis.
yarp::dev::ReturnValue setPitch(const double pitch) override
Sets the pitch for speech synthesis.
bool close() override
Close the DeviceDriver.
SpeechSynthesizer_nwc_yarp & operator=(const SpeechSynthesizer_nwc_yarp &)=delete
SpeechSynthesizer_nwc_yarp(SpeechSynthesizer_nwc_yarp &&)=delete
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
yarp::dev::ReturnValue setVoice(const std::string &voice_name="auto") override
Sets the voice set for speech synthesis.
yarp::os::Port m_thriftClientPort
yarp::dev::ReturnValue getLanguage(std::string &language) override
Gets the current language set for speech synthesis.
SpeechSynthesizer_nwc_yarp(const SpeechSynthesizer_nwc_yarp &)=delete
SpeechSynthesizer_nwc_yarp()=default
yarp::dev::ReturnValue getVoice(std::string &voice_name) override
Gets the current voice set for speech synthesis.
Interface implemented by all device drivers.
A generic interface for speech synthesis.
A mini-server for network communication.
A base class for nested structures that can be searched.
Class for storing sounds See Audio in YARP for additional documentation on YARP audio.