Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Data object SpeechAttributes

interface struct SpeechAttributes
SpeechAttributes is an interface struct that allows access to properties of synthesized speech. This object includes defaults such as voice or speech rate, but these can be overruled with SSML attributes.

Fields

voice

IVoice* — Required
The voice tied to the speech synthesis request.

rate

float — Required
The speech rate for synthesized speech. A rate of 0.5 indicates half the default speed, while a rate of 2.0 is twice the default speed. Default is 1.0.

pitch

float — Required
The pitch multiplier for synthesized speech. The pitch defines the perceived fundamental frequency of a sound. Default is 1.0.
Last modified on October 29, 2026