Contant Peak, Constant RMS, How to get a fixed value for peak and RMS |
Contant Peak, Constant RMS, How to get a fixed value for peak and RMS |
Dec 12 2012, 21:32
Post
#1
|
|
|
Group: Members Posts: 18 Joined: 10-June 09 Member No.: 70548 |
Hi, we are trying to set a default standard for the volume of the audio files we are working on.
We are looking for a tool that, given a bunch of mp3 files, will be able to normalize them at a given db. For example : 0db for Peak levels and -9db for RMS. Ideally, we'd love to use sox as we can chain it with other effects we're using without the need to convert multiple time the file from mp3 to wav and back. We tried sox gain -n , sox gain -ne, sox gain -nb, sox loudness but none of them keep a constant RMS without varying the Peak level as well. Any help appreciated. Thanks |
|
|
|
![]() |
Dec 13 2012, 19:15
Post
#2
|
|
|
Group: Members Posts: 2114 Joined: 24-August 07 From: Silicon Valley Member No.: 46454 |
If you boost the level by 3dB, the average and peak both increase by 3dB (assuming no limiting or clipping.) The ratio* between the peak and average is constant unless you do non-linear processing (clipping, limiting, compression).
QUOTE 1) Peak normalization to 0db using sox You can skip step 1. Peak Normalization is a volume adjustment, and adjusting to2) normalize-audio -a -9dBFS for a standard RMS of around -9db -9dB is another volume adjustment. QUOTE 3) sox vol 0db 0.01 for a soft limiter to prevent clipping After adjusting to -9dB RMS, you'll have lots of "signal" above 0dB and several dB of limiting, which will probably cause some files to sound distorted. Soft clipping isn't as noticeable as hard-clipping, but it's still distortion.QUOTE Instead, it seems mp3gain does a batch analisys and make some sort of average. The "Album Gain" is a batch adjustment to keep the same relative levels throughout the album.... Loud songs remain loud, and quiet songs remain quiet the way the album was intended. If you choose "Track Gain", the songs are processed independently.When you change the audio batch, the average change, making the volume inconsistent between batches. ReplayGain works great for me!, but nothing is perfect! Two humans might not even agree when two different songs are equally loud, especially if a song has loud-parts and quiet parts. Dynamic compression and limiting can help a lot, but they destroy the dynamic contrast in the music (if over-done). * Decibels are logarithmic, so the dB is a constant number. If the peaks are twice as loud as the average, that's a 6dB difference and when you increase/decrease the volume (linearly), the ratio remains 2:1 and difference remains 6dB. This post has been edited by DVDdoug: Dec 13 2012, 19:34 |
|
|
|
terataz Contant Peak, Constant RMS Dec 12 2012, 21:32
splice Assuming that you want the files to be reproduced ... Dec 13 2012, 01:32
mjb2006 As above. Why do you need exactly peak 0 and RMS -... Dec 13 2012, 03:38
AndyH-ha Peak and RMS are not tied to one another. Making t... Dec 13 2012, 06:23
splice It looks like Francesco is building playlists for ... Dec 13 2012, 07:40
terataz QUOTE (splice @ Dec 13 2012, 07:40) It lo... Dec 13 2012, 18:18
splice QUOTE (terataz @ Dec 13 2012, 09:18) ... ... Dec 13 2012, 22:09![]() ![]() |
|
Lo-Fi Version | Time is now: 18th May 2013 - 17:49 |