dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: SAPI 4 speech synthesisers and makevoices.vbs

SAPI 4 speech synthesisers and makevoices.vbs

From: James Teh <>
Date: Tue, 18 Apr 2006 15:17:48 +1000

Hi all,

I've had quite a drama trying to get SAPI 4 speech synthesisers to
work with voice building tools under Windows XP. The ActiveVoice.ActiveVoice
automation object just didn't exist on my system no matter what I did. I
even installed the 40 mb SAPI 4 SDK suite to no avail. I finally got it
working this morning, so I thought I'd document it here so others can

First of all, here is where you can find the SAPI 4 downloads (SDK,
etc.). You will not need the SDK for this, but I'm including the URL
here for reference:

Steps to get SAPI 4 to behave with the voice building tools under
Windows XP:
1. Download and install the SAPI 4 run-time binaries:
2. Run the following command from Start->Run:
regsvr32 c:\windows\speech\xvoice.dll
assuming Windows is installed in c:\windows.
3. Follow the VoiceBuilding wiki guide as usual.

Other useful information:
* If you want to be able to list SAPI 4 synths from your control panel,
download and install this add-in:
* You can change the speed using ActiveX with SAPI 4, but at least with
Eloquence, it doesn't quite behave unless you set the speed right before
you set the wav file name (around line 240):
                    oTTS.Speed = 425
                    oTTS.Speak VoiceReplaceStrings(sSpeak, sVoice)
    I also had to insert the following line in order to make the first
select call work properly with Eloquence (the new line is marked with a
comment; approximately line 200):
    oTTS.Speak "" ' This is the new line.
    oTTS.Initialized = 1
    oTTS.CallbacksEnabled = 1


James Teh
MSN Messenger:
Yahoo: jcs_teh
Received on 2006-04-18

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy