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.
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close