SpeechRecognition.onsoundend

Experimental

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

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

Syntax

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

Examples

recognition.onsoundend = function() {
  console.log('Sound has stopped being received');
}

Specifications

Specification
Web Speech API
# dom-speechrecognition-onsoundend

Browser compatibility

BCD tables only load in the browser

See also