 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Elias Berelian Guest
|
Posted: Thu Mar 03, 2005 4:19 pm Post subject: Help on SAPI |
|
|
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 (AT) po (DOT) sbb.co.yu> wrote
| Quote: |
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" );
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|