Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Voice building

Re: Voice building

From: Peter Herngaard <pethern_at_email.dk>
Date: Sat, 11 Nov 2006 23:02:40 +0100

Hello Grant

There are several possibilities.

1. SAPI4 isn't installed or isn't installed properly. The fact that screen
reader software is able to use built-in speech engines like Eloquence
doesn't necessarily mean that ActiveX automation will work from within your
VB script.
Therefore you may consider reinstalling it again.

2. Some SAPI4 DLL files are not correctly registered with Windows.
Solution:
Open the Run dialog (Windows key+R) and type the following command:

cmd /c for %a in (%systemroot%\speech\*.dll) do regsvr32 %a /s

(If the command above is broken into several lines in your mail client, be
sure to type it as a single command).

3. Check whether Eloquence is available to the Active TTS object.

One important consideration to keep in mind is that Eloquence comes in
different flavours. Some screen readers have a built-in
Eloquence speech engine but doesn't share it with other software using the
SAPI4 interface.
If you use JAWS for Windows you can therefore not employ SAPI4 to script
instances of the Eloquence speech engine.

Open a command prompt, change to the directory where listvoices_sapi4.vbs is
located and type
 cscript listvoices_sapi4.vbs
If Eloquence is available to SAPI4 the listvoices_sapi4.vbs script should
return some like this:

---
English-American: Default (English)     Default
English-American: Grandma (Elderly Female)      Grandma
English-American: Grandpa (Elderly Male)        Grandpa
English-American: Reed (Adult Male)     Reed
English-American: Reed-Tel (Adult Male for Telephone)   Reed-Tel
English-American: Sandy (Child) Sandy
English-American: Shelley (Adult Female)        Shelley
English-American: Shelley-Tel (Adult Female for Telephone)      Shelley-Tel
---
If the voices above is missing, it's very likely Eloquence is not installed.
Best Wishes,
Peter Herngaard
 ----- Original Message ----- 
From: "Grant Hardy" <grant_hardy_at_telus.net>
To: "'Rockbox'" <rockbox_at_cool.haxx.se>
Sent: Saturday, November 11, 2006 10:11 PM
Subject: RE: Voice building
>> Hello Grant
>>
>> From my own makevoices.vbs file
>>
>> ---
>> MakeVoiceFileSAPI4 "english", "Reed", 10, "--cbr -B 16 --
>> resample 12 --scale 0.6 -t -S --priority 0"
>>
>> --- 
> I get the following error:
> Windows Script Host
> Error - could not get ActiveVoice object. SAPI 4 not installed?
> (MakeVoiceFileSAPI4)
>
> Yet I am SURE the voice is installed!  What's wrong?
>
> By the way I too would appreciate your voice file.
>
> Grant
>
> 
Received on 2006-11-11

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