diff --git a/voice__synthesizer_8cpp_source.html b/voice__synthesizer_8cpp_source.html index ad9b879..a4b4ad2 100644 --- a/voice__synthesizer_8cpp_source.html +++ b/voice__synthesizer_8cpp_source.html @@ -143,11 +143,9 @@
51  return;
52  }
53 
-
54  const int voice_id = 2;
-
55  std::string command =
-
56  "Say " + std::to_string(voice_id) + " \"" + PreProcess(text) + "\"";
-
57  system(command.c_str());
-
58 }
+
54  std::string command = "say " + PreProcess(text);
+
55  system(command.c_str());
+
56 }
CC::VoiceSynthesizer::VoiceSynthesizer
VoiceSynthesizer()
Constructor.
Definition: voice_synthesizer.cpp:6
CC::VoiceSynthesizer::Say
void Say(const std::string &text)
Say text.
Definition: voice_synthesizer.cpp:46
CC::common::Replace
std::string Replace(const std::string &s, const std::string &from, const std::string &to)
Replace all occurrences of a substring with another substring.
Definition: common.cpp:3