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
The voice tied to the speech synthesis request.IVoice*— Required
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.
