Speech recognition and signal visualization simultaneously
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?
那么,你最好的选择是下降到Kinect DMO并连接一个SmartTee过滤器,但这要求你用C ++编写,因为KinectAudioSource不会公开过滤器本身。
链接地址: http://www.djcxy.com/p/64306.html下一篇: 语音识别和信号可视化同步