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



Rockbox mail archive

Subject: Re: creating voice files for bulgarian on sansa clip zip using Rockbox Utility

Re: creating voice files for bulgarian on sansa clip zip using Rockbox Utility

From: Zahari Yurukov <zahari.yurukov_at_gmail.com>
Date: Mon, 27 Aug 2012 16:44:26 +0300

On 21.8.2012 г. 14:44 ч., Zahari Yurukov wrote:
> Hi devs,
> I've installed latest development version of Rockbox yesterday on
> Sansa Clip Zip using Rockbox Utility.
> I'm trying to create voice files for Bulgarian using Rockbox Utility
> and SAPI5 synth (actually i've tryed 2 synths - eSpeak and a
> proprietery one).
> The result was a voice file around 400 kilobytes, which was obviously
> to be incomplete, and definitely that was the case - only 1 of every
> few messages was voiced. There were no errors - everything finished
> successfully.
> I've downloaded the English file, which you have made with festival
> and it works perfect.
> Then I've made a Russian voice file, with eSpeak again, and it was
> around 1600 kilobytes and it worked as expected.
> Now I'm thinking that in Bulgarian translation (which is quite good)
> the strings for voicing are not presented for all entries.
> I think that copying all strings from the GUI into the voicing will be
> quite enough, at least for now (if not - I can contribute for that -
> I'm native speaker).
>
> That, of course, is only my assumption about the problem. Can you look
> at it, please?
>
>
> Best wishes and greetings for your good work,
> Zahari Yurukov
Hi again,
I found that I was right by browsing the source code - most of <voice>
messages for the Bulgarian translation were empty.
So I copied all messages from <dest> to <voice> with following regexpr
(with dot matches newline enabled):
Pattern:
(<phrase>.*?<dest>)(.*?)(<\/dest>.*?<voice>).*?(<\/voice>.*?<\/phrase>)
Replacement: \1\2\3\2\4

I'm attaching the result to this letter, so you can review it and
include it into development branch.
It has compiled successfully with genlang script so it should be no
problems.

Unfortunately, I still can't create my voice file, because I don't have
a building envirement yet and Rockbox Utility is downloading everything
from the internet and even in offline mode I still cant point it to my
.lang file.

By the way, when I've tryed to install Cygwin from your mirror, almost
nothing has been installed, and there was error -6 everywhere.
What would happen if I install it from another mirror?

P.S. It would be nice if .lang files and genlang script could be
downloaded from someware in the wiki or the translation page.



Received on 2012-08-27

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