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

Rockbox mail archive

Subject: Re: a solution for voice clips (talkbox/UI)

Re: a solution for voice clips (talkbox/UI)

From: [IDC]Dragon <>
Date: Fri, 5 Mar 2004 09:19:38 +0100 (MET)

> > A drawback is that TextAloud generates a lot of pause (silence)
> > around the
> > actual clip, which I'd like to remove. Lame has no option for that,
> > I haven't
> > found a tool yet which does it on a batch of files.

So I had to write my own, it is here:

I have applied this to my UI clips, the result is in the same place as

The strings have been edited to remove the printf formatting and
For lame, I use the options "-V 9 --vbr-new -t" to save space. This is
important for the UI clips, we have to cram them all into ~1.5MB for the mp3
buffer. For talkbox, it doesn't matter.

> I've got a couple of working VBscripts (Windows Script Host - not for
> nixers) now, using the free-but-crappy MS voices, and assisted by Jörg's
> speak.exe (link is above in his post) and an executable versiion of
> lame. You will need both apps to run these scripts.

Especially your mp3ClipGen.vbs is exactly what I was "asking" for. I already
ran that across my drive. (Now I need the talkbox patch)
>From vbs, you may be able to use SAPI directly via automation, so you could
go without my speak.exe program.
Maybe some minor string processing can improve the quality. The MS speech
just ignores hyphenation. I have dir names like "Artist name - Album name" and
that's spoken without separation. Sounds better if speak.exe gets a full stop
inbetween, so giving it a string like "Artist name. Album name".

Thanks again,

+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++
100% Virenerkennung nach Wildlist. Infos:
Received on 2004-03-05

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