Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - Speech (TTS) In ASP.Net

 
 
Old 06-01-2006   #1 (permalink)
Nathan


 
 

Speech (TTS) In ASP.Net

I know, I know. "Speech in a web app?? Are you nuts?"
Actually it is to create a stream of audio to send to the client.
I just started with the Speech API today and while it really isn't
documented, it was pretty easy to get started.

The problem:
I make a call to the function that speaks a phrase. For testing purposes, it
goes through my speakers which is fine.
The issue is that it ends up hanging the browser (I think it ends up hanging
the entire web app).

What I found was after it "speaks", I step-through and it continues out of
that function.
I added the events StateChanged and SpeakCompleted and found that
SpeakCompleted never gets reached.
Before even trying that, I went ahead and tried to just .dispose of the
synthesizer but that didn't make any difference.

Is there something I am missing here?
Thanks,
Nathan

My System SpecsSystem Spec
Old 08-16-2006   #2 (permalink)
=?Utf-8?B?TWljaGFlbCBEdW5u?=


 
 

RE: Speech (TTS) In ASP.Net

If you want to use Speech in a web application, your best bet would be to use
SASDK, it is designed spefically for use in Web and Telephony Applications.
From the sound of it, you are trying to use SAPI, which is really designed
for Windows Applications.

"Nathan" wrote:

> I know, I know. "Speech in a web app?? Are you nuts?"
> Actually it is to create a stream of audio to send to the client.
> I just started with the Speech API today and while it really isn't
> documented, it was pretty easy to get started.
>
> The problem:
> I make a call to the function that speaks a phrase. For testing purposes, it
> goes through my speakers which is fine.
> The issue is that it ends up hanging the browser (I think it ends up hanging
> the entire web app).
>
> What I found was after it "speaks", I step-through and it continues out of
> that function.
> I added the events StateChanged and SpeakCompleted and found that
> SpeakCompleted never gets reached.
> Before even trying that, I went ahead and tried to just .dispose of the
> synthesizer but that didn't make any difference.
>
> Is there something I am missing here?
> Thanks,
> Nathan

My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Speech - how can I move windows using the Speech Recognition in Vista? Vista General
speech recognition General Discussion
Speech Vista General
speech recognition Vista General
speech recognition Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46