Liking cljdoc? Tell your friends :D

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.

The cancel() method of the 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.

The cancel() method of the `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.

The getVoices() method of the speech.SpeechSynthesis interface a list of 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.

The getVoices() method of the `speech.SpeechSynthesis` interface
a list of `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.

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

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

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

Property.

The onvoiceschanged property of the `speech.SpeechSynthesis`
represents an event handler that will run when the list of `speech.SpeechSynthesisVoice`
that would be returned by the `speech.SpeechSynthesis.getVoices()`
has 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.

The pause() method of the 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.

The pause() method of the `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.

The paused read-only property of the speech.SpeechSynthesis is a web.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.

The paused read-only property of the `speech.SpeechSynthesis`
is a `web.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.

The pending read-only property of the speech.SpeechSynthesis is a web.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.

The pending read-only property of the `speech.SpeechSynthesis`
is a `web.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.

The resume() method of the 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.

The resume() method of the `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.

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

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

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

Property.

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

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

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

set-paused!cljs

(set-paused! this val)

Property.

The paused read-only property of the speech.SpeechSynthesis is a web.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.

The paused read-only property of the `speech.SpeechSynthesis`
is a `web.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

set-pending!cljs

(set-pending! this val)

Property.

The pending read-only property of the speech.SpeechSynthesis is a web.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.

The pending read-only property of the `speech.SpeechSynthesis`
is a `web.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

set-speaking!cljs

(set-speaking! this val)

Property.

The speaking read-only property of the speech.SpeechSynthesis is a web.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.

The speaking read-only property of the `speech.SpeechSynthesis`
is a `web.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

speakcljs

(speak this utterance)

Method.

The speak() method of the speech.SpeechSynthesis interface an web.utterance to the utterance queue; it will be spoken any 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.

The speak() method of the `speech.SpeechSynthesis` interface
an `web.utterance` to the utterance queue; it will be spoken
any 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.

The speaking read-only property of the speech.SpeechSynthesis is a web.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.

The speaking read-only property of the `speech.SpeechSynthesis`
is a `web.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