Active TTS Component
Active TTS 4.0 Released

Features | Voices | History |  FAQ | Manual | Support | Buy!  | Clients

Do you ever want to convert text to audio? Active TTS is what you want. It can convert text to mp3, text to wma or text to wav on the fly using the state of art text to speech (TTS) system. It converts text to mp3 or text to wma directly without generating any other temporary files. This is the unique feature of Active TTS. You have full control on the quality of the speech file by setting the encoding parameters. Add "text to audio" or "text to mp3" to your programs now!

Why Active TTS?
Active TTS wraps SAPI4 and SAPI5 in a simple way to use.

Although there are Speech Application Interface (SAPI) on windows, the interface is very complex. Especially there are two major SAPI versions (SAPI4 and SAPI5) existing, which are not compatible between each other. So if you want to support SAPI4 and SAPI5 compatible engines (there are a lot of free SAPI4 voices on internet, so SAPI4 is still useful) , you have to spend double effort. Based on such fact, Active TTS wraps SAPI4 and SAPI5 into a common interface which is efficient and easy to use.

Active TTS is specially designed to convert text to audio file.

It converts text to speech on the fly, no temporary files are needed. It directly encodes the speech output from TTS engines to audio file. And it supports a lot of major audio formats.

Active TTS can convert MP3 to swf (Macromedia flash movie) so that the speech can be embeded in web sites easily

Here is a sample Mp3 Speech stream created by Active TTS. You can add such voice streams to your web site to make it more appealing.

Free Download & Try Now Play with the working demos before purchase without any risk!
Buy Now
. Get the registration code instantly. $149.95 For Single Developer License. $299.95 For Team License.

Active TTS supports SAPI4 and SAPI5 compliant voices.  It can be easily integrated into applications written in languages that support ActiveX Component such as Visual C++, Visual Basic, Delphi, C++ Builder, .Net languages,  Java, Scripts like Perl, Php, Python, ASP.Net.

To get better voice quality, you can buy AT&T Natural Voices, Neo Speech Voices or Cepstral Voices from below links. They are new generation TTS engines that use large speech database so the speech quality is excellent.

Mike (US English)
Crystal (US English)
Audrey (UK English)
Rosa (LA Spanish)
Buy Natural Voices

Kate16 (16khz English)
Paul16 (16khz English)
Kate8 (8khz English)
Paul8 (8khz English)
Buy Neo Speech Voices

Amy (US English)
Millie (UK English)
Isabelle (Canadian Fr.)
Katrin (German)
Buy Cepstral® Voices

My fellow programmers, don't spend your precious time to reinvent the wheel now. Get Active TTS for ONLY $149.95 NOW!  Then you can easily add the "text to mp3" function to your web or desktop applications. You can call it from your favorite development tools. Many working examples are supplied. Just have a look at them, you will find Active TTS is so easy to use.

'Here is a quick example that converts text to audio in VBScript:

Dim tts
Set tts = CreateObject("TTSObj.TextToSpeech.1")

'Convert text to wav
tts.FileFormat = 0
tts.SpeakToFile "Hello world", "1.wav", 0

'Convert text to mp3
tts.FileFormat = 1
tts.SpeakToFile "Hello world", "1.mp3", 0



"The Best Program Of Its Kind On The Market!"

Nice features - we can script on the fly, and it converts text to mp3 quickly.

Unsure? Unconvinced? I understand. We'll also throw in FREE tech support

But if you're still not sure, try it out for FREE !

We are committed to improving Active TTS component constantly. See History

Note: If you are looking for an application to convert text to mp3 or convert text to audio, please try Speak Aloud.

News: To convert MP3 to SWF only, please try our MP3 Stream Creator program.


