Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Speech recognition SDK query

$
0
0

Hi,

I am trying to feed in audio packets (ulaw,pcm) fomats to recognizer (SDK). But recognizer is not able to recognize the work. 

 recognizer.SetInputToAudioStream(audiostream, recognizer.RecognizerInfo.SupportedAudioFormats[5]);

I basically write a ulaw byte array packet to the audiostream. What format should i be writing so that recognizer can recognize my stream ? Should i add any special headers so that recognizer can recognize my audio packet ?

Below code of specifying file. Works well with the recognizer. Recognizer is able to recognize word in the file

recognizer.SetInputToWaveFile(@"sample.wav");

Regards,

Mourian


Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>