Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SetInputToAudioStream

83 views
Skip to first unread message

r.t.s.

unread,
Apr 12, 2012, 8:12:51 PM4/12/12
to
I am doing speech recognition by capturing audio on my cell phone and
recognizing on my server.
Currently I encapsulate into a wave file with 16 Bit, 44100 bbs
stream. And pass the wave file to the recognizer.

I am now trying to send via a stream ... I stripped off the header and
use the method:



r.t.s.

unread,
Apr 12, 2012, 8:16:59 PM4/12/12
to
SetInputToAudioStream ( _Stream, new
SpeechAudioFormatInfo(44100, ...);

The _Stream is my implementation of a FIFO (Stream) I have unit tests
for this.
This always fails like it is getting an EOF.
I was surprised to see that the SpeechEngine is doing a Seek on the
Stream. Is there an assumption that this is a file based stream ??
The Stream in marked as not seekable!

r.t.s.
0 new messages