Highlight Features:

  • Directly convert text to wav, text to mp3, text to wma, text to ogg, text to vox, text to au and text to aiff format on the fly without temporary files created.
  • Convert text to speech at high speed and save your disk's life as well
  • Show progress when speaking or converting text
  • Support SAPI4 or SAPI5 compliant voices.
  • Convert mp3 to Macromedia flash format, so you can convert text to swf and add mp3 stream speech to web site in realtime
  • Support Windows media lossless and speech codec
  • Provide visual TTS ActiveX control version based on COM automation server.
  • TTS service tool that can wrap TTS engine as Windows service so it can be easily used in web service or web script like ASP etc.
  • Support more voices and languages now. see voice section below for details
  • Now fully support x64 platform. You can convert text to wave, mp3 with 64 bit TTS engines like the ones listed in the free voice section below
  • Examples in VB, VB Script, C#, ASP, C++ Builder, ColdFusion, Delphi, JScript, Perl, PHP , VC++ are provided.
  • Fully support Windows 8 new TTS voices.





System Requirements:

Windows 98 and above, SAPI4 or SAPI5, Text-to-speech engines, Sound card. 

Note: SAPI is a standard interface of text-to-speech voices defined by Microsoft. It has two major versions SAPI4 and SAPI5. Many third party voices support SAPI interface. See the Voices sections for more details.

To run Active TTS, you must install SAPI4 or SAPI5 and install some TTS Voices.

Install SAP4: Microsoft Speech API 4.0a     Install SAPI5: Microsoft Speech SDK 5.1 


Speak(String strText, Long nFlag)

Description: Speak text with sound card

strText: The text to speak aloud

nFlag: TF_DEFAULT (0) is for synchronously speaking , TF_ASYNC (1) is for asynchronously speaking, TF_WITHTAG (2) is for using with SAPI4 tags. The flags can be combined together with boolean operator.

SpeakToFile(String strText, String strFile, Long nFlag);

Description: Convert text to wav or mp3

strText: the text to convert

strFile: the file to save the speech

nFlag: 0 is for synchronously speaking , 1 is for asynchronously speaking


Description: Stop playing or conversion


Description: Pause playing or conversion


Description: Resume playing or conversion

LONG VoiceCount

Description: Property, get the count of installed voices

LONG VoiceIdx

Description: Property, get/set the current voice index, which is between 0 and VoiceCount-1

String VoiceName

Description: Property, get the current voice name

String VoiceGender

Description: Property, get the current voice gender


Description: Property, get/set the rate of current voice

LONG Pitch

Description: Property, get/set the pitch of current voice

LONG Volume

Description: Property, get/set the volume of current voice

LONG FileFormat

Description: Property, get/set the output audio file format. Currently support AIFF(6), AU(5), VOX(4), OGG(3), WMA(2), MP3 (1) and WAV (0). The default format is MP3.

LONG WaveFormatCount

Description: Property, get the encoding format count of current file format

LONG WaveFormatIdx

Description: Property, get/set the encoding format of current file format

LONG WaveFormatName

Description: Property, get the description of encoding format.

LONG GetVoiceName(LONG nVoiceIdx)

Description: get the name of voice

LONG Mp3ToSWF(String MP3File, String SWFFile, BOOL bLoop)

Description: convert mp3 to streaming flash movie

Mp3File: the input mp3 file,whose sample frequency should be 11, 22, or 44kHZ

SWFFile: the output flash movie

bLoop: indicate if the flash movie will be played repeatedly

SetCode(String strCode)


strCode : Set the registration code to eliminate the limitation in trial version.



Description: Start speaking or conversion


Description: End speaking or conversion

OnTTSWord(LONG nStart, LONG nEnd)

Description: Speaking a word

OnTTSProgress(LONG nPercent)

Description: The speaking or conversion progress

OnTTSBookmark(String bookmark)

Description: the bookmark string, SAPI 5 only

OnTTSPhoneme(LONG nDuration, LONG nNextPhoneme, LONG bStress, LONG nCurPhoneme)

Description: information for current and next phoneme, SAPI 5 only

OnTTSBookmark(LONG nDuration, LONG nNextViseme, LONG bStress, LONG nCurViseme)

Description: information for current and next viseme, SAPI 5 only

OnTTSAudioLevel(LONG nLevel)

Description: the level of audio between 0 and 100, SAPI 5 only


Description: indicate a change of voice. SAPI 5 only


