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: Adapting MakeVoices.vbs

Re: Adapting MakeVoices.vbs

From: ScottLearned <SLearned_at_cox.net>
Date: Wed, 12 Apr 2006 12:35:15 -0700

HI Don,
sure, give me a call.

Scott.
----- Original Message -----
From: "Barrett, Don" <Don.Barrett_at_ed.gov>
To: "Rockbox" <rockbox_at_cool.haxx.se>
Sent: Wednesday, April 12, 2006 12:23 PM
Subject: RE: Adapting MakeVoices.vbs


Wow, this looks very cool; can we discuss by phone?


Don Barrett
Section 508 Coordinator
U.S. Department of Education
(202)-205-8245
don.barrett_at_ed.gov

-----Original Message-----
From: rockbox-bounces_at_cool.haxx.se [mailto:rockbox-bounces_at_cool.haxx.se]
On Behalf Of ScottLearned
Sent: Wednesday, April 12, 2006 3:11 PM
To: Rockbox
Subject: Re: Adapting MakeVoices.vbs


----- Original Message -----
From: "Brian Wolven" <bcwolven_at_jhu.edu>
To: <rockbox_at_cool.haxx.se>
Sent: Monday, April 10, 2006 10:47 PM
Subject: Re: Adapting MakeVoices.vbs

Did you run ListVoices.vbs to see what the correct names are for your
installed voices? If you've done that, then you should be able to insert
that name in a line like the following (already in Jens' original code):

MakeVoiceFile "english", "Crystal16", SPSF_32kHz16BitMono, 140, "-V 4 -B
64 --resample 12 --scale 0.6 --vbr-new -t -S"

If you've got Crystal16 installed, that should work without
modification. You can place a single quote (') in front of those lines
that begin with MakeVoiceFile that use voices that you do NOT wish to
create. The ' is the comment character in VBscript, so those lines will
no longer be executed, which may save you some time and frustration.
Assuming you've got the proper names for your voices listed above, you
ought to be able to trim it down to just three MakeVoicefile lines, like
so (watch for possible line wrapping here, each is a single line):

MakeVoiceFile "english", "Crystal16", SPSF_32kHz16BitMono, 140, "-V 4 -B
64 --resample 12 --scale 0.6 --vbr-new -t -S"
MakeVoiceFile "english", "Mike16", SPSF_32kHz16BitMono, 140, "-V 4 -B 64
--resample 12 --scale 0.6 --vbr-new -t -S"
MakeVoiceFile "english", "NeoSpeech Paul", SPSF_32kHz16BitMono, 140, "-V
4 -B 64 --resample 12 --scale 0.6 --vbr-new -t -S"

The first two are already in the script, assuming you've got the same
version that I do.

Hi Brian,
 I downloaded the english.lang that James Teh posted in a previous email
and tried running the script again, this time with positive results. So
it wasn't a script issue as I initially thought. I believe my problem
was the english.lng file I was using to create the voice file.

I now have voice ffiles that work with the newer builds, but this still
creates a dilemma since speech on the newer builds is lost after
stopping a track and the only way to get it back is to restart Rockbox.

I guess I am a bit confused from where to find the english.lang file. I
thought the english.lng under the lang folder was what I was looking
for, but I see many references to an english.lang file, are these one
in the same?

If not, would you or someone know where I can find a earlier
english.lang file?
I would really like to generate some files that work on the pre 04/02
builds for the time being.

BTW, One of my files that was created with a slower speed was 2,016 KB
and worked fine on the 5G video.

Thanks much

Scott




__________ NOD32 1.1485 (20060412) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com
Received on 2006-04-12

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