The Web Speech API enables you to incorporate voice data into web apps. The Web Speech API has two parts: SpeechSynthesis (Text-to-Speech), and Speech

Web Speech API - Web APIs | MDN

submited by
Style Pass
2024-12-21 19:00:08

The Web Speech API enables you to incorporate voice data into web apps. The Web Speech API has two parts: SpeechSynthesis (Text-to-Speech), and SpeechRecognition (Asynchronous Speech Recognition.)

The controller interface for the recognition service; this also handles the SpeechRecognitionEvent sent from the recognition service.

The event object for the result and nomatch events, and contains all the data associated with an interim or final speech recognition result.

The controller interface for the speech service; this can be used to retrieve information about the synthesis voices available on the device, start and pause speech, and other commands besides.

Contains information about the current state of SpeechSynthesisUtterance objects that have been processed in the speech service.

Represents a speech request. It contains the content the speech service should read and information about how to read it (e.g. language, pitch and volume.)

Leave a Comment