Voices are important to a text-to-speech software. There are default voices shipped with Windows 2000 above.

The capability and quality of the speech output are usually determined by the voices. There is a bunch of free voices on the internet for different languages. You can download and try. 

  • Free Voices:

Microsoft Text-to-Speech Engines
Microsoft Mary, Mike and Sam 5.0 
Microsoft English Text-to-Speech SAPI4 Engine 

Microsoft Speech Platform - Server and Languages
It supports: Danish TTS, Dutch TTS, Netherlands TTS, English (Australia) TTS, English (Canada) TTS, English (India) TTS, English (United Kingdom) TTS, English (United States) TTS, Finnish (Finland) TTS,
French (Canada) TTS, French (France) TTS, German TTS, Italian TTS, Japanese TTS, Korean TTS, Norwegian (Bokmal) TTS, Polish TTS, Portuguese (Brazil) TTS, Portuguese (Portugal) TTS, Russian TTS, Spanish (Spain) TTS, Spanish (Mexico) TTS, Swedish TTS, Chinese (Hong Kong) TTS, Chinese (Simplified) TTS, Chinese (Traditional) TTS.
To use these voices, install the speech platform and one of the language packs.

L&H TruVoice TTS Engines for SAPI4
British English French   Spanish  German  Italian Dutch  Portuguese Japanese  Korean  Russian

The state of art commercial voices can produce very high quality speech output because they use a very large database of pre-recorded voice data. Such voices are available with commercial licenses.

  • High Quality Commercial Voices:

Buy AT&T Natural Voices for SAPI4 or SAPI5 Now         Online Demo

Buy Neo Speech Kate and Paul Voices Now         Online Demo

Buy Cepstral Voices Now         Online Demo


The files that need to redistribute Active TTS with applications are:

TTSObj.dll: the component itself. It needs to be registered as ActiveX by regsrv32 or setup program.

lame_enc.dll: the mp3 encoder

WMFDist.exe: Wma support files. Optional.

Once registered, you can redistribute Active TTS royalty-freely. (For details about redistribution, please refer to the license agreement)


If you have any questions or suggestions regards to Active TTS. Please feel free to email us:

Guangming Software or


  • How do I register the component?
    Answer: Once you buy the component, a registration code will be sent to you by email. After creating an object instance of Active TTS in your favorite programming languages, calling the SetCode method with the code you got by email before converting text to mp3. In this way, every limitation in trial mode will be removed.
  • 'Here is a quick example in VB Script:

    Dim tts

    'Create the Active TTS Object
    Set tts = CreateObject("TTSObj.TextToSpeech.1")

    'Set your code here
    tts.SetCode "Your license code here"

    'Then do what ever you like ...

  • Can you do custom development for special usage?
  • Answer: Sure. Please tell us what you need and we can discuss a cost, and then develop custom version on schedule just for you.


08/19/2012 +Update: Windows 8 new TTS voice support
08/01/2010 +Update: Better 64 bit support
04/01/2010 +Update: Update to 4.0.
11/18/2007 +Fix: Update TTS Service so it runs better in Vista
07/26/2007 +Add: Fix an OGG issue
01/18/2007 +Add: Fix an issue when speaking to sound card
12/08/2006 +Add:Bug fixes
11/11/2006 +Add:Update TTS OCX version
10/07/2006 +Add:Update VB6 demo.
07/18/2006 +Add:Add bookmark, phoneme, viseme events, TTS Batch tool
02/26/2006 +Add:Add WMA speech codec, lossless codec and update TTSService tool
10/01/2005 +Add:TF_WITHTAG to support SAPI4 tags
05/29/2005 +Add:C++ Builder example and TTS Service tool
05/05/2005 +Add:FLAC support and minor bug fixes
01/09/2005 +Add:ColdFusion Example
12/18/2004 +Add: Convert text to swf and create MP3 Speech Stream
12/10/2004 +Add: text to OGG,text to VOX, text to AU, text to AIFF format support
12/06/2004 +Add: text to WMA support
11/26/2004 Initial Release, text to mp3 and text to wav support

SAPI,Windows,are copyright of Microsoft.