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: Rockbox voice files

Re: Rockbox voice files

From: Rocker <rocker_at_shaw.ca>
Date: Sun, 09 Apr 2006 20:11:42 -0600

Hi,

Could this be compiled in Windows? What am I saying? I don't know how to
even compile...LOL...rocker

----- Original Message -----
From: "James Teh" <jamie_at_jantrid.net>
To: "ScottLearned" <SLearned_at_cox.net>
Cc: "rockbox list" <rockbox_at_cool.haxx.se>
Sent: Sunday, April 09, 2006 7:56 PM
Subject: Re: Rockbox voice files


Hi again,

I just investigated this further. It seems that the -o option of genlang
is all that is needed. On a Unix system, run genlang over english.lang
like this:
cd rockbox/apps/lang
../../tools/genlang -o -e=english.lang -t=h300 english.lang >
newenglish.lang
You also need to run it over the language file you wish to use if it is
not English:
../../tools/genlang -o -e=english.lang -t=h300 deutsch.lang >
newdeutsch.lang
Obviously, the target and languages should be replaced according to your
needs.
If you can't use genlang, I have uploaded my english.lang here:
http://www.jantrid.net/misc_files/english.lang

Jamie


On Mon, Apr 10, 2006 at 10:51:24AM +1000, James Teh wrote:
> Hi Scott,
>
> I'm cc'ing this to the rockbox users list, as others may find it useful.
> Hope you don't mind.
>
> I actually have little knowledge of the Rockbox code, but have dabbled
> at understanding bits of it. Nevertheless, I have done quite a bit of
> investigation on the recent "broken voice UI" issue.
>
> Like many others, I have noticed that current voice files broke in early
> april (2006-04-02 build, to be precise). This is due to major changes to
> the language files. To further compound the issue, the language source
> files (i.e. not the binary language files) have completely changed
> format as of 2006-04-03. The new format is known as langv2 and none of
> the current voice file building scripts have yet been updated for the
> new format. (This is the reason for the html-like tags described by
> Andrew Hart.)
>
> The tools/genlang script in the Rockbox source provides an option (-o) for
> output of the voice language strings in a format similar to that of
> langv1. This is the best hope for the voice building scripts like
> makevoices.vbs, though I think they may still need some changes in order
> to work. I will investigate this at some point in the near future if no
> one else beats me to it, though I don't have any SAPI voices apart from
> Microsoft Sam to work with.
>
> If you have no voice for now, you can roll back to 2006-04-01 or
> 2006-03-31 daily build and use the Viavoice voice file provided by
> someone on this list a few months ago. I'm not sure of the URL, so
> you'll have to search the mailing list archives.
>
> Jamie

-- 
James Teh
Email: jamie_at_jantrid.net
WWW: http://www.jantrid.net/jamie/
MSN Messenger: jamie_at_jantrid.net
Jabber: jteh_at_jabber.org
Yahoo: jcs_teh
Received on 2006-04-10

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