Liking cljdoc? Tell your friends :D

web.speech.SpeechRecognition

The SpeechRecognition interface of the Web Speech API is the interface for the recognition service; this also handles the sent from the recognition service.

The SpeechRecognition interface of the Web Speech API is the
interface for the recognition service; this also handles the
sent from the recognition service.
raw docstring

abortcljs

(abort this)

Method.

[Experimental]

The abort() method of the Web Speech API stops the speech recognition from listening to incoming audio, and doesn't attempt to return web.speech.SpeechRecognitionResult.

mySpeechRecognition.abort();

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

Method.

[Experimental]

The abort() method of the Web Speech API stops the speech recognition
from listening to incoming audio, and doesn't attempt to return
`web.speech.SpeechRecognitionResult`.

`mySpeechRecognition.abort();`

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

continuouscljs

(continuous this)

Property.

[Experimental]

The continuous property of the web.speech.SpeechRecognition controls whether continuous results are returned for each recognition, only a single result.

var myContinuous = mySpeechRecognition.continuous; mySpeechRecognition.continuous = true;

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

Property.

[Experimental]

The continuous property of the `web.speech.SpeechRecognition`
controls whether continuous results are returned for each recognition,
only a single result.

`var myContinuous = mySpeechRecognition.continuous;
mySpeechRecognition.continuous = true;`

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

grammarscljs

(grammars this)

Property.

[Experimental]

The grammars property of the web.speech.SpeechRecognition interface and sets a collection of web.speech.SpeechGrammar objects that the grammars that will be understood by the current SpeechRecognition.

var myGrammars = mySpeechRecognition.grammars; mySpeechRecognition.grammars = mySpeechGrammarList;

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

Property.

[Experimental]

The grammars property of the `web.speech.SpeechRecognition` interface
and sets a collection of `web.speech.SpeechGrammar` objects that
the grammars that will be understood by the current SpeechRecognition.

`var myGrammars = mySpeechRecognition.grammars;
mySpeechRecognition.grammars = mySpeechGrammarList;`

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

interim-resultscljs

(interim-results this)

Property.

[Experimental]

The interimResults property of the web.speech.SpeechRecognition controls whether interim results should be returned (true) or (false.) Interim results are results that are not yet final (e.g. SpeechRecognitionResult.isFinal property is false.)

var myInterimResult = mySpeechRecognition.interimResults; mySpeechRecognition.interimResults = false;

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

Property.

[Experimental]

The interimResults property of the `web.speech.SpeechRecognition`
controls whether interim results should be returned (true) or
(false.) Interim results are results that are not yet final (e.g.
`SpeechRecognitionResult.isFinal` property is false.)

`var myInterimResult = mySpeechRecognition.interimResults;
mySpeechRecognition.interimResults = false;`

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

langcljs

(lang this)

Property.

[Experimental]

The lang property of the web.speech.SpeechRecognition interface and sets the language of the current SpeechRecognition. If not this defaults to the HTML lang attribute value, or the user agent's setting if that isn't set either.

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

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

Property.

[Experimental]

The lang property of the `web.speech.SpeechRecognition` interface
and sets the language of the current SpeechRecognition. If not
this defaults to the HTML lang attribute value, or the user agent's
setting if that isn't set either.

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

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

max-alternativescljs

(max-alternatives this)

Property.

[Experimental]

The maxAlternatives property of the web.speech.SpeechRecognition sets the maximum number of web.speech.SpeechRecognitionAlternatives per web.speech.SpeechRecognitionResult.

var myMaxAlternativeNumber = mySpeechRecognition.maxAlternatives; mySpeechRecognition.maxAlternatives = 2;

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

Property.

[Experimental]

The maxAlternatives property of the `web.speech.SpeechRecognition`
sets the maximum number of `web.speech.SpeechRecognitionAlternative`s
per `web.speech.SpeechRecognitionResult`.

`var myMaxAlternativeNumber = mySpeechRecognition.maxAlternatives;
mySpeechRecognition.maxAlternatives = 2;`

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

onaudioendcljs

(onaudioend this)

Property.

[Experimental]

The onaudioend property of the web.speech.SpeechRecognition represents an event handler that will run when the user agent finished capturing audio (when the audioend event fires.)

mySpeechRecognition.onaudioend = function() { ... };

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

