Interface: SpeechOptions
Defined in: src/audio/speechSynthesizer.ts:22
Playback options for one spoken utterance.
Extended by
Properties
lang?
optionallang:string
Defined in: src/audio/speechSynthesizer.ts:30
BCP-47 language tag, e.g. "en-US".
pitch?
optionalpitch:number
Defined in: src/audio/speechSynthesizer.ts:26
Voice pitch multiplier (1 = normal).
rate?
optionalrate:number
Defined in: src/audio/speechSynthesizer.ts:24
Speaking rate multiplier (1 = normal).
voice?
optionalvoice:string
Defined in: src/audio/speechSynthesizer.ts:32
Name of a specific SpeechSynthesisVoice to use.
volume?
optionalvolume:number
Defined in: src/audio/speechSynthesizer.ts:28
Output volume in the range [0, 1].