Re: voice on phone problems

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

From: William DePalo [MVP VC++] (willd.no.spam_at_mvps.org)
Date: 03/10/04


Date: Wed, 10 Mar 2004 01:42:56 -0500


"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



Relevant Pages

  • Re: Why?
    ... Well yes, the speech engine itself would be able to work on the Mac, ... You assume that MacSpeech has any control over the engine. ... Unfortunately, the speech engine is only half of the story, as MacSpeech ... Dragon NaturallySpeaking does not output gibberish ...
    (comp.sys.mac.system)
  • 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)
  • Speech Recognition Problem
    ... Recognition" tab in the Speech Properties control panel. ... Tournament 2004 didn't remove the engine as I had hoped. ... I found an article on the knowledge base about installing, configuring, and ...
    (microsoft.public.windowsxp.customize)
  • Re: speech recognition over a newtowrk with raw PCM
    ... into the Speech engine without having to save it to file first. ... > stream and recognizing against that. ... >> audio interface to stream in the data, but I know little of it. ...
    (microsoft.public.win32.programmer.tapi)
  • Re: voice on phone problems
    ... you need a text to speech engine and compatible voices. ... MS has a robotic sounding engine that uses its speech API ... Then you'll need to use the Speech API (SAPI) to convert the ...
    (microsoft.public.win32.programmer.tapi)