About Us    Products    Store    Support    Download    Contact 

 

For Developers
 - Profile Developer
 - Lexicon Developer

 - SpeechStudio Suite

Money-back guarantee

Shop Online

The SpeechStudio TAPI Control is an ActiveX control that connects SAPI 5 text-to-speech (TTS) and speech recognition (SR) audio streams to telephony devices supported by TAPI. The control is designed to be accessed from any language that supports COM automation, including Visual Basic and Visual C++. It works with all versions of Windows that support SAPI 5 and with all versions of TAPI, although some methods are only relevant for clients using TAPI version 3.

The product includes an ActiveX control, documentation, code examples in Visual Basic and Visual C++, and technical support.

Are you looking for an easy way to create voice and IVR applications?  Check out SpeechStudio Suite, our flagship product, that integrates TAPI, DTMF recognition, text-to-speech, voice recognition, and audio recording and playback..

Visual Basic Samples

Two Visual Basic sample programs are included with TAPI Control. The sample programs, T2Answer and T3Answer, are identical in function. Both programs show how to answer the phone, speak a prompt using text-to-speech, and then listen to dictation for a set amount of time. They differ in their implementation: T2Answer uses TAPI version 2 and T3Answer uses the automation interface of TAPI version 3.

Both sample programs require a TAPI-compatible voice modem to answer incoming calls. The T2Answer program should run on any system supported by SAPI 5 and the SpeechStudio TAPI Control. Because the T3Answer program uses the automation interface of TAPI version 3, it requires Windows 2000, Windows XP, or Windows .NET Server.

Visual Studio .Net C# Sample

The C# sample program uses a voice modem or similar device to dial a phone number and deliver a short voice message using using text-to-speech.

Visual C++ Sample

The Visual C++ sample program, TTSOutgoing, uses TAPI version 3 and therefore only runs on Windows 2000 or newer Windows NT-based operating systems, such as Windows XP and Windows .NET Server. It uses a voice modem or similar device to dial a phone number and deliver a short voice message using using text-to-speech.

Buy TAPI Control!


ITAPIControl interface

The control implements the ITAPIControl interface, which provides the following methods:

Method Description
CreateInputStream Creates and initializes a SAPI 5 audio input stream.
CreateOutputStream Creates and initializes a SAPI 5 audio output stream.
GetDeviceIDWaveIn Returns the wave/in device identifier for a TAPI call object.
GetDeviceIDWaveOut Returns the wave/out device identifier for a TAPI call object.

With this interface, associating a TAPI device with an audio stream is a two-step process:

1. Get the device identifier for the TAPI device.

2. Create a SAPI 5 audio stream for the device. The TAPI Control will automatically initialize the audio stream with an audio format supported by both the device and SAPI.

For a TAPI version 3 client, call GetDeviceIDWaveIn or GetDeviceIDWaveOut to get the device identifier. Clients of older versions of TAPI can call the TAPI function lineGetID to get the device identifier.

To create the SAPI 5 audio stream, call the CreateInputStream or CreateOutputStream method. This method returns an audio stream object that SAPI can use to do TTS or speech recognition.

© 2001-2005 SpeechStudio Inc.  All Rights Reserved.

Privacy Policy