This project is read-only.

Sapi to Tapi streaming

Oct 31, 2008 at 10:37 AM
Hi

How can I stream the Sam's voice over a tapi call?
Right now I generate a wav file and then play it over tapi but I know it is possible to hook these technologies up. The simpletelephony sample in speech sdk does this but it would be great to do it using C4F library as it hides a lot of low level details from us.

BTW:
           Dim _sapiManager As SapiManager = New SapiManager
            _sapiManager.ToWave(_message, _wavMessagePath, False)
            Threading.Thread.Sleep(5000)
            _sapiManager.Dispose()

The file is in use after this code is executed and I can't use it further to play it with TAPI. Am I missing anything? the message is "hello there".
Is there a synchronous way to generate the wav file?

Thanks,
Cosmin