QUOTE (auldyin @ Aug 27 2003, 01:24 PM)
What I was looking for was a little programme which allowed you to calculate the bitrate which would fit eg:
40 minutes of music into 64MB of memory
The equation for that calculation is fairly simple, would you really want a special program for it?

OK, take it easy.
(1) The equation:
bitrate[kbps] = space[kbits] / time[seconds]
(2) unit conversions:
time[seconds] = time[minutes] * 60
space[bits] = space[bytes] * 8
space[K] = space[M] * 1024
(3)The equation for other units - (1) and (2) combined:
bitrate[kbps] = 8*1024/60 * space[MB] / time[minutes]
= 136.53 * space[MB] / time[minutes]bitrate[kbps] = 8*1024 * space[MB] / time[seconds]
= 8192 * space[MB] / time[seconds]That's the nice theory, but I'm not sure about two practical details:
-is the Kilo/Mega conversion correct for MP3 bitrates? or is the factor 1000 instead of 1024? does anybody else know that?
-there may be some overhead related to the actual storing of the files, so you might want to do your calculations with some "headroom". for instance, add a minute or two to the real time. this gives you a slightly lower bitrate (smaller files). just test it for yourself to see how much the "ideal" factor has to be adjusted.
Have fun!