Re: voice on phone problems

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Phil Hühn (Time_Lord_at_hotmail.com)
Date: 03/11/04


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.



Relevant Pages

  • Re: voice on phone problems
    ... when I try to play the SAPI voice ... I have an XP-based IVR application that uses TAPI v2.1 in which I am able ... both to synthesize speech and recognize speech using SAPI 5.1 and the MS ... able to use voices from AT&T Natural Voices, ...
    (microsoft.public.win32.programmer.tapi)
  • Re: voice on phone problems
    ... i want to convert text to speech and want ... you need a text to speech engine and compatible voices. ... (SAPI) ...
    (microsoft.public.win32.programmer.tapi)
  • Re: voice on phone problems
    ... you need a text to speech engine and compatible voices. ... Then you'll need to use the Speech API (SAPI) to convert the ... when I try to play the SAPI voice ...
    (microsoft.public.win32.programmer.tapi)
  • Re: How do I check if Microsoft SAPI5.1 is installed?
    ... > engine. ... How can I detect if SAPI 5.1 is installed and turn off speech ... just try to create one of the SAPI COM objects and see if it succeeds. ... The Delphi Magazine had a series of articles on using SAPI (by Brian ...
    (borland.public.delphi.language.objectpascal)
  • How do I check if Microsoft SAPI5.1 is installed?
    ... I am doing a voice application that uses the Microsoft SAP!51 speech ... engine. ... How can I detect if SAPI 5.1 is installed and turn off speech ...
    (borland.public.delphi.language.objectpascal)