🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #7215

Re: Help on SAPI.LIB

#7215
From: Elias Berelian
Date: Thu, 03 Mar 2005 16:16
35 lines
2606 bytes
Hello

We have a similar application where we want to communicate with voice modems
and do Speech Synthesis (SS) & Speech Recognition (SR). First we tried to
use the SapiEngine from TurboPower's AsynchPro version 4 package. It caused
problems, on entry it would say something like "not optimized for phone". We
have a Dialogic 4 port board in a Windows 2000 platform and we are using
BCPPB6. It was able to play wave files and DTMF tones into the phone. But
the output of SS would only work into the sound card speakers. The
application would also crash on exit.

We then looked at this thread of messages and subsequently we tried using
TTextToSpeech as recommended in this thread. We don't have any help files
for this and we don't know how to direct its output into the phone lines.
Sound board speakers still work. No crashes. Also when we try to use
TDirectSS we get:

[C++ Error] TAPIUnit1.h(83): E2015 Ambiguity between 'TDirectSS' and
'Adisapi::TDirectSS'

Does anyone have any suggestions for getting any of these to work? Code
snippets will be appreciated so that if we need to send "handles" we know
how to get a handle.


"Vladimir Stefanovic" <antivari@po.sbb.co.yu> wrote in message
news:41e17dad$1@newsgroups.borland.com...
>
> TTextToSpeech should appear as a component at
> ActiveX tab.
>
> If you drag/dropped the component on your form, you
> can use it something like this:
>
>    TextToSpeech->Speak( (WideString)"Say something" );
Technical Details
Message-ID: <4227384f@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41e172ce@newsgroups.borland.com> <41e17dad$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,3ad0f79973f314e1
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Elias Berelian" <eliasb@voyager.snetnsa.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <41e172ce@newsgroups.borland.com> <41e17dad$1@newsgroups.borland.com>
Subject: Re: Help on SAPI.LIB
Date: Thu, 3 Mar 2005 11:16:00 -0500
Lines: 37
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 144.160.5.25
Message-ID: <4227384f@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1109866575 144.160.5.25 (3 Mar 2005 08:16:15 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail