|
| How to make Speech Recognizer continuously read a memory buffer? |
 |
Tue, 01 Apr 2008 13:01:45 -040 |
Hello,
I have an API for a voice board (synway.net) that is able to write audio
coming in from a telephone line to a memory buffer. When it reaches the
end of the memory buffer (byte array) or when it's written a certain
number of bytes to the stream, it can generate events and start writing
from the beginning of the buffer. The format used can be PCM, Adpcm, or
several other formats.
Now, my question is how can I make an InProcRecognizer read this buffer
as though it was a continuous stream of audio and do recognition on it
in real time? I see that one can set .AudioInputStream to an
SpMemoryStream, but I am not sure how I can make it an "endless"
stream.
Thanks,
|
| Post Reply
|
|
|
|
|
|
|
|
|
|