11#include <catch2/catch_amalgamated.hpp>
17TEST_CASE(
"dev::fakeSpeechSynthesizer",
"[yarp::dev]")
21 Network::setLocalMode(
true);
23 SECTION(
"Checking fakeSpeechSynthesizer device")
31 pdev_cfg.put(
"device",
"fakeSpeechSynthesizer");
36 std::string
lang =
"eng";
45 CHECK(
istr->synthesize(
"hello world",snd));
56 Network::setLocalMode(
false);
A generic interface for speech synthesis.
A container for a device driver.
A mini-server for performing network communication in the background.
void close() override
Stop port activity.
bool open(const std::string &name) override
Start port operation, with a specific name, with automatically-chosen network parameters.
A class for storing options and configuration information.
Class for storing sounds See Audio in YARP for additional documentation on YARP audio.
size_t getChannels() const
Get the number of channels of the sound.
size_t getSamples() const
Get the number of samples contained in the sound.
TEST_CASE("dev::fakeSpeechSynthesizer", "[yarp::dev]")
For streams capable of holding different kinds of content, check what they actually have.
void delay(double seconds)
Wait for a certain number of seconds.
An interface to the operating system, including Port based communication.