Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Lossless adjusting of loudness for MP3 and AAC files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Lossless adjusting of loudness for MP3 and AAC files
Authored by: sanzoghenzo on Feb 10, '11 03:39:39AM

Thanks for the hint!
I prefer to use album gain, and use only mp3 files.
The following will do the job:

find . -type d -exec sh -c 'set -- "$0"/*.mp3; [ -e "$1" ]' {} \; -print0 | xargs -P 4 -0 -n 1 -I % sh -c "aacgain -a -p -k -m 4 \"%\"/*.mp3"

This, in conjunction with beets and pylywi will tidy up your collection from CLI!

[ Reply to This | # ]