6#ifndef FAKESPEECHSYNTHESIZER_H
7#define FAKESPEECHSYNTHESIZER_H
31 bool m_verbose =
true;
42 bool close()
override;
This class is the parameters parser for class FakeSpeechSynthesizer.
FakeSpeechSynthesizer: A fake implementation of a speech synthesizer plugin.
virtual yarp::dev::ReturnValue getVoice(std::string &voice) override
Gets the current voice set for speech synthesis.
virtual yarp::dev::ReturnValue setPitch(const double pitch) override
Sets the pitch for speech synthesis.
virtual yarp::dev::ReturnValue getPitch(double &voice) override
Gets the current pitch set for speech synthesis.
bool close() override
Close the DeviceDriver.
virtual ~FakeSpeechSynthesizer()
FakeSpeechSynthesizer & operator=(const FakeSpeechSynthesizer &)=delete
FakeSpeechSynthesizer(FakeSpeechSynthesizer &&)=delete
virtual yarp::dev::ReturnValue getLanguage(std::string &language) override
Gets the current language set for speech synthesis.
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
virtual yarp::dev::ReturnValue synthesize(const std::string &text, yarp::sig::Sound &sound) override
Performs the speech synthesis.
FakeSpeechSynthesizer & operator=(FakeSpeechSynthesizer &&)=delete
FakeSpeechSynthesizer(const FakeSpeechSynthesizer &)=delete
virtual yarp::dev::ReturnValue setLanguage(const std::string &language) override
Sets the language for speech synthesis.
virtual yarp::dev::ReturnValue getSpeed(double &voice) override
Gets the current voice speed.
virtual yarp::dev::ReturnValue setSpeed(const double speed) override
Sets the voice speed for speech synthesis.
virtual yarp::dev::ReturnValue setVoice(const std::string &voice) override
Sets the voice set for speech synthesis.
Interface implemented by all device drivers.
A generic interface for speech synthesis.
A base class for nested structures that can be searched.
Class for storing sounds See Audio in YARP for additional documentation on YARP audio.
An interface to the operating system, including Port based communication.