Constructs an Azure Speech recognizer object
Azure speech subscription key
Azure speech service region
OptionalendPoint: stringCustom model endpoint, if any
OptionalaudioConfig: AudioConfigOptional audio config. Set to default mike input if not provided
OptionalrecoLanguage: stringOptional language to be recognized. Default is 'en-US'
Optional event handler invoked when there is a recognition error
Event handler invoked whenever the recognizer has a complete phrase to return
Optional event handler invoked whenever the recognizer has a partial recognition available
Activate the microphone and attempt to recognize speech in the next few seconds Ideally, the recognition would include 2s of audio before the call, drawing from some buffer
OptionalmaxRetries: numberNumber of time to retry before returning an error
Recognized items/hypotheses, or null if nothing was recognized
Set the list of phrases with enhanced importance for recognition
Start the recognition process. Intermediate results are returned via the onRecognizing event; final results (phrase) are returned via the onRecognized event The expectation is that speech recognition is started at the beginning of a sketch, and stopped sometime after the end of the sketch
Stop the recognition process. Is normally called at the end of a sketch action
Optionalwait: numberTime in milliseconds to wait before stopping recognition
Implements speech recognition services using Azure Speech-to-text *
See
ISpeechRecognizer