bool | IsSpeaking[Get] Whether a clip is currently playing for this speaker |
bool | IsPaused[Get] Whether a clip is currently paused |
VoiceSettings[Get] The specific voice properties used by this speaker | |
AudioPlayer[Get] The script used to perform audio playback of IAudioClipStreams. |
void | Load a tts clip using the specified text & playback events. Adds clip to playback queue and will speak once queue has completed all playback. |
void | Load a tts clip using the specified text & playback events. Adds clip to playback queue and will speak once queue has completed all playback. |
IEnumerator | SpeakAsync ( string textToSpeak ) Load a tts clip using the specified text and then waits for the file to load & play. Cancels all previous clips when loaded & then plays. |
bool | Load a tts clip using the specified response node & playback events Cancels all previous clips when loaded & then plays. |
IEnumerator | Load a tts clip using the specified text phrases & playback events and then waits for the files to load & play. Adds clip to playback queue and will speak once queue has completed all playback. |
IEnumerator | Load a tts clip using the specified text phrases & playback events and then waits for the files to load & play. Adds clip to playback queue and will speak once queue has completed all playback. |
void | Stop ( ) Stops loading & playback immediately |
void | Pause ( ) Pause any current or future loaded audio playback |
void | Resume ( ) Resume playback for current and future audio clips |
void | PrepareToSpeak ( ) Call before sending speech data to warm up system |
void | StartTextBlock ( ) Call at the start of a larger text block to indicate many queued requests will be coming |
void | EndTextBlock ( ) Call at the end of a larger text block to indicate a block of text is complete. |
bool Meta.WitAi.TTS.Interfaces.ISpeaker.IsSpeaking |
---|
Whether a clip is currently playing for this speaker |
bool Meta.WitAi.TTS.Interfaces.ISpeaker.IsPaused |
---|
Whether a clip is currently paused |
TTSSpeakerEvents Meta.WitAi.TTS.Interfaces.ISpeaker.Events |
---|
Events related to the playback of |
TTSVoiceSettings Meta.WitAi.TTS.Interfaces.ISpeaker.VoiceSettings |
---|
The specific voice properties used by this speaker |
IAudioPlayer Meta.WitAi.TTS.Interfaces.ISpeaker.AudioPlayer |
---|
The script used to perform audio playback of IAudioClipStreams. |
void Meta.WitAi.TTS.Interfaces.ISpeaker.Speak ( string textToSpeak, TTSSpeakerClipEvents playbackEvents ) |
---|
Load a tts clip using the specified text & playback events. Adds clip to playback queue and will speak once queue has completed all playback. Parameters textToSpeak The text to be spoken playbackEventsEvents to be called for this specific tts playback request |
void Meta.WitAi.TTS.Interfaces.ISpeaker.SpeakQueued ( string textToSpeak, TTSSpeakerClipEvents playbackEvents ) |
---|
Load a tts clip using the specified text & playback events. Adds clip to playback queue and will speak once queue has completed all playback. Parameters textToSpeak The text to be spoken playbackEventsEvents to be called for this specific tts playback request |
IEnumerator Meta.WitAi.TTS.Interfaces.ISpeaker.SpeakAsync ( string textToSpeak ) |
---|
Load a tts clip using the specified text and then waits for the file to load & play. Cancels all previous clips when loaded & then plays. Parameters textToSpeak The text to be spoken |
bool Meta.WitAi.TTS.Interfaces.ISpeaker.Speak ( WitResponseNode responseNode, TTSSpeakerClipEvents playbackEvents ) |
---|
Load a tts clip using the specified response node & playback events Cancels all previous clips when loaded & then plays. Parameters responseNode Parsed data that includes text to be spoken & voice settings playbackEventsEvents to be called for this specific tts playback request Returns True if responseNode is decoded successfully |
IEnumerator Meta.WitAi.TTS.Interfaces.ISpeaker.SpeakQueuedAsync ( WitResponseNode responseNode, TTSSpeakerClipEvents playbackEvents ) |
---|
Load a tts clip using the specified text phrases & playback events and then waits for the files to load & play. Adds clip to playback queue and will speak once queue has completed all playback. Parameters responseNode Parsed data that includes text to be spoken & voice settings playbackEventsEvents to be called for this specific tts playback request |
IEnumerator Meta.WitAi.TTS.Interfaces.ISpeaker.SpeakQueuedAsync ( string [] textsToSpeak, TTSSpeakerClipEvents playbackEvents ) |
---|
Load a tts clip using the specified text phrases & playback events and then waits for the files to load & play. Adds clip to playback queue and will speak once queue has completed all playback. Parameters textsToSpeak Multiple texts to be spoken playbackEventsEvents to be called for this specific tts playback request |
void Meta.WitAi.TTS.Interfaces.ISpeaker.Stop ( ) |
---|
Stops loading & playback immediately |
void Meta.WitAi.TTS.Interfaces.ISpeaker.Pause ( ) |
---|
Pause any current or future loaded audio playback |
void Meta.WitAi.TTS.Interfaces.ISpeaker.Resume ( ) |
---|
Resume playback for current and future audio clips |
void Meta.WitAi.TTS.Interfaces.ISpeaker.PrepareToSpeak ( ) |
---|
Call before sending speech data to warm up system |
void Meta.WitAi.TTS.Interfaces.ISpeaker.StartTextBlock ( ) |
---|
Call at the start of a larger text block to indicate many queued requests will be coming |
void Meta.WitAi.TTS.Interfaces.ISpeaker.EndTextBlock ( ) |
---|
Call at the end of a larger text block to indicate a block of text is complete. |