![]() Recognizer.SetInputToDefaultAudioDevice() Configure input to the speech recognizer. New EventHandler(recognizer_SpeechRecognized) Add a handler for the speech recognized event. Recognizer.LoadGrammar(new DictationGrammar()) ![]() Create an in-process speech recognizer for the en-US locale. Because this example uses the Multiple mode of the RecognizeAsync method, it performs recognition until you close the console window or stop debugging. The following example shows part of a console application that demonstrates basic speech recognition.
0 Comments
Leave a Reply. |