你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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.