PDA

View Full Version : mp3gain on entire library?



Thomas J. Angstman
2004-10-10, 13:05
I tried this but resulted with errors such as this:

/mp3/Stevie Wonder/Songs in the key of Life, Vol. 2/*.mp3
Can't open /mp3/Stevie Wonder/Songs in the key of Life, Vol.
2/*.mp3 for reading

I appreciate this very much. Unfortunately about 1/2 of my collection
is set flat at 89db as I did not recognize that I am changing the way
the artist intended the tracks to sound relative to each other. I will
do it this way from now on if I can figure out the correct command.

-----Original Message-----
From: discuss-bounces (AT) lists (DOT) slimdevices.com
[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of Roy M.
Silvernail
Sent: Sunday, October 10, 2004 1:38 PM
To: discuss (AT) lists (DOT) slimdevices.com
Subject: [slim] mp3gain on entire library?

On Sun, 2004-10-10 at 15:32, Roy M. Silvernail wrote:

> That won't apply album gain settings, though. It will flatten all
> tracks to a common median loudness. For album gain, you need to
process
> a directory at a time.
>
> Maybe something like this?
>
> find /mp3 -type d | xargs mp3gain -a "{}/*.mp3" \;

Oops! That won't work. This might:

find /mp3 -type d -exec mp3gain -a "{}/*.mp3" \;
--
Roy M. Silvernail is roy (AT) rant-central (DOT) com, and you're not
"Progress, like reality, is not optional." - R. A. Hettinga
SpamAssassin->procmail->/dev/null->bliss
http://www.rant-central.com