Microsoft Speech Recognition Speed

I am working on a small hands-on application using Microsoft Speech Recognizer. It seems that I can’t understand that he quickly enough recognizes the words that I make. I would like to be able to speak normally and the system will grab the “keywords” from what I am saying and create a line. I am currently using a custom 5-word grammar. Red, Blue, Yellow, Green, Orange. For example, if I say red blue yellow. The engine will take over the “red” and the rest will go into the void.

I tried using the following:

sr.RecognizeAsync(RecognizeMode.Single) 

Then reset returns to single mode after the AudioState changes to “stopped”. It is not fast enough to catch the next word. Thoughts?

+7
source share
1 answer

Have you tried PauseRecognizerOnRecognition . It looks like this function will buffer your audio input while it is processing the previous sound.

Top MSDN link:

When the PauseRecognizerOnRecognition is true, the Speech Recognition service pauses and buffers the new audio input as it arrives, during the execution of the SpeechRecognized handler. After the SpeechRecognized event, the processor outputs, the speech recognition service resumes recognition and starts processing information from its input buffer.

+6
source

All Articles