Re: Trying to normalize each wav before encoding, with no effect.

Adam Funk <a24061-yXNeHEYmD9/[email protected]> Sun, 8 Apr 2007 19:36:35 +0100
Newsgroups gmane.comp.multimedia.grip.user
Message-ID <[email protected]>
On 2007-04-07, Todd Zullinger wrote:

> Something like this as the encode filter ought to do what you want:
>
> /usr/bin/normalize-audio -g "%r" "%m"

For the record, here's the solution that I've found that works the way
I want (partly from reading the help file closely again):

Config -> Rip -> Ripper "Calculate gain adjustment"
  Yes
  
  (I don't know yet if this actually makes any difference, but it
  might.)

Config -> Rip -> Options "Wav filter command"
  /usr/bin/normalize-audio -a -20dB %w

I don't need %r because I know in advance what average amplitude I
want in the final file.  Now I'm getting *.mp3 files with -20dB and
all the correct ID tag information.

Thanks very much for your help and encouragement!


> I'm assuming that there is a -g option in normalize on Debian and
> Ubuntu.  I'm using Fedora and the binary is named as it is upstream,
> just normalize.  It's version 0.7.7.

The Debian/Ubuntu normalize package includes three executables,
normalize-audio (the same as upstream normalize, I think),
normalize-mp3 (which decodes the MP3, normalizes the wav, and
re-encodes it to MP3 --- this solves the problem for MP3 players that
don't handle the "relative volume adjustment frame" in the ID3 tags
properly), and normalize-ogg (which I think does the same thing for
OGG).

I've had some trouble with normalize-mp3 losing the tag information,
and it's obviously more lossy than doing the normalization between
ripping and encoding; that's why I wanted to get the grip "Wav filter
command" to do it.


There's a reason why they renamed normalize to normalize-audio it in
Debian and Ubuntu, but I can't remember what it is.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV