I'm using Kinect + Microsoft.Speech for speech recognition.
To get the input audio stream one has to do the following
Stream kinectAudioStream = myKinect.AudioSource.Start();
and to start speech recognition
speechRecognitionEngine.SetInputToAudioStream(kinectAudioStream, new SpeechAudioFormatInfo(...));
speechRecognitionEngine.RecognizeAsync(RecognizeMode.Multiple);
My target is to visualize the input signal in real-time (like a oscilloscope) and do speech recognition simultaneously .
I tried some things like add speech recognition to the Microsoft "AudioBasics-WPF C# Sample" in multiple threads. It works but the latency is very very very bad. To much interruptions in speech recognition and visualization.
Is there a way to increase the performance? Has anyone an idea?