COSC345CoolGroupASLtoSpeech
BridgingASLandspokenlanguagewithAI:Translategesturestospeechforinclusivecommunication.
ttsCall.h
Go to the documentation of this file.
1 
9 #ifndef TTSCALL_H
10 #define TTSCALL_H
11 
12 #include <string>
13 
22 public:
34  bool tts(const std::string& text);
35 
36  std::string getString();
37  void setPitch(int s);
38  void setSpeed(int s);
39  void setVolume(int s);
40  void setGender(int gender);
41 
42 };
43 
44 
45 
46 #endif // TTSCALL_H
bool tts(const std::string &text)
Converts the given text to speech using an external tool.
Definition: ttsCall.cpp:22
void setGender(int gender)
Definition: ttsCall.cpp:88
void setPitch(int s)
Definition: ttsCall.cpp:67
The TextToSpeech class represents the text-to-speech functionality.
Definition: ttsCall.h:21
void setVolume(int s)
Definition: ttsCall.cpp:77
std::string getString()
Returns the current string that is being converted to speech.
Definition: ttsCall.cpp:62
void setSpeed(int s)
Definition: ttsCall.cpp:72