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

Rockbox mail archive

Subject: Voice file generation for various languages

Voice file generation for various languages

From: Jens Arnold <>
Date: Fri, 30 Apr 2004 01:26:25 +0200

I have prepared a VBScript to generate voice files for the
Rockbox Voice UI for various languages. It can utilize both
SAPI5 and SAPI4 voices, so it is possible to generate voice
files for quite a number of languages.It also features internal
lists to tweak pronunciation without the need to introduce
deliberate spelling errors (which would be engine dependent)
into the .lang files.

Languages/voices I've already done (These are available at and I will try to keep
them in sync with the corresponding .lang files):

  German, AT&T Natural Voices Klara (
  US English, AT&T Natural Voices Crystal (
  US English, AT&T Natural Voices Mike (
  US English, Microsoft Mary (
  US English, Microsoft Mike (
  US English, Microsoft Sam (

These files are generated with tweaked pronunciation.

Languages/voices I should be able to prepare with the freely
available L&H TTS3000 engines provided that the voices entries
in the corresponding .lang file are created by someone with a
knowledge of the language first:

  French (Veronique, Pierre), Dutch (Karen, Hans),
  Italian (Barbara, Stefano), Spanish (Carmen, Julio),
  Brazilian Portuguese (Juliana, Alexandre)

Beware that the L&H TTS3000 voices don't sound very pleasant.
That's why I didn't list the German and British english voices,
since these would be by far inferior to the already available
AT&T and Microsoft voices.
It would also be a raw version - since I don't know these
languages, I cannot tweak pronunciation.

Voice file generation for SAPI5 voices (AT&T, Microsoft) works
really fast (~40 sec for a complete voice file on my system),
unfortunately using SAPI4 voices (L&H) is rather slow, because
it has to be done in realtime (~15 min for a complete voice file).
At least it runs unattended.

Windows users:

If someone wants to try the script for himself, it can be found
at as well, however, it
is still not perfect and there is no description yet. Additionally
you will need WavTrim.exe (by Jörg, modified by me),
VoiceFont.exe (also by Jörg) and Lame.exe, all of them either in
the path or in the same directory as the script.

Regards, Jens

Received on 2004-04-30

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