Active TTS Component
|
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.
|
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.
|
|
|
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 'Convert text to wav 'Convert text to mp3 |
"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.
4.0.2012.801
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
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.
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
Description: Property, get the count of installed voices
Description: Property, get/set the current voice index, which is between 0 and VoiceCount-1
Description: Property, get the current voice name
Description: Property, get the current voice gender
Description: Property, get/set the rate of current voice
Description: Property, get/set the pitch of current voice
Description: Property, get/set
the volume of current voice 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.
Description: Property, get
the encoding format count of current file format
Description: Property, get/set
the encoding format of current file format
Description: Property, get
the description of encoding format.
Description: get
the name of voice LONG FileFormat
LONG WaveFormatCount
LONG WaveFormatIdx
LONG WaveFormatName
LONG GetVoiceName(LONG nVoiceIdx)
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
Description:
strCode : Set the registration code to eliminate the limitation in trial version.
Description: Start speaking or conversion
Description: End speaking or conversion
Description: Speaking a word
Description: The speaking or conversion progress
Description: the bookmark string, SAPI 5 only
Description: information for current and next phoneme, SAPI 5 only
Description: information for current and next viseme, SAPI 5 only
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.
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
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:
admin@guangmingsoft.net or htmlsnapshot@gmail.com
'Here is a quick example in VB Script: Dim tts 'Create the Active TTS Object 'Set your code here 'Then do what ever you like ... |
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.