Liking cljdoc? Tell your friends :D

web.speech.SpeechSynthesisUtterance

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

The SpeechSynthesisUtterance interface of the Web Speech API
a speech request. It contains the content the speech service
read and information about how to read it (e.g. language, pitch
volume.)
raw docstring

constructorcljs

(constructor & args)

Constructor.

The SpeechSynthesisUtterance() constructor of the web.speech.SpeechSynthesisUtterance interface returns a new SpeechSynthesisUtterance object instance.

text A web.DOMString containing the text that will be synthesised when the utterance is spoken..

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/SpeechSynthesisUtterance

Constructor.

The SpeechSynthesisUtterance() constructor of the `web.speech.SpeechSynthesisUtterance` interface returns a new SpeechSynthesisUtterance object instance.

text
A `web.DOMString` containing the text that will be synthesised when the utterance is spoken..

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/SpeechSynthesisUtterance`
sourceraw docstring

langcljs

(lang this)

Property.

[Experimental]

The lang property of the web.speech.SpeechSynthesisUtterance gets and sets the language of the utterance.

var myLang = speechSynthesisUtteranceInstance.lang; speechSynthesisUtteranceInstance.lang = 'en-US';

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/lang

Property.

[Experimental]

The lang property of the `web.speech.SpeechSynthesisUtterance`
gets and sets the language of the utterance.

`var myLang = speechSynthesisUtteranceInstance.lang;
speechSynthesisUtteranceInstance.lang = 'en-US';`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/lang`
sourceraw docstring

onboundarycljs

(onboundary this)

Property.

[Experimental]

The onboundary property of the web.speech.SpeechSynthesisUtterance represents an event handler that will run when the spoken utterance a word or sentence boundary (when the boundary event fires.)

