Article View: borland.public.cppbuilder.nativeapi
Article #7216Help on SAPI
From: Elias Berelian
Date: Thu, 03 Mar 2005 16:19
Date: Thu, 03 Mar 2005 16:19
35 lines
2387 bytes
2387 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:
<42273907$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!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-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,17050be6f3e99853,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Elias Berelian" <eliasb@voyager.snetnsa.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Help on SAPI Date: Thu, 3 Mar 2005 11:19:18 -0500 Lines: 38 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: <42273907$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1109866759 144.160.5.25 (3 Mar 2005 08:19:19 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!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