Liking cljdoc? Tell your friends :D

web.speech.SpeechSynthesis

The SpeechSynthesis interface of the Web Speech API is the controller for the speech service; this can be used to retrieve information the synthesis voices available on the device, start and pause and other commands besides.

The SpeechSynthesis interface of the Web Speech API is the controller
for the speech service; this can be used to retrieve information
the synthesis voices available on the device, start and pause
and other commands besides.
raw docstring

cancelcljs

(cancel this)

Method.

[Experimental]

The cancel() method of the web.speech.SpeechSynthesis interface all utterances from the utterance queue.

speechSynthesisInstance.cancel();

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

Method.

[Experimental]

The cancel() method of the `web.speech.SpeechSynthesis` interface
all utterances from the utterance queue.

`speechSynthesisInstance.cancel();`

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

get-voicescljs

(get-voices this)

Method.

[Experimental]

The getVoices() method of the web.speech.SpeechSynthesis interface a list of web.speech.SpeechSynthesisVoice objects representing the available voices on the current device.

speechSynthesisInstance.getVoices();

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

Method.

[Experimental]

The getVoices() method of the `web.speech.SpeechSynthesis` interface
a list of `web.speech.SpeechSynthesisVoice` objects representing
the available voices on the current device.

`speechSynthesisInstance.getVoices();`

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

onvoiceschangedcljs

(onvoiceschanged this)

Property.

[Experimental]

The onvoiceschanged property of the web.speech.SpeechSynthesis represents an event handler that will run when the list of web.speech.SpeechSynthesisVoice that would be returned by the SpeechSynthesis.getVoices() method changed (when the voiceschanged event fires.)

speechSynthesisInstance.onvoiceschanged = function() { ... };

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

Property.

[Experimental]

The onvoiceschanged property of the `web.speech.SpeechSynthesis`
represents an event handler that will run when the list of `web.speech.SpeechSynthesisVoice`
that would be returned by the `SpeechSynthesis.getVoices()` method
changed (when the voiceschanged event fires.)

`speechSynthesisInstance.onvoiceschanged = function() { ... };`

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

pausecljs

(pause this)

Method.

[Experimental]

The pause() method of the web.speech.SpeechSynthesis interface the SpeechSynthesis object into a paused state.

speechSynthesisInstance.pause();

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

Method.

[Experimental]

The pause() method of the `web.speech.SpeechSynthesis` interface
the SpeechSynthesis object into a paused state.

`speechSynthesisInstance.pause();`

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

pausedcljs

(paused this)

Property.

[Read Only] [Experimental]

The paused read-only property of the web.speech.SpeechSynthesis is a js.Boolean that returns true if the SpeechSynthesis object in a paused state, or false if not.

var amIPaused = speechSynthesisInstance.paused;

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

Property.

[Read Only]
[Experimental]

The paused read-only property of the `web.speech.SpeechSynthesis`
is a `js.Boolean` that returns true if the SpeechSynthesis object
in a paused state, or false if not.

`var amIPaused = speechSynthesisInstance.paused;`

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

pendingcljs

(pending this)

Property.

[Read Only] [Experimental]

The pending read-only property of the web.speech.SpeechSynthesis is a js.Boolean that returns true if the utterance queue contains utterances.

var amIPending = speechSynthesisInstance.pending;

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

Property.

[Read Only]
[Experimental]

The pending read-only property of the `web.speech.SpeechSynthesis`
is a `js.Boolean` that returns true if the utterance queue contains
utterances.

`var amIPending = speechSynthesisInstance.pending;`

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

resumecljs

(resume this)

Method.

[Experimental]

The resume() method of the web.speech.SpeechSynthesis interface the SpeechSynthesis object into a non-paused state: resumes it it was already paused.

speechSynthesisInstance.resume();

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

Method.

[Experimental]

The resume() method of the `web.speech.SpeechSynthesis` interface
the SpeechSynthesis object into a non-paused state: resumes it
it was already paused.

`speechSynthesisInstance.resume();`

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

set-onvoiceschanged!cljs

(set-onvoiceschanged! this val)

Property.

[Experimental]

The onvoiceschanged property of the web.speech.SpeechSynthesis represents an event handler that will run when the list of web.speech.SpeechSynthesisVoice that would be returned by the SpeechSynthesis.getVoices() method changed (when the voiceschanged event fires.)

speechSynthesisInstance.onvoiceschanged = function() { ... };

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

Property.

[Experimental]

The onvoiceschanged property of the `web.speech.SpeechSynthesis`
represents an event handler that will run when the list of `web.speech.SpeechSynthesisVoice`
that would be returned by the `SpeechSynthesis.getVoices()` method
changed (when the voiceschanged event fires.)

`speechSynthesisInstance.onvoiceschanged = function() { ... };`

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

speakcljs

(speak this utterance)

Method.

[Experimental]

The speak() method of the web.speech.SpeechSynthesis interface an utterance to the utterance queue; it will be spoken when other utterances queued before it have been spoken.

speechSynthesisInstance.speak(utterance);

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

Method.

[Experimental]

The speak() method of the `web.speech.SpeechSynthesis` interface
an `utterance` to the utterance queue; it will be spoken when
other utterances queued before it have been spoken.

`speechSynthesisInstance.speak(utterance);`

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

speakingcljs

(speaking this)

Property.

[Read Only] [Experimental]

The speaking read-only property of the web.speech.SpeechSynthesis is a js.Boolean that returns true if an utterance is currently the process of being spoken — even if SpeechSynthesis is in a state.

var amISpeaking = speechSynthesisInstance.speaking;

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

Property.

[Read Only]
[Experimental]

The speaking read-only property of the `web.speech.SpeechSynthesis`
is a `js.Boolean` that returns true if an utterance is currently
the process of being spoken — even if SpeechSynthesis is in a
state.

`var amISpeaking = speechSynthesisInstance.speaking;`

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

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

× close