Re: voice on phone problems
From: Phil Hühn (Time_Lord_at_hotmail.com)
Date: 03/11/04
- Next message: Andreas Marschall [MVP TAPI]: "Re: Windows Dialer gets Calls as CP_OWNER"
- Previous message: Ed Dixon: "Re: Telephony Boards?"
- In reply to: Joe: "Re: voice on phone problems"
- Next in thread: Fred: "Re: voice on phone problems"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 12 Mar 2004 01:31:44 +1300
Joe wrote:
> "William DePalo [MVP VC++]" <willd.no.spam@mvps.org> wrote in message
> news:e1FFWsmBEHA.2348@TK2MSFTNGP09.phx.gbl...
>
>>"kaku" <mhafizullahkhan@yahoo.com> wrote in message
>>news:Oo7GuImBEHA.684@tk2msftngp13.phx.gbl...
>>
>>>i still cant figure it out. let me summarize again. I am developing an
>
> IVR
>
>>>application in VB6. I have done everything, the only problem is how i
>
> send
>
>>>voice to the caller. Basically, i want to convert text to speech and
>
> want
>
>>to
>>
>>>send the speech to my modem. (actually to the caller). could anybody
>
> help
>
>>me
>>
>>>out.
>>
>>First, you need a text to speech engine and compatible voices. A good
>
> engine
>
>>in the enterprise class is not cheap. Google for Nuance, Scan Soft and ATT
>>Natural Voices. MS has a robotic sounding engine that uses its speech API
>>(SAPI) available for download at www.microsoft.com/speech . It supports
>
> only
>
>>English, Chinese and Japanese. Cepstral (www.cepstral.com) sells
>
> inexpensive
>
>>voices for desktop applications.
>>
>>Then your application needs to marry three technologies, TAPI, SAPI and
>>multimedia. Assuming a TTS engine compatible with Win32, you'll need to
>
> use
>
>>TAPI to determine the line you answer the call on and then use lineGetID()
>>to get the multimedia device id of the speaker device used to stream audio
>>to caller. Then you'll need to use the Speech API (SAPI) to convert the
>
> text
>
>>to speech. The trick is that you need to point SAPI at the device id of
>
> the
>
>>speaker in the line.
>>
>>If you have MS Speech SDK version 5.1 then search its help for the topic
>>"Speech Telephony Application Guide" which will explain what you need to
>
> do.
>
>>Don't get their .Net Speech Applications SDK (which is different) unless
>
> you
>
>>want to use ASP.Net, and their own speech and telephony servers which are
>>now in beta (general availability will be announced on the 24th).
>>
>>Regards,
>>Will
>>
>>
>>
>
>
> Perhaps this should have gone in a new thread, but it is on the same subject
> as this.
>
> I have created a TAPI application that successfully picks up incoming calls,
> and can detect digits, etc. However, when I try to play the SAPI voice
> (pVoice->Speak) on the modem's wave/out device, the call disconnects. No
> errors are given. The same also happens if I try to play a WAV file (8kHz,
> 16bit, mono) over the device when the call is connected. (i.e. this rules
> out any problem with the SAPI code).
>
> This is using Windows 98SE and a USR Sportster 33.6 Voice.
>
> Any ideas?
> Joe.
>
>
I have also had the same problem with a USR Sportster 33.6 Voice - I was
very thorough with my code and could take a call without a problem. But
as soon as I tried to play (OR record) via the wave in/out device, the
modem would disconnect.
I suspect either the .inf file for this modem was never correct OR this
modem was rubbish and never worked correctly in voice mode. I am sad to
say nobody on this forum has been able to confirm either possibility, or
help.
- Next message: Andreas Marschall [MVP TAPI]: "Re: Windows Dialer gets Calls as CP_OWNER"
- Previous message: Ed Dixon: "Re: Telephony Boards?"
- In reply to: Joe: "Re: voice on phone problems"
- Next in thread: Fred: "Re: voice on phone problems"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|