SpeechRecognition.onspeechstart
Experimental
This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The onspeechstart
property of the
SpeechRecognition
interface represents an event handler that will run
when sound recognized by the speech recognition service as speech has been detected
(when the
speechstart
event fires.)
Syntax
mySpeechRecognition.onspeechstart = function() { ... };
Examples
recognition.onspeechstart = function() {
console.log('Speech has been detected');
}
Specifications
Specification | Status | Comment |
---|---|---|
Web Speech API The definition of 'onspeechstart' in that specification. |
Draft |
Browser compatibility
BCD tables only load in the browser