[Tuxpaint-i18n] Reduced bitrate of many stamp description sounds
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Bill K. <nb...@so...> - 2024-01-12 05:05:21
|
The other day I went through and converted all descriptive sound files in Tux Paint Stamps -- the sounds of people speaking the names of stamps -- from stereo to mono. That saved almost 100MB of space used by those OGG files! Today, I did further work, this time to reduce the bitrate of sounds, so they are never higher than 32,000bps. That saved another 41MB. In both cases, I used BASH shell scripts (commited in the `tuxpaint-stamps` repository, under the `tools` subdirectory) here on my Linux laptop. They use FFMPEG tools (`ffmpeg` itself, and the latter uses `ffprobe` to check the bitrate, and skip those that are already at <= 32,000bps). Since the bitrate change is technically destructive (but not noticable to my ears), I decided NOT to commit all of the changes at once, but instead am doing so on a per-language, per-top-level-directory basis. e.g., all BE "animals", then all CA "animals", ... then all BE "space", then all CA "space", then all FR "space", ... and so on... This will allow us to revert one or more commits, to recover files which anyone might decide does not sound enough now, without having to revert ALL of the changes at once! 8^o At 14 languages x 16 top-level, it could be as many as 224 commits! It's going to have been fewer than that, though, as not every category of stamp has descriptions in every language, and even then not every sound file was encoded at higher than 32Kbps. (For example, none of the English files needed to be touched, as they were mostly 32K; a few 8K.) Anyway, if anyone notices any descriptive sounds in their favorite locale sounding bad -- well, worse than they did already (many are VERY poor quality recordings; but beggars can't be choosers!) -- then please alert me and we can look at whether it's worth reverting the pre-2024-01-11 versions of the OGG files in question, and consider other ways to reduce their size. Ref: https://sourceforge.net/p/tuxpaint/bugs/284/ -- -bill! Sent from my computer |