speechSynthesisUtteranceInstance.onboundary = function() { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onboundary

Property.

[Experimental]

The onboundary property of the `web.speech.SpeechSynthesisUtterance`
represents an event handler that will run when the spoken utterance
a word or sentence boundary (when the boundary event fires.)

`speechSynthesisUtteranceInstance.onboundary = function() { ... };`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onboundary`
sourceraw docstring

onendcljs

(onend this)

Property.

[Experimental]

The onend property of the web.speech.SpeechSynthesisUtterance represents an event handler that will run when the utterance finished being spoken (when the end event fires.)

speechSynthesisUtteranceInstance.onend = function() { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onend

Property.

[Experimental]

The onend property of the `web.speech.SpeechSynthesisUtterance`
represents an event handler that will run when the utterance
finished being spoken (when the end event fires.)

`speechSynthesisUtteranceInstance.onend = function() { ... };`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onend`
sourceraw docstring

onerrorcljs

(onerror this)

Property.

[Experimental]

The onerror property of the web.speech.SpeechSynthesisUtterance represents an event handler that will run when an error occurs prevents the utterance from being succesfully spoken (when the event fires.)

speechSynthesisUtteranceInstance.onerror = function() { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onerror

Property.

[Experimental]

The onerror property of the `web.speech.SpeechSynthesisUtterance`
represents an event handler that will run when an error occurs
prevents the utterance from being succesfully spoken (when the
event fires.)

`speechSynthesisUtteranceInstance.onerror = function() { ... };`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onerror`
sourceraw docstring

onmarkcljs

(onmark this)

Property.

[Experimental]

The onmark property of the web.speech.SpeechSynthesisUtterance represents an event handler that will run when the spoken utterance a named SSML mark tag (when the mark event fires.)

speechSynthesisUtteranceInstance.onmark = function() { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onmark

Property.

[Experimental]

The onmark property of the `web.speech.SpeechSynthesisUtterance`
represents an event handler that will run when the spoken utterance
a named SSML mark tag (when the mark event fires.)

`speechSynthesisUtteranceInstance.onmark = function() { ... };`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onmark`
sourceraw docstring

onpausecljs

(onpause this)

Property.

[Experimental]

The onpause property of the web.speech.SpeechSynthesisUtterance represents an event handler that will run when the utterance paused part way through (when the pause event fires.)

speechSynthesisUtteranceInstance.onpause = function() { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onpause

Property.

[Experimental]

The onpause property of the `web.speech.SpeechSynthesisUtterance`
represents an event handler that will run when the utterance
paused part way through (when the pause event fires.)

`speechSynthesisUtteranceInstance.onpause = function() { ... };`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onpause`
sourceraw docstring

onresumecljs

(onresume this)

Property.

[Experimental]

The onresume property of the web.speech.SpeechSynthesisUtterance represents an event handler that will run when a paused utterance resumed (when the resume event fires.)

speechSynthesisUtteranceInstance.onresume = function() { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onresume

Property.

[Experimental]

The onresume property of the `web.speech.SpeechSynthesisUtterance`
represents an event handler that will run when a paused utterance
resumed (when the resume event fires.)

`speechSynthesisUtteranceInstance.onresume = function() { ... };`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onresume`
sourceraw docstring

onstartcljs

(onstart this)

Property.

[Experimental]

The onstart property of the web.speech.SpeechSynthesisUtterance represents an event handler that will run when the utterance begun to be spoken (when the start event fires.)

speechSynthesisUtteranceInstance.onstart = function() { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onstart

Property.

[Experimental]

The onstart property of the `web.speech.SpeechSynthesisUtterance`
represents an event handler that will run when the utterance
begun to be spoken (when the start event fires.)

`speechSynthesisUtteranceInstance.onstart = function() { ... };`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onstart`
sourceraw docstring

pitchcljs

(pitch this)

Property.

[Experimental]

The pitch property of the web.speech.SpeechSynthesisUtterance gets and sets the pitch at which the utterance will be spoken

// default 1 speechSynthesisUtteranceInstance.pitch = 1.5;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/pitch

Property.

[Experimental]

The pitch property of the `web.speech.SpeechSynthesisUtterance`
gets and sets the pitch at which the utterance will be spoken

`// default 1
speechSynthesisUtteranceInstance.pitch = 1.5;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/pitch`
sourceraw docstring

ratecljs

(rate this)

Property.

[Experimental]

The rate property of the web.speech.SpeechSynthesisUtterance gets and sets the speed at which the utterance will be spoken

var myRate = speechSynthesisUtteranceInstance.rate; speechSynthesisUtteranceInstance.rate = 1.5;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/rate

Property.

[Experimental]

The rate property of the `web.speech.SpeechSynthesisUtterance`
gets and sets the speed at which the utterance will be spoken

`var myRate = speechSynthesisUtteranceInstance.rate;
speechSynthesisUtteranceInstance.rate = 1.5;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/rate`
sourceraw docstring

set-lang!cljs

(set-lang! this val)

Property.

[Experimental]

The lang property of the web.speech.SpeechSynthesisUtterance gets and sets the language of the utterance.

var myLang = speechSynthesisUtteranceInstance.lang; speechSynthesisUtteranceInstance.lang = 'en-US';

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/lang

Property.

[Experimental]

The lang property of the `web.speech.SpeechSynthesisUtterance`
gets and sets the language of the utterance.

`var myLang = speechSynthesisUtteranceInstance.lang;
speechSynthesisUtteranceInstance.lang = 'en-US';`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/lang`
sourceraw docstring

set-onboundary!cljs

(set-onboundary! this val)

Property.

[Experimental]

The onboundary property of the web.speech.SpeechSynthesisUtterance represents an event handler that will run when the spoken utterance a word or sentence boundary (when the boundary event fires.)

speechSynthesisUtteranceInstance.onboundary = function() { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onboundary

Property.

[Experimental]

The onboundary property of the `web.speech.SpeechSynthesisUtterance`
represents an event handler that will run when the spoken utterance
a word or sentence boundary (when the boundary event fires.)

`speechSynthesisUtteranceInstance.onboundary = function() { ... };`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onboundary`
sourceraw docstring

set-onend!cljs

(set-onend! this val)

Property.

[Experimental]

The onend property of the web.speech.SpeechSynthesisUtterance represents an event handler that will run when the utterance finished being spoken (when the end event fires.)

speechSynthesisUtteranceInstance.onend = function() { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onend

Property.

[Experimental]

The onend property of the `web.speech.SpeechSynthesisUtterance`
represents an event handler that will run when the utterance
finished being spoken (when the end event fires.)

`speechSynthesisUtteranceInstance.onend = function() { ... };`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onend`
sourceraw docstring

set-onerror!cljs

(set-onerror! this val)

Property.

[Experimental]

The onerror property of the web.speech.SpeechSynthesisUtterance represents an event handler that will run when an error occurs prevents the utterance from being succesfully spoken (when the event fires.)

speechSynthesisUtteranceInstance.onerror = function() { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onerror

Property.

[Experimental]

The onerror property of the `web.speech.SpeechSynthesisUtterance`
represents an event handler that will run when an error occurs
prevents the utterance from being succesfully spoken (when the
event fires.)

`speechSynthesisUtteranceInstance.onerror = function() { ... };`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onerror`
sourceraw docstring

set-onmark!cljs

(set-onmark! this val)

Property.

[Experimental]

The onmark property of the web.speech.SpeechSynthesisUtterance represents an event handler that will run when the spoken utterance a named SSML mark tag (when the mark event fires.)

speechSynthesisUtteranceInstance.onmark = function() { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onmark

Property.

[Experimental]

The onmark property of the `web.speech.SpeechSynthesisUtterance`
represents an event handler that will run when the spoken utterance
a named SSML mark tag (when the mark event fires.)

`speechSynthesisUtteranceInstance.onmark = function() { ... };`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onmark`
sourceraw docstring

set-onpause!cljs

(set-onpause! this val)

Property.

[Experimental]

The onpause property of the web.speech.SpeechSynthesisUtterance represents an event handler that will run when the utterance paused part way through (when the pause event fires.)

speechSynthesisUtteranceInstance.onpause = function() { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onpause

Property.

[Experimental]

The onpause property of the `web.speech.SpeechSynthesisUtterance`
represents an event handler that will run when the utterance
paused part way through (when the pause event fires.)

`speechSynthesisUtteranceInstance.onpause = function() { ... };`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onpause`
sourceraw docstring

set-onresume!cljs

(set-onresume! this val)

Property.

[Experimental]

The onresume property of the web.speech.SpeechSynthesisUtterance represents an event handler that will run when a paused utterance resumed (when the resume event fires.)

speechSynthesisUtteranceInstance.onresume = function() { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onresume

Property.

[Experimental]

The onresume property of the `web.speech.SpeechSynthesisUtterance`
represents an event handler that will run when a paused utterance
resumed (when the resume event fires.)

`speechSynthesisUtteranceInstance.onresume = function() { ... };`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onresume`
sourceraw docstring

set-onstart!cljs

(set-onstart! this val)

Property.

[Experimental]

The onstart property of the web.speech.SpeechSynthesisUtterance represents an event handler that will run when the utterance begun to be spoken (when the start event fires.)

speechSynthesisUtteranceInstance.onstart = function() { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onstart

Property.

[Experimental]

The onstart property of the `web.speech.SpeechSynthesisUtterance`
represents an event handler that will run when the utterance
begun to be spoken (when the start event fires.)

`speechSynthesisUtteranceInstance.onstart = function() { ... };`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/onstart`
sourceraw docstring

set-pitch!cljs

(set-pitch! this val)

Property.

[Experimental]

The pitch property of the web.speech.SpeechSynthesisUtterance gets and sets the pitch at which the utterance will be spoken

// default 1 speechSynthesisUtteranceInstance.pitch = 1.5;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/pitch

Property.

[Experimental]

The pitch property of the `web.speech.SpeechSynthesisUtterance`
gets and sets the pitch at which the utterance will be spoken

`// default 1
speechSynthesisUtteranceInstance.pitch = 1.5;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/pitch`
sourceraw docstring

set-rate!cljs

(set-rate! this val)

Property.

[Experimental]

The rate property of the web.speech.SpeechSynthesisUtterance gets and sets the speed at which the utterance will be spoken

var myRate = speechSynthesisUtteranceInstance.rate; speechSynthesisUtteranceInstance.rate = 1.5;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/rate

Property.

[Experimental]

The rate property of the `web.speech.SpeechSynthesisUtterance`
gets and sets the speed at which the utterance will be spoken

`var myRate = speechSynthesisUtteranceInstance.rate;
speechSynthesisUtteranceInstance.rate = 1.5;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/rate`
sourceraw docstring

set-text!cljs

(set-text! this val)

Property.

[Experimental]

The text property of the web.speech.SpeechSynthesisUtterance gets and sets the text that will be synthesised when the utterance spoken.

var myText = speechSynthesisUtteranceInstance.text; speechSynthesisUtteranceInstance.text = 'Hello I am speaking';

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/text

Property.

[Experimental]

The text property of the `web.speech.SpeechSynthesisUtterance`
gets and sets the text that will be synthesised when the utterance
spoken.

`var myText = speechSynthesisUtteranceInstance.text;
speechSynthesisUtteranceInstance.text = 'Hello I am speaking';`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/text`
sourceraw docstring

set-voice!cljs

(set-voice! this val)

Property.

[Experimental]

The voice property of the web.speech.SpeechSynthesisUtterance gets and sets the voice that will be used to speak the utterance.

var myVoice = speechSynthesisUtteranceInstance.voice; speechSynthesisUtteranceInstance.voice = speechSynthesisVoiceInstance;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/voice

Property.

[Experimental]

The voice property of the `web.speech.SpeechSynthesisUtterance`
gets and sets the voice that will be used to speak the utterance.

`var myVoice = speechSynthesisUtteranceInstance.voice;
speechSynthesisUtteranceInstance.voice = speechSynthesisVoiceInstance;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/voice`
sourceraw docstring

set-volume!cljs

(set-volume! this val)

Property.

[Experimental]

The volume property of the web.speech.SpeechSynthesisUtterance gets and sets the volume that the utterance will be spoken at.

var myVolume = speechSynthesisUtteranceInstance.volume; speechSynthesisUtteranceInstance.volume = 0.5;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/volume

Property.

[Experimental]

The volume property of the `web.speech.SpeechSynthesisUtterance`
gets and sets the volume that the utterance will be spoken at.

`var myVolume = speechSynthesisUtteranceInstance.volume;
speechSynthesisUtteranceInstance.volume = 0.5;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/volume`
sourceraw docstring

textcljs

(text this)

Property.

[Experimental]

The text property of the web.speech.SpeechSynthesisUtterance gets and sets the text that will be synthesised when the utterance spoken.

var myText = speechSynthesisUtteranceInstance.text; speechSynthesisUtteranceInstance.text = 'Hello I am speaking';

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/text

Property.

[Experimental]

The text property of the `web.speech.SpeechSynthesisUtterance`
gets and sets the text that will be synthesised when the utterance
spoken.

`var myText = speechSynthesisUtteranceInstance.text;
speechSynthesisUtteranceInstance.text = 'Hello I am speaking';`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/text`
sourceraw docstring

voicecljs

(voice this)

Property.

[Experimental]

The voice property of the web.speech.SpeechSynthesisUtterance gets and sets the voice that will be used to speak the utterance.

var myVoice = speechSynthesisUtteranceInstance.voice; speechSynthesisUtteranceInstance.voice = speechSynthesisVoiceInstance;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/voice

Property.

[Experimental]

The voice property of the `web.speech.SpeechSynthesisUtterance`
gets and sets the voice that will be used to speak the utterance.

`var myVoice = speechSynthesisUtteranceInstance.voice;
speechSynthesisUtteranceInstance.voice = speechSynthesisVoiceInstance;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/voice`
sourceraw docstring

volumecljs

(volume this)

Property.

[Experimental]

The volume property of the web.speech.SpeechSynthesisUtterance gets and sets the volume that the utterance will be spoken at.

var myVolume = speechSynthesisUtteranceInstance.volume; speechSynthesisUtteranceInstance.volume = 0.5;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/volume

Property.

[Experimental]

The volume property of the `web.speech.SpeechSynthesisUtterance`
gets and sets the volume that the utterance will be spoken at.

`var myVolume = speechSynthesisUtteranceInstance.volume;
speechSynthesisUtteranceInstance.volume = 0.5;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/volume`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close