Property.

[Experimental]

The onaudioend property of the `web.speech.SpeechRecognition`
represents an event handler that will run when the user agent
finished capturing audio (when the audioend event fires.)

`mySpeechRecognition.onaudioend = function() { ... };`

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

onaudiostartcljs

(onaudiostart this)

Property.

[Experimental]

The onaudiostart property of the web.speech.SpeechRecognition represents an event handler that will run when the user agent started to capture audio (when the audiostart event fires.)

mySpeechRecognition.onaudiostart = function() { ... };

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

Property.

[Experimental]

The onaudiostart property of the `web.speech.SpeechRecognition`
represents an event handler that will run when the user agent
started to capture audio (when the audiostart event fires.)

`mySpeechRecognition.onaudiostart = function() { ... };`

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

onendcljs

(onend this)

Property.

[Experimental]

The onend property of the web.speech.SpeechRecognition interface an event handler that will run when the speech recognition service disconnected (when the end event fires.)

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

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

Property.

[Experimental]

The onend property of the `web.speech.SpeechRecognition` interface
an event handler that will run when the speech recognition service
disconnected (when the end event fires.)

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

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

onerrorcljs

(onerror this)

Property.

[Experimental]

The onerror property of the web.speech.SpeechRecognition interface an event handler that will run when a speech recognition error (when the error event fires.)

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

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

Property.

[Experimental]

The onerror property of the `web.speech.SpeechRecognition` interface
an event handler that will run when a speech recognition error
(when the error event fires.)

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

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

onnomatchcljs

(onnomatch this)

Property.

[Experimental]

The onnomatch property of the web.speech.SpeechRecognition represents an event handler that will run when the speech recognition returns a final result with no significant recognition (when nomatch event fires.)

mySpeechRecognition.onnomatch = function() { ... };

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

Property.

[Experimental]

The onnomatch property of the `web.speech.SpeechRecognition`
represents an event handler that will run when the speech recognition
returns a final result with no significant recognition (when
nomatch event fires.)

`mySpeechRecognition.onnomatch = function() { ... };`

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

onresultcljs

(onresult this)

Property.

[Experimental]

The onresult property of the web.speech.SpeechRecognition interface an event handler that will run when the speech recognition service a result — a word or phrase has been positively recognized and has been communicated back to the app (when the result fires.)

mySpeechRecognition.onresult = function() { ... };

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

Property.

[Experimental]

The onresult property of the `web.speech.SpeechRecognition` interface
an event handler that will run when the speech recognition service
a result — a word or phrase has been positively recognized and
has been communicated back to the app (when the `result` fires.)

`mySpeechRecognition.onresult = function() { ... };`

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

onsoundendcljs

(onsoundend this)

Property.

[Experimental]

