Crosstales.RTVoice.LiveSpeaker Class Reference
Wrapper of the main component from RT-Voice for MonoBehaviour-access (like "SendMessage"). More...
Inheritance diagram for Crosstales.RTVoice.LiveSpeaker:
Public Member Functions | |
void | SpeakNativeLive (Crosstales.RTVoice.Model.Wrapper wrapper) |
Speaks a text with a given wrapper -> native mode. More... | |
void | SpeakNativeLive (string args) |
Speaks a text with a given array of arguments (native mode). More... | |
void | SpeakNativeLive (string[] args) |
Speaks a text with a given array of arguments (native mode). More... | |
void | SpeakLive (Crosstales.RTVoice.Model.Wrapper wrapper) |
Speaks a text with a given wrapper. More... | |
void | SpeakLive (string args) |
Speaks a text with a given array of arguments. More... | |
void | SpeakLive (string[] args) |
Speaks a text with a given array of arguments. More... | |
void | SilenceLive () |
Silence all active TTS-voices. More... | |
Detailed Description
Wrapper of the main component from RT-Voice for MonoBehaviour-access (like "SendMessage").
Member Function Documentation
◆ SilenceLive()
void Crosstales.RTVoice.LiveSpeaker.SilenceLive | ( | ) |
Silence all active TTS-voices.
◆ SpeakLive() [1/3]
void Crosstales.RTVoice.LiveSpeaker.SpeakLive | ( | Crosstales.RTVoice.Model.Wrapper | wrapper | ) |
Speaks a text with a given wrapper.
- Parameters
-
wrapper Wrapper with the speech details.
◆ SpeakLive() [2/3]
void Crosstales.RTVoice.LiveSpeaker.SpeakLive | ( | string | args | ) |
Speaks a text with a given array of arguments.
Important: you can't specify the AudioSource with this method!
- Parameters
-
args Argument string delimited by ';': 0 = text, 1 = culture (optional), 2 = voiceName (optional), 3 = rate (optional), 4 = volume (optional), 5 = pitch (optional).
◆ SpeakLive() [3/3]
void Crosstales.RTVoice.LiveSpeaker.SpeakLive | ( | string[] | args | ) |
Speaks a text with a given array of arguments.
Important: you can't specify the AudioSource with this method!
- Parameters
-
args Argument index: 0 = text, 1 = culture (optional), 2 = voiceName (optional), 3 = rate (optional), 4 = pitch (optional), 5 = volume (optional).
◆ SpeakNativeLive() [1/3]
void Crosstales.RTVoice.LiveSpeaker.SpeakNativeLive | ( | Crosstales.RTVoice.Model.Wrapper | wrapper | ) |
Speaks a text with a given wrapper -> native mode.
- Parameters
-
wrapper Wrapper with the speech details.
◆ SpeakNativeLive() [2/3]
void Crosstales.RTVoice.LiveSpeaker.SpeakNativeLive | ( | string | args | ) |
Speaks a text with a given array of arguments (native mode).
- Parameters
-
args Argument string delimited by ';': 0 = text, 1 = culture (optional), 2 = voiceName (optional), 3 = rate (optional), 4 = volume (optional), 5 = pitch (optional).
◆ SpeakNativeLive() [3/3]
void Crosstales.RTVoice.LiveSpeaker.SpeakNativeLive | ( | string[] | args | ) |
Speaks a text with a given array of arguments (native mode).
- Parameters
-
args Argument index: 0 = text, 1 = culture (optional), 2 = voiceName (optional), 3 = rate (optional), 4 = pitch (optional), 5 = volume (optional).
The documentation for this class was generated from the following file:
- C:/Users/slaub/Unity/assets/RTVoice/RTVoicePro/Assets/Plugins/crosstales/RTVoice/Scripts/LiveSpeaker.cs