Rate this page:

TTSPlaybackParameters

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

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 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 (not for the ), so if you want to use the value from the VoximplantAvatar.Events.Reply event's "utterance" parameter, specify it into the "text" parameter.