SpeechSynthesisUtterance interface of the Web Speech API 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.)
Documentation SpeechSynthesisUtterance by Mozilla Contributors, licensed under CC-BY-SA 2.5.
Gets and sets the language of the utterance.
Fired when the spoken utterance reaches a word or sentence boundary.
Fired when the utterance has finished being spoken.
Fired when an error occurs that prevents the utterance from being succesfully spoken.
Fired when the spoken utterance reaches a named SSML "mark" tag.
Fired when the utterance is paused part way through.
Fired when a paused utterance is resumed.
Fired when the utterance has begun to be spoken.
Gets and sets the pitch at which the utterance will be spoken at.
Gets and sets the speed at which the utterance will be spoken at.
Gets and sets the text that will be synthesised when the utterance is spoken.
Gets and sets the voice that will be used to speak the utterance.
Gets and sets the volume that the utterance will be spoken at.