![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
| |
| | #1 (permalink) |
| | 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 Specs![]() |
| | #2 (permalink) |
| | 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 Specs![]() |
| 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 | |||