bindings/speech_api library
Web Speech API
Classes
- SpeechGrammar
- Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the Web Speech API represents a set of words or patterns of words that we want the recognition service to recognize. Grammar is defined using JSpeech Grammar Format (JSGF.) Other formats may also be supported in the future.
- SpeechGrammarList
- Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the Web Speech API represents a list of SpeechGrammar objects containing words or patterns of words that we want the recognition service to recognize. Grammar is defined using JSpeech Grammar Format (JSGF.) Other formats may also be supported in the future.
- SpeechRecognition
- The interface of the Web Speech API is the controller interface for the recognition service; this also handles the SpeechRecognitionEvent sent from the recognition service.
- SpeechRecognitionAlternative
- Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the Web Speech API represents a single word that has been recognized by the speech recognition service.
- SpeechRecognitionErrorEvent
- Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the Web Speech API represents error messages from the recognition service.
- SpeechRecognitionErrorEventInit
- SpeechRecognitionEvent
-
The interface of the Web Speech API represents the event object
for the
result
andnomatch
events, and contains all the data associated with an interim or final speech recognition result. - SpeechRecognitionEventInit
- SpeechRecognitionResult
- Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the Web Speech API represents a single recognition match, which may contain multiple SpeechRecognitionAlternative objects.
- SpeechRecognitionResultList
-
Experimental: This is an experimental technologyCheck the
Browser compatibility table carefully before using this in
production.
The interface of the Web Speech API represents a list of
SpeechRecognitionResult objects, or a single one if results are
being captured in
continuous
mode. - SpeechSynthesis
- The interface of the Web Speech API is 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.
- SpeechSynthesisErrorEvent
- Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the Web Speech API contains information about any errors that occur while processing SpeechSynthesisUtterance objects in the speech service.
- SpeechSynthesisErrorEventInit
- SpeechSynthesisEvent
- The interface of the Web Speech API contains information about the current state of SpeechSynthesisUtterance objects that have been processed in the speech service.
- SpeechSynthesisEventInit
- SpeechSynthesisUtterance
- The interface of the Web Speech API 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.)
- SpeechSynthesisVoice
- The interface of the Web Speech API represents a voice that the system supports. Every has its own relative speech service including information about language, name and URI.
Extensions
- PropsSpeechGrammar on SpeechGrammar
- PropsSpeechGrammarList on SpeechGrammarList
- PropsSpeechRecognition on SpeechRecognition
- PropsSpeechRecognitionAlternative on SpeechRecognitionAlternative
- PropsSpeechRecognitionErrorEvent on SpeechRecognitionErrorEvent
- PropsSpeechRecognitionErrorEventInit on SpeechRecognitionErrorEventInit
- PropsSpeechRecognitionEvent on SpeechRecognitionEvent
- PropsSpeechRecognitionEventInit on SpeechRecognitionEventInit
- PropsSpeechRecognitionResult on SpeechRecognitionResult
- PropsSpeechRecognitionResultList on SpeechRecognitionResultList
- PropsSpeechSynthesis on SpeechSynthesis
- PropsSpeechSynthesisErrorEvent on SpeechSynthesisErrorEvent
- PropsSpeechSynthesisErrorEventInit on SpeechSynthesisErrorEventInit
- PropsSpeechSynthesisEvent on SpeechSynthesisEvent
- PropsSpeechSynthesisEventInit on SpeechSynthesisEventInit
- PropsSpeechSynthesisUtterance on SpeechSynthesisUtterance
- PropsSpeechSynthesisVoice on SpeechSynthesisVoice