Rate this page:

TTSPlaybackParameters

Avatar voice channel TTS playback parameters. Can be passed via the VoiceChannelParameters.playback parameter.
Has a similar interface to .

Props

allowPlaybackInterruption

Copy URL
allowPlaybackInterruption: 

true

Whether to enable the playback interruption.
NOTE: the segment with allowPlaybackInterruption parameter should be always followed by another segment eligible for playback interruption or should be the last segment.

parameters

Copy URL
parameters: 

TTSPlayerParameters

Optional. TTS Player parameters.
NOTE: the default value is inherited from the VoiceAvatarConfig.ttsPlayerOptions parameter.

text

Copy URL
text: 

string

Text to synthesize.
NOTE: this parameter is required for the AvatarState (not for the AvatarFormState), so if you want to use the value from the VoximplantAvatar.Events.Reply event's utterance parameter, specify it into the text parameter.