The onsoundend property of the web.speech.SpeechRecognition represents an event handler that will run when any sound — recognisable or not — has stopped being detected (when the soundend event

mySpeechRecognition.onsoundend = function() { ... };

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

Property.

[Experimental]

The onsoundend property of the `web.speech.SpeechRecognition`
represents an event handler that will run when any sound — recognisable
or not — has stopped being detected (when the soundend event

`mySpeechRecognition.onsoundend = function() { ... };`

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

onsoundstartcljs

(onsoundstart this)

Property.

[Experimental]

The onsoundstart property of the web.speech.SpeechRecognition represents an event handler that will run when any sound — recognisable or not — has been detected (when the soundstart event fires.)

mySpeechRecognition.onsoundstart = function() { ... };

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

Property.

[Experimental]

The onsoundstart property of the `web.speech.SpeechRecognition`
represents an event handler that will run when any sound — recognisable
or not — has been detected (when the soundstart event fires.)

`mySpeechRecognition.onsoundstart = function() { ... };`

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

onspeechendcljs

(onspeechend this)

Property.

[Experimental]

The onspeechend property of the web.speech.SpeechRecognition represents an event handler that will run when speech recognised the speech recognition service has stopped being detected (when speechend event fires.)

mySpeechRecognition.onspeechend = function() { ... };

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

Property.

[Experimental]

The onspeechend property of the `web.speech.SpeechRecognition`
represents an event handler that will run when speech recognised
the speech recognition service has stopped being detected (when
speechend event fires.)

`mySpeechRecognition.onspeechend = function() { ... };`

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

onspeechstartcljs

(onspeechstart this)

Property.

[Experimental]

The onspeechstart property of the web.speech.SpeechRecognition represents an event handler that will run when sound recognised the speech recognition service as speech has been detected (when speechstart event fires.)

mySpeechRecognition.onspeechstart = function() { ... };

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

Property.

[Experimental]

The onspeechstart property of the `web.speech.SpeechRecognition`
represents an event handler that will run when sound recognised
the speech recognition service as speech has been detected (when
speechstart event fires.)

`mySpeechRecognition.onspeechstart = function() { ... };`

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

onstartcljs

(onstart this)

Property.

[Experimental]

The onstart property of the web.speech.SpeechRecognition interface an event handler that will run when the speech recognition service begun listening to incoming audio with intent to recognize grammars with the current SpeechRecognition (when the start event fires.)

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

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

Property.

[Experimental]

The onstart property of the `web.speech.SpeechRecognition` interface
an event handler that will run when the speech recognition service
begun listening to incoming audio with intent to recognize grammars
with the current SpeechRecognition (when the start event fires.)

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

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

service-uricljs

(service-uri this)

Property.

[Experimental]

The serviceURI property of the web.speech.SpeechRecognition specifies the location of the speech recognition service used the current SpeechRecognition to handle the actual recognition. default is the user agent's default speech service.

var myServiceURI = mySpeechRecognition.serviceURI; mySpeechRecognition.serviceURI = 'path/to/my/service/';

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

Property.

[Experimental]

The serviceURI property of the `web.speech.SpeechRecognition`
specifies the location of the speech recognition service used
the current SpeechRecognition to handle the actual recognition.
default is the user agent's default speech service.

`var myServiceURI = mySpeechRecognition.serviceURI;
mySpeechRecognition.serviceURI = 'path/to/my/service/';`

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

set-continuous!cljs

(set-continuous! this val)

Property.

[Experimental]

The continuous property of the web.speech.SpeechRecognition controls whether continuous results are returned for each recognition, only a single result.

var myContinuous = mySpeechRecognition.continuous; mySpeechRecognition.continuous = true;

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

Property.

[Experimental]

The continuous property of the `web.speech.SpeechRecognition`
controls whether continuous results are returned for each recognition,
only a single result.

`var myContinuous = mySpeechRecognition.continuous;
mySpeechRecognition.continuous = true;`

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

set-grammars!cljs

(set-grammars! this val)

Property.

[Experimental]

The grammars property of the web.speech.SpeechRecognition interface and sets a collection of web.speech.SpeechGrammar objects that the grammars that will be understood by the current SpeechRecognition.

var myGrammars = mySpeechRecognition.grammars; mySpeechRecognition.grammars = mySpeechGrammarList;

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

Property.

[Experimental]

The grammars property of the `web.speech.SpeechRecognition` interface
and sets a collection of `web.speech.SpeechGrammar` objects that
the grammars that will be understood by the current SpeechRecognition.

`var myGrammars = mySpeechRecognition.grammars;
mySpeechRecognition.grammars = mySpeechGrammarList;`

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

set-interim-results!cljs

(set-interim-results! this val)

Property.

[Experimental]

The interimResults property of the web.speech.SpeechRecognition controls whether interim results should be returned (true) or (false.) Interim results are results that are not yet final (e.g. SpeechRecognitionResult.isFinal property is false.)

var myInterimResult = mySpeechRecognition.interimResults; mySpeechRecognition.interimResults = false;

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

Property.

[Experimental]

The interimResults property of the `web.speech.SpeechRecognition`
controls whether interim results should be returned (true) or
(false.) Interim results are results that are not yet final (e.g.
`SpeechRecognitionResult.isFinal` property is false.)

`var myInterimResult = mySpeechRecognition.interimResults;
mySpeechRecognition.interimResults = false;`

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

set-lang!cljs

(set-lang! this val)

Property.

[Experimental]

The lang property of the web.speech.SpeechRecognition interface and sets the language of the current SpeechRecognition. If not this defaults to the HTML lang attribute value, or the user agent's setting if that isn't set either.

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

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

Property.

[Experimental]

The lang property of the `web.speech.SpeechRecognition` interface
and sets the language of the current SpeechRecognition. If not
this defaults to the HTML lang attribute value, or the user agent's
setting if that isn't set either.

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

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

set-max-alternatives!cljs

(set-max-alternatives! this val)

Property.

[Experimental]

The maxAlternatives property of the web.speech.SpeechRecognition sets the maximum number of web.speech.SpeechRecognitionAlternatives per web.speech.SpeechRecognitionResult.

var myMaxAlternativeNumber = mySpeechRecognition.maxAlternatives; mySpeechRecognition.maxAlternatives = 2;

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

Property.

[Experimental]

The maxAlternatives property of the `web.speech.SpeechRecognition`
sets the maximum number of `web.speech.SpeechRecognitionAlternative`s
per `web.speech.SpeechRecognitionResult`.

`var myMaxAlternativeNumber = mySpeechRecognition.maxAlternatives;
mySpeechRecognition.maxAlternatives = 2;`

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

set-onaudioend!cljs

(set-onaudioend! this val)

Property.

[Experimental]

The onaudioend property of the web.speech.SpeechRecognition represents an event handler that will run when the user agent finished capturing audio (when the audioend event fires.)

mySpeechRecognition.onaudioend = function() { ... };

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

Property.

[Experimental]

The onaudioend property of the `web.speech.SpeechRecognition`
represents an event handler that will run when the user agent
finished capturing audio (when the audioend event fires.)

`mySpeechRecognition.onaudioend = function() { ... };`

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

set-onaudiostart!cljs

(set-onaudiostart! this val)

Property.

[Experimental]

The onaudiostart property of the web.speech.SpeechRecognition represents an event handler that will run when the user agent started to capture audio (when the audiostart event fires.)

mySpeechRecognition.onaudiostart = function() { ... };

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

Property.

[Experimental]

The onaudiostart property of the `web.speech.SpeechRecognition`
represents an event handler that will run when the user agent
started to capture audio (when the audiostart event fires.)

`mySpeechRecognition.onaudiostart = function() { ... };`

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

set-onend!cljs

(set-onend! this val)

Property.

[Experimental]

The onend property of the web.speech.SpeechRecognition interface an event handler that will run when the speech recognition service disconnected (when the end event fires.)

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

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

Property.

[Experimental]

The onend property of the `web.speech.SpeechRecognition` interface
an event handler that will run when the speech recognition service
disconnected (when the end event fires.)

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

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

set-onerror!cljs

(set-onerror! this val)

Property.

[Experimental]

The onerror property of the web.speech.SpeechRecognition interface an event handler that will run when a speech recognition error (when the error event fires.)

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

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

Property.

[Experimental]

The onerror property of the `web.speech.SpeechRecognition` interface
an event handler that will run when a speech recognition error
(when the error event fires.)

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

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

set-onnomatch!cljs

(set-onnomatch! this val)

Property.

[Experimental]

The onnomatch property of the web.speech.SpeechRecognition represents an event handler that will run when the speech recognition returns a final result with no significant recognition (when nomatch event fires.)

mySpeechRecognition.onnomatch = function() { ... };

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

Property.

[Experimental]

The onnomatch property of the `web.speech.SpeechRecognition`
represents an event handler that will run when the speech recognition
returns a final result with no significant recognition (when
nomatch event fires.)

`mySpeechRecognition.onnomatch = function() { ... };`

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

set-onresult!cljs

(set-onresult! this val)

Property.

[Experimental]

The onresult property of the web.speech.SpeechRecognition interface an event handler that will run when the speech recognition service a result — a word or phrase has been positively recognized and has been communicated back to the app (when the result fires.)

mySpeechRecognition.onresult = function() { ... };

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

Property.

[Experimental]

The onresult property of the `web.speech.SpeechRecognition` interface
an event handler that will run when the speech recognition service
a result — a word or phrase has been positively recognized and
has been communicated back to the app (when the `result` fires.)

`mySpeechRecognition.onresult = function() { ... };`

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

set-onsoundend!cljs

(set-onsoundend! this val)

Property.

[Experimental]

The onsoundend property of the web.speech.SpeechRecognition represents an event handler that will run when any sound — recognisable or not — has stopped being detected (when the soundend event

mySpeechRecognition.onsoundend = function() { ... };

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

Property.

[Experimental]

The onsoundend property of the `web.speech.SpeechRecognition`
represents an event handler that will run when any sound — recognisable
or not — has stopped being detected (when the soundend event

`mySpeechRecognition.onsoundend = function() { ... };`

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

set-onsoundstart!cljs

(set-onsoundstart! this val)

Property.

[Experimental]

The onsoundstart property of the web.speech.SpeechRecognition represents an event handler that will run when any sound — recognisable or not — has been detected (when the soundstart event fires.)

mySpeechRecognition.onsoundstart = function() { ... };

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

Property.

[Experimental]

The onsoundstart property of the `web.speech.SpeechRecognition`
represents an event handler that will run when any sound — recognisable
or not — has been detected (when the soundstart event fires.)

`mySpeechRecognition.onsoundstart = function() { ... };`

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

set-onspeechend!cljs

(set-onspeechend! this val)

Property.

[Experimental]

The onspeechend property of the web.speech.SpeechRecognition represents an event handler that will run when speech recognised the speech recognition service has stopped being detected (when speechend event fires.)

mySpeechRecognition.onspeechend = function() { ... };

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

Property.

[Experimental]

The onspeechend property of the `web.speech.SpeechRecognition`
represents an event handler that will run when speech recognised
the speech recognition service has stopped being detected (when
speechend event fires.)

`mySpeechRecognition.onspeechend = function() { ... };`

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

set-onspeechstart!cljs

(set-onspeechstart! this val)

Property.

[Experimental]

The onspeechstart property of the web.speech.SpeechRecognition represents an event handler that will run when sound recognised the speech recognition service as speech has been detected (when speechstart event fires.)

mySpeechRecognition.onspeechstart = function() { ... };

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

Property.

[Experimental]

The onspeechstart property of the `web.speech.SpeechRecognition`
represents an event handler that will run when sound recognised
the speech recognition service as speech has been detected (when
speechstart event fires.)

`mySpeechRecognition.onspeechstart = function() { ... };`

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

set-onstart!cljs

(set-onstart! this val)

Property.

[Experimental]

The onstart property of the web.speech.SpeechRecognition interface an event handler that will run when the speech recognition service begun listening to incoming audio with intent to recognize grammars with the current SpeechRecognition (when the start event fires.)

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

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

Property.

[Experimental]

The onstart property of the `web.speech.SpeechRecognition` interface
an event handler that will run when the speech recognition service
begun listening to incoming audio with intent to recognize grammars
with the current SpeechRecognition (when the start event fires.)

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

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

set-service-uri!cljs

(set-service-uri! this val)

Property.

[Experimental]

The serviceURI property of the web.speech.SpeechRecognition specifies the location of the speech recognition service used the current SpeechRecognition to handle the actual recognition. default is the user agent's default speech service.

var myServiceURI = mySpeechRecognition.serviceURI; mySpeechRecognition.serviceURI = 'path/to/my/service/';

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

Property.

[Experimental]

The serviceURI property of the `web.speech.SpeechRecognition`
specifies the location of the speech recognition service used
the current SpeechRecognition to handle the actual recognition.
default is the user agent's default speech service.

`var myServiceURI = mySpeechRecognition.serviceURI;
mySpeechRecognition.serviceURI = 'path/to/my/service/';`

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

startcljs

(start this)

Method.

[Experimental]

The start() method of the Web Speech API starts the speech recognition listening to incoming audio with intent to recognize grammars with the current web.speech.SpeechRecognition.

mySpeechRecognition.start();

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

Method.

[Experimental]

The start() method of the Web Speech API starts the speech recognition
listening to incoming audio with intent to recognize grammars
with the current `web.speech.SpeechRecognition`.

`mySpeechRecognition.start();`

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

stopcljs

(stop this)

Method.

[Experimental]

The stop() method of the Web Speech API stops the speech recognition from listening to incoming audio, and attempts to return a web.speech.SpeechRecognitionResult the audio captured so far.

mySpeechRecognition.stop();

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

Method.

[Experimental]

The stop() method of the Web Speech API stops the speech recognition
from listening to incoming audio, and attempts to return a `web.speech.SpeechRecognitionResult`
the audio captured so far.

`mySpeechRecognition.stop();`

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

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

× close