API reference
API reference
Select your platform
No SDKs available
No versions available

ISpeaker Interface

Properties

Whether a clip is currently playing for this speaker
Whether a clip is currently paused
Events related to the playback of
The specific voice properties used by this speaker
The script used to perform audio playback of IAudioClipStreams.

Member Functions

Load a tts clip using the specified text & playback events. Cancels all previous clips when loaded & then plays.
Parameters
textToSpeak
The text to be spoken
playbackEvents
Events to be called for this specific tts playback request
Load a tts clip using the specified text & playback events. Cancels all previous clips when loaded & then plays.
Parameters
textToSpeak
The text to be spoken
playbackEvents
Events to be called for this specific tts playback request
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
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
Load a tts clip using the specified text & playback events and waits for the file to load and play Cancels all previous clips when loaded & then plays.
Parameters
textToSpeak
The text to be spoken
playbackEvents
Events to be called for this specific tts playback request
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
playbackEvents
Events to be called for this specific tts playback request
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
playbackEvents
Events to be called for this specific tts playback request
Returns
True if responseNode is decoded successfully
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
playbackEvents
Events to be called for this specific tts playback request
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
playbackEvents
Events to be called for this specific tts playback request
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
playbackEvents
Events to be called for this specific tts playback request
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
playbackEvents
Events to be called for this specific tts playback request
Stops loading & playback immediately
Pause any current or future loaded audio playback
Resume playback for current and future audio clips
Call before sending speech data to warm up system
Call at the start of a larger text block to indicate many queued requests will be coming
Call at the end of a larger text block to indicate a block of text is complete.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon