SpeechSynthesisResult Class

Result of a speech synthesis operation.

Constructor for internal use.

Inheritance
builtins.object
SpeechSynthesisResult

Constructor

SpeechSynthesisResult(handle: c_void_p)

Parameters

Name Description
handle
Required

Attributes

audio_data

The output audio data from the TTS.

audio_duration

The time duration of the synthesized audio.

Note

Added in version 1.21.0.

cancellation_details

The reason why speech synthesis was cancelled.

Returns None if there was no cancellation.

properties

A collection of properties and their values defined for this SpeechSynthesisResult.

Note

Added in version 1.17.0.

reason

Synthesis reason.

result_id

Synthesis result unique ID.