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

Rockbox mail archive

Subject: RE: A thought on the voice UI

RE: A thought on the voice UI

From: Rick Alfaro <>
Date: Fri, 11 Jun 2004 13:50:58 -0400


I don't know anything about writing scripts either, but I took a look at the
script that generates the folder names in an editor. It is using 16 bit
32khz mono for the mp3 encoding.

Also while looking through the rest of the script, although again, I am not
a programmer, it seems like it could be easily modified to generate file
names along with folder names if RockBox had the ability to pickup on an
additional trigger like _filexxxx.voice where xxxx would be the number of
the file in that particular folder.

Again however, we have to keep in mind that no matter how small the file is,
it is still going to take up 4k due to cluster sizes.

Anyhow, just something to think about I guess if the RockBox guys ever
decide to give this a try.

Best regards,
Rick Alfaro

-----Original Message-----
From: [] On
Behalf Of rinty
Sent: Friday, June 11, 2004 12:29 PM
To: Rockbox development
Subject: RE: A thought on the voice UI

I get the point re disk space Rick, but for my money it would be worth it.

I realise that these calculations are a bit randomised and rough, but I
think this one makes the point and is fairly accurate.

OK, a 2 second long file name, recorded at 128KBPS 44 x sampling stereo.
Let's assume 10000 filenames, 20000 seconds:165 minutes. at 1MB per minute,
approx 165MB. Now cut the sampling rate in half, make the filenames mono,
and reduce the bit rate to 56KBPS, and you've divided the amount used by a
factor of roughly 8. Your 165MB goes down to 20MB. I've probably over
estimated the number of filenames, and if someone wants to do a more
scientific calculation of the disk space that would be used, I'm fine with
that. Note that most synthetic voices are only 16X sampling and 32KBPS at
most, so you could have the script generate filenames of that quality, as
higher would be pointless. You're probably then looking at 10MB, the length
of 3 or 4 songs recorded at normal rates. I'd happily sacrifice that, but I
wouldn't have the first idea how to start writing script files.


Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
Version: 6.0.703 / Virus Database: 459 - Release Date: 10/06/2004
Received on 2004-06-11

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