SIGN UP

TTSPlayerOptions

Options for the createTTSPlayer method.

Properties

language

language: String

Language and voice to be used. List of all supported languages: Language. The default value is VoiceList.Amazon.en_US_Joanna.

progressivePlayback

progressivePlayback: Boolean

Use progressive playback or not. If true, the generated speech will be delivered in chunks which reduces delay before a method call and playback. It's false by default.

ttsOptions

ttsOptions: ttsOptions

Optional parameters for TTS. Note that support of the ttsOptions.pitch parameter depends on the language and dictionary used. For unsupported combinations the PlaybackFinished event will be triggered with error 400.