SpeechSynthesizer Class

Inheritance
builtins.object
SpeechSynthesizer

Constructor

SpeechSynthesizer(*args, **kwargs)

Methods

get_authorization_token
get_voices_async
set_authorization_token
speak_ssml
speak_ssml_async
speak_text
speak_text_async
start_speaking_ssml
start_speaking_ssml_async
start_speaking_text
start_speaking_text_async
stop_speaking
stop_speaking_async

get_authorization_token

get_authorization_token()

get_voices_async

get_voices_async(locale)

Parameters

locale
Required

set_authorization_token

set_authorization_token(token)

Parameters

token
Required

speak_ssml

speak_ssml(ssml)

Parameters

ssml
Required

speak_ssml_async

speak_ssml_async(ssml)

Parameters

ssml
Required

speak_text

speak_text(text)

Parameters

text
Required

speak_text_async

speak_text_async(text)

Parameters

text
Required

start_speaking_ssml

start_speaking_ssml(ssml)

Parameters

ssml
Required

start_speaking_ssml_async

start_speaking_ssml_async(ssml)

Parameters

ssml
Required

start_speaking_text

start_speaking_text(text)

Parameters

text
Required

start_speaking_text_async

start_speaking_text_async(text)

Parameters

text
Required

stop_speaking

stop_speaking()

stop_speaking_async

stop_speaking_async()

Attributes

bookmark_reached

properties

synthesis_canceled

synthesis_completed

synthesis_started

synthesizing

viseme_received

word_boundary