Liking cljdoc? Tell your friends :D

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.

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

text A dom.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 `speech.SpeechSynthesisUtterance` interface returns a new SpeechSynthesisUtterance object instance.

text
A `dom.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.

The lang property of the speech.SpeechSynthesisUtterance interface 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.

The lang property of the `speech.SpeechSynthesisUtterance` interface
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.

The onboundary property of the 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.

The onboundary property of the `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.

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

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

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

Property.

The onend property of the `speech.SpeechSynthesisUtterance` interface
an event handler that will run when the utterance has finished
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.

The onerror property of the 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.

The onerror property of the `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.

The onmark property of the 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.

The onmark property of the `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.

The onpause property of the 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.

The onpause property of the `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.

The onresume property of the 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.

The onresume property of the `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.

The onstart property of the 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.

The onstart property of the `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.

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

// default 1 speechSynthesisUtteranceInstance.pitch = 1.5;

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

Property.

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

`// 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.

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

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

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

Property.

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

`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.

The lang property of the speech.SpeechSynthesisUtterance interface 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.

The lang property of the `speech.SpeechSynthesisUtterance` interface
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.

The onboundary property of the 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.

The onboundary property of the `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.

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

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

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

Property.

The onend property of the `speech.SpeechSynthesisUtterance` interface
an event handler that will run when the utterance has finished
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.

The onerror property of the 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.

The onerror property of the `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.

The onmark property of the 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.

The onmark property of the `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.

The onpause property of the 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.

The onpause property of the `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.

The onresume property of the 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.

The onresume property of the `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.

The onstart property of the 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.

The onstart property of the `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.

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

// default 1 speechSynthesisUtteranceInstance.pitch = 1.5;

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

Property.

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

`// 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.

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

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

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

Property.

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

`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.

The text property of the speech.SpeechSynthesisUtterance interface 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.

The text property of the `speech.SpeechSynthesisUtterance` interface
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.

The voice property of the speech.SpeechSynthesisUtterance interface 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.

The voice property of the `speech.SpeechSynthesisUtterance` interface
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.

The volume property of the 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.

The volume property of the `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.

The text property of the speech.SpeechSynthesisUtterance interface 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.

The text property of the `speech.SpeechSynthesisUtterance` interface
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.

The voice property of the speech.SpeechSynthesisUtterance interface 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.

The voice property of the `speech.SpeechSynthesisUtterance` interface
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.

The volume property of the 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.

The volume property of the `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