SpeechRecognition.onaudioend

Experimental

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

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

Syntax

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

Examples

var recognition = new SpeechRecognition();

recognition.onaudioend = function() {
  console.log('Audio capturing ended');
}

Specifications

Specification Status Comment
Web Speech API
The definition of 'onaudioend' in that specification.
Draft

Browser compatibility

BCD tables only load in the browser

See also