Skip to main content

Class: SpeechSynthesizerOptions

Defined in: src/sound/SoundOptions.ts:1

Constructors

Constructor

new SpeechSynthesizerOptions(): SpeechSynthesizerOptions

Returns

SpeechSynthesizerOptions

Properties

allowInterruptions

allowInterruptions: boolean = false

Defined in: src/sound/SoundOptions.ts:4

If true, a new call to speak() will interrupt any ongoing speech.


enabled

enabled: boolean = false

Defined in: src/sound/SoundOptions.ts:2