SpeechRecognition: audioend event

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

The audioend event of the Web Speech API is fired when the user agent has finished capturing audio for speech recognition.

Bubbles No
Cancelable No
Target objects SpeechRecognition
Interface Event
Event handler onaudioend

Examples

You can use the audioend event in an addEventListener method:

var recognition = new webkitSpeechRecognition() || new SpeechRecognition();

recognition.addEventListener('audioend', function() { 
  console.log('Audio capturing ended');
});

Or use the onaudioend event handler property:

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

Inheritance

The audioend event implements the Event interface — it has available the properties and methods defined on this interface.

Specifications

Specification Status Comment
Web Speech API
The definition of 'speech recognition events' in that specification.
Draft  

Browser compatibility

No compatibility data found. Please contribute data for "api.SpeechRecognition.audioend_event" (depth: 1) to the MDN compatibility data repository.

See also

Document Tags and Contributors

Contributors to this page: fscholz, chrisdavidmills
Last updated by: fscholz,