Skip to content

@ralphschuler.webgl shader factory.<internal>.SpeechSynthesisUtterance

github-actions edited this page Nov 26, 2023 · 1 revision

Interface: SpeechSynthesisUtterance

@ralphschuler/webgl-shader-factory.<internal>.SpeechSynthesisUtterance

This Web Speech API interface represents a speech request. It contains the content the speech service should read and information about how to read it (e.g. language, pitch and volume.)

MDN Reference

Hierarchy

  • EventTarget

    SpeechSynthesisUtterance

Table of contents

Properties

Methods

Properties

lang

lang: string

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:21516


onboundary

onboundary: null | (this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:21518


onend

onend: null | (this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:21520


onerror

onerror: null | (this: SpeechSynthesisUtterance, ev: SpeechSynthesisErrorEvent) => any

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:21522


onmark

onmark: null | (this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:21524


onpause

onpause: null | (this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:21526


onresume

onresume: null | (this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:21528


onstart

onstart: null | (this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:21530


pitch

pitch: number

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:21532


rate

rate: number

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:21534


text

text: string

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:21536


voice

voice: null | SpeechSynthesisVoice

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:21538


volume

volume: number

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:21540

Methods

addEventListener

addEventListener<K>(type, listener, options?): void

Type parameters

Name Type
K extends keyof SpeechSynthesisUtteranceEventMap

Parameters

Name Type
type K
listener (this: SpeechSynthesisUtterance, ev: SpeechSynthesisUtteranceEventMap[K]) => any
options? boolean | AddEventListenerOptions

Returns

void

Overrides

EventTarget.addEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:21541

addEventListener(type, listener, options?): void

Parameters

Name Type
type string
listener EventListenerOrEventListenerObject
options? boolean | AddEventListenerOptions

Returns

void

Overrides

EventTarget.addEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:21542


dispatchEvent

dispatchEvent(event): boolean

Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

MDN Reference

Parameters

Name Type
event Event

Returns

boolean

Inherited from

EventTarget.dispatchEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8217


removeEventListener

removeEventListener<K>(type, listener, options?): void

Type parameters

Name Type
K extends keyof SpeechSynthesisUtteranceEventMap

Parameters

Name Type
type K
listener (this: SpeechSynthesisUtterance, ev: SpeechSynthesisUtteranceEventMap[K]) => any
options? boolean | EventListenerOptions

Returns

void

Overrides

EventTarget.removeEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:21543

removeEventListener(type, listener, options?): void

Parameters

Name Type
type string
listener EventListenerOrEventListenerObject
options? boolean | EventListenerOptions

Returns

void

Overrides

EventTarget.removeEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:21544

Typescript Libraries

Modules

Namespaces

Clone this wiki locally