[LAU] Batch normalising wav files
Arnold Krille
arnold at arnoldarts.de
Fri Dec 24 23:39:12 UTC 2010
Hi,
On Friday 24 December 2010 14:53:44 Q wrote:
> I'm wanting to batch process a bunch of wav files, normalising them all
> to -0.3 dBFS.
>
> I thought I could do this with normalize/normalize-audio, but it doesn't
> look to be possible. The man page suggests that simply analysing the
> file and raising the level so the loudest peak is 0 dBFS isn't
> normalising, which is news to me:
>
> " --peak
> Adjust using peak levels instead of RMS levels. Each file will be
> adjusted so that its maximum sample is at full scale. This just gives a
> file the maximum volume possible without clipping; no normalization is
> done."
That statement there is bullshit. Scanning a wave-file for maximum absolute
sample and then scaling that to make the file fit into [-1:1] with the abssolute
of the maximum sample at 1 _is_ normalization. That is the very definition of
normalization.
> That would be okay, except I want them normalising to something other
> than full scale.
Given the fact that [-1:1] is just an arbitrary setting, there is no problem
with normalizing/scaling to [-0.9:0.9] or within the range of -3dB instead of
0dB...
> Is there a quick and easy way to do this?
I seem to recall that normalize-audio can actually do this. Otherwise have a
look at the fine tools contained in libsoundfile.
Have fun and a merry Christmas,
Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20101225/76530d14/attachment.pgp>
More information about the Linux-audio-user
mailing list