Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: normalizing - something already peaking above 0.0dB (Read 8105 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

normalizing - something already peaking above 0.0dB

Hey guys,

The other day I compiled a CD of different stuff and normalized each file/song to peak at 100% volume without clipping.
After I had done this out of curiosity I checked what the peak volume of some of the original files were, some were very low which is the reason I normalized each track I was putting on the CD, however some of the tracks I was compiling were peaking at values like +0.02dB from their original source.

So when I normalized the +0.02dB file it changed to something just under 0.0dB.

I'm having trouble getting my head around what happens to a file when you have an original file that peaks at +0.02dB (already over 0.0dB), and you then normalize it to 100% (which takes it just under 0.0db).

I know a human is not going to hear a difference of something like .2dB, but does the process I described above cause some of the audio to be chopped off ?, any audible damage to the file ?
I know it's a simple answer, I just can't get my head around it at the moment !

Thanks for any help.

Cheers

normalizing - something already peaking above 0.0dB

Reply #1
Assuming that you did something like mp3 --decode-> wav --normalize-> wav --burn-> CD and you used normal 16-bit PCM wav, you might have clipped peaks on your CD. The reason is that formats like mp3 can represent levels above 0db when decoded. The lossy encoding process can create peaks that high even if the source data for the mp3 never exceeded that level.

So when decoding an mp3 with peaks above 0db to 16 bit wav which can't represent these levels, the samples will be clipped. Normalizing the wav again after the fact won't help, since the clipping already happened.

However, if you use an intermediate wav format that can represent the peaks and normalize that before going to 16 bits, or do something like mp3 --mp3gain-> mp3 --decode-> wav or mp3 --decode with replaygain-> wav, then no clipping should occur.

Either way, clipping of such a low intensity as you describe is in all probability inaudible.

normalizing - something already peaking above 0.0dB

Reply #2
Assuming that you did something like mp3 --decode-> wav --normalize-> wav --burn-> CD and you used normal 16-bit PCM wav, you might have clipped peaks on your CD. The reason is that formats like mp3 can represent levels above 0db when decoded. The lossy encoding process can create peaks that high even if the source data for the mp3 never exceeded that level.

So when decoding an mp3 with peaks above 0db to 16 bit wav which can't represent these levels, the samples will be clipped. Normalizing the wav again after the fact won't help, since the clipping already happened.

However, if you use an intermediate wav format that can represent the peaks and normalize that before going to 16 bits, or do something like mp3 --mp3gain-> mp3 --decode-> wav or mp3 --decode with replaygain-> wav, then no clipping should occur.

Either way, clipping of such a low intensity as you describe is in all probability inaudible.


Some were MP3 and some were WAV.
The process I used was opening the original files with Adobe Audition 1.5 and Normalizing them to 100%
Thanks for the info.

normalizing - something already peaking above 0.0dB

Reply #3
It is possible for a digital file to have no data points greater than full scale, but when converted to analog and lowpassed, to exceed full scale. Perhaps that is what is going on, i.e. the software that is calculating peak value is calculating true analog peak value, rather than maximum digital value?

BTW, normalizing to the highest peak value is a terible way to adjust your files.

normalizing - something already peaking above 0.0dB

Reply #4
It would be nice if software would do the calculations pdq is talking about. Most don't - they just look for the largest sample value in the file and scale everything up so that the largest sample is at full scale. This is wrong but not hugely wrong. I don't know what Adobe Audition does. bombers explanation is probably more likely. The peak value of an encoded file is more difficult to predict.

In any case, you have no business normalizing files that are already this close to full scale. Nothing good will come of it.

normalizing - something already peaking above 0.0dB

Reply #5
Quote
I'm having trouble getting my head around what happens to a file when you have an original file that peaks at +0.02dB (already over 0.0dB), and you then normalize it to 100% (which takes it just under 0.0db).
  It doesn't make any sense to me either!  I suppose Audition could be calculating/estimating "inter-sample peaks", but it could also be a calculation or rounding error...

0dBFS is defined as the highest possible sample value (i.e. 100%).   With 16-bit WAV files that means either +32,767 or -32,768 (decimal).  You simply cannot "count" any higher than that (in binary) without adding another bit! 


NOTE - Audio editors normally use floating-point numbers for temporary storage, so it is possible to go over 0dB within Adobe (i.e. if you increase the volume, or do some other processing that boosts the level).    But, if you save a file that goes over 0dB (in the standard 16-bit WAV format) it will be clipped to 0dB. 


normalizing - something already peaking above 0.0dB

Reply #6
Quote
It would be nice if software would do the calculations pdq is talking about. Most don't - they just look for the largest sample value in the file and scale everything up so that the largest sample is at full scale. This is wrong but not hugely wrong.

That depends what you want to achieve. I think that for most applications it's irrelevant whether the level of the reconstructed analog signal would exceed 0db between sample points because the reconstruction filters should have no problem with that case.

Quote
I'm having trouble getting my head around what happens to a file when you have an original file that peaks at +0.02dB (already over 0.0dB), and you then normalize it to 100% (which takes it just under 0.0db).
  It doesn't make any sense to me either!  I suppose Audition could be calculating/estimating "inter-sample peaks", but it could also be a calculation or rounding error...

0dBFS is defined as the highest possible sample value (i.e. 100%).   With 16-bit WAV files that means either +32,767 or -32,768 (decimal).  You simply cannot "count" any higher than that (in binary) without adding another bit! 


NOTE - Audio editors normally use floating-point numbers for temporary storage, so it is possible to go over 0dB within Adobe (i.e. if you increase the volume, or do some other processing that boosts the level).    But, if you save a file that goes over 0dB (in the standard 16-bit WAV format) it will be clipped to 0dB.


I suppose Audition will directly render mp3 files into its internal processing format - which can probably represent sample values above 0db as you already said. Mp3 files can easily contain sample values above 0db even if the material they were encoded from did not, so the result that you get is not surprising to me.

normalizing - something already peaking above 0.0dB

Reply #7
I'm pretty sure Audition detects inter-sample overs.  I'm also pretty sure that it doesn't make allowances for mp3s with peak values that exceed 0dB FS.

normalizing - something already peaking above 0.0dB

Reply #8
Quote
Some were MP3 and some were WAV.
  ...I missed that.  Yes, decoded MP3s can have sample values above 0dBFS.

normalizing - something already peaking above 0.0dB

Reply #9
Quote
It would be nice if software would do the calculations pdq is talking about. Most don't - they just look for the largest sample value in the file and scale everything up so that the largest sample is at full scale. This is wrong but not hugely wrong.

That depends what you want to achieve. I think that for most applications it's irrelevant whether the level of the reconstructed analog signal would exceed 0db between sample points because the reconstruction filters should have no problem with that case.

And let's not forget that regardless of how you calculate peak values, normalizing to the highest peak is a lousy way to adjust the loudness of your files. The only case that I can think of where it might make sense to do such normalization is if one is processing audio data and is limited to 16 bit integers, so you want to maximize the available dynamic range.

normalizing - something already peaking above 0.0dB

Reply #10
Quote
It would be nice if software would do the calculations pdq is talking about. Most don't - they just look for the largest sample value in the file and scale everything up so that the largest sample is at full scale. This is wrong but not hugely wrong.

That depends what you want to achieve. I think that for most applications it's irrelevant whether the level of the reconstructed analog signal would exceed 0db between sample points because the reconstruction filters should have no problem with that case.

And let's not forget that regardless of how you calculate peak values, normalizing to the highest peak is a lousy way to adjust the loudness of your files. The only case that I can think of where it might make sense to do such normalization is if one is processing audio data and is limited to 16 bit integers, so you want to maximize the available dynamic range.


Thanks for all the bits of info guys...
Yeah I know there's no point normalizing any file which is originally already so close to 0.0dB, but as I said in one of my first posts those particular files were in a batch of quite a few files which I normalized because a lot of them were far below 0.0dB (eg. so I normalized all the files I wanted to put on a CD as a whole batch), and didn't even notice there were files so close to 0.0dB until after I had done so...

After I noticed that I just wanted to know what the process/circumstance I described was technically doing to the file - now I know at worse it was probably clipping .4dB
I guess it's no big deal, it's just a CD for my personal use, nothing of importance that needed technically correct editing, and as a few guys said in this thread, if it has clipped .4dB I guess no human ear will ever be able to detect it anyay !

Cheers


normalizing - something already peaking above 0.0dB

Reply #11
It is possible for a digital file to have no data points greater than full scale, but when converted to analog and lowpassed, to exceed full scale. Perhaps that is what is going on, i.e. the software that is calculating peak value is calculating true analog peak value, rather than maximum digital value?

BTW, normalizing to the highest peak value is a terible way to adjust your files.


I don't understand why you think normalizing a song so the file is max volume without clipping is so terrible ?
Maybe you're being extremely technical, because I'm sure apart from the volume being raised nobodys ears will be able to detect any error in sound or notice any missing dynamics...
*I respect that 'technically' it's not the greatest thing, but there's really not going to be any 'audible' negative effect is there?

normalizing - something already peaking above 0.0dB

Reply #12
It is possible for a digital file to have no data points greater than full scale, but when converted to analog and lowpassed, to exceed full scale. Perhaps that is what is going on, i.e. the software that is calculating peak value is calculating true analog peak value, rather than maximum digital value?

BTW, normalizing to the highest peak value is a terible way to adjust your files.


I don't understand why you think normalizing a song so the file is max volume without clipping is so terrible ?
Maybe you're being extremely technical, because I'm sure apart from the volume being raised nobodys ears will be able to detect any error in sound or notice any missing dynamics...
*I respect that 'technically' it's not the greatest thing, but there's really not going to be any 'audible' negative effect is there?


I think pdq means that you normally want to adjust the volume of the songs on a compilation CD so that they have a similar perceived loudness, and normalizing is not good at achieving that. Songs with low dynamic range will end up much louder than those with high dynamic range if you just go by peak value.

normalizing - something already peaking above 0.0dB

Reply #13
It is possible for a digital file to have no data points greater than full scale, but when converted to analog and lowpassed, to exceed full scale. Perhaps that is what is going on, i.e. the software that is calculating peak value is calculating true analog peak value, rather than maximum digital value?

BTW, normalizing to the highest peak value is a terible way to adjust your files.


I don't understand why you think normalizing a song so the file is max volume without clipping is so terrible ?
Maybe you're being extremely technical, because I'm sure apart from the volume being raised nobodys ears will be able to detect any error in sound or notice any missing dynamics...
*I respect that 'technically' it's not the greatest thing, but there's really not going to be any 'audible' negative effect is there?


I think pdq means that you normally want to adjust the volume of the songs on a compilation CD so that they have a similar perceived loudness, and normalizing is not good at achieving that. Songs with low dynamic range will end up much louder than those with high dynamic range if you just go by peak value.


Yeah that's true, it would be a big problem if all the songs were from the same album which had been mixed / produced like that, but it's just a compilation I've made of all sorts of bits and pieces so that's not really a problem.

normalizing - something already peaking above 0.0dB

Reply #14
...and that's precisely why it is not a good idea.  Of all those bits and pieces, how do you know they were recorded/mixed/mastered with the same EQ settings and dynamic range compression in order to provide equal loudness through peak normalization?

normalizing - something already peaking above 0.0dB

Reply #15
...and that's precisely why it is not a good idea.  Of all those bits and pieces, how do you know they were recorded/mixed/mastered with the same EQ settings and dynamic range compression in order to provide equal loudness through peak normalization?


If they are from different sources they are obviously not recorded / mixed / mastered / equalized the same way, therefore leaving them at the original volume they will never have equal loudness anyway...
By normalizing all the files individually I'm not trying to achieve "equal" loudness across all tracks, I'm doing it so each track is as loud as it can be without clipping, the only thing that is doing is raising the volume (just as a volume knob does).
Reason for doing so is the CD I've made is being played on a very low powered / volume system and some of the original files were extremely low volume, so the normalizing process is for nothing other than to achieve the highest volume of each individual track withouth clipping.


 

normalizing - something already peaking above 0.0dB

Reply #17
So you're left adjusting volume between tracks, whereas with a replaygain-based approach you won't have this problem.


It worked out without having to adjust volume between tracks, they're all from the same band (but different albums / sources etc), and all pretty loud type songs, so it worked out...
Thanks again for all your opinions / info guys.

normalizing - something already peaking above 0.0dB

Reply #18
It would be nice if software would do the calculations pdq is talking about. Most don't - they just look for the largest sample value in the file and scale everything up so that the largest sample is at full scale. This is wrong but not hugely wrong. I don't know what Adobe Audition does. bombers explanation is probably more likely. The peak value of an encoded file is more difficult to predict.

In any case, you have no business normalizing files that are already this close to full scale. Nothing good will come of it.


+1
Personally i think your post is undervalued. Moreover most of the files around already trade the audio details for raw pressure power. Take those chinese mp3's for the local cellphones market, they do bring 10x power for Real out of nothing, in exchange of zero dynamic range and having details raped off - who care. The communist anthem must dominate in city traffic lol. Ok, take another example, i'll assure you the Russian audio market was ruined because of license media with overpowered audio levels and not because of folks criminal intensions. Ideally no additional processing needed after finalization stage on the record studio. All the normalizing by the user himself is the freaking sin. The main problem is, the equal loudness can't be achived because the effective loudness for some files already above 0.0db! What i'm doing in my own practice is lowering the audio level of the overpowered files down to 60-80% to make the listening experience somewhat uniform and comfortable while leaving the rest of files (the "normal" ones) alone.
maiko.elementfx.com

normalizing - something already peaking above 0.0dB

Reply #19
It would be nice if software would do the calculations pdq is talking about. Most don't - they just look for the largest sample value in the file and scale everything up so that the largest sample is at full scale. This is wrong but not hugely wrong. I don't know what Adobe Audition does. bombers explanation is probably more likely. The peak value of an encoded file is more difficult to predict.

In any case, you have no business normalizing files that are already this close to full scale. Nothing good will come of it.


+1
Personally i think your post is undervalued. Moreover most of the files around already trade the audio details for raw pressure power. Take those chinese mp3's for the local cellphones market, they do bring 10x power for Real out of nothing, in exchange of zero dynamic range and having details raped off - who care. The communist anthem must dominate in city traffic lol. Ok, take another example, i'll assure you the Russian audio market was ruined because of license media with overpowered audio levels and not because of folks criminal intensions. Ideally no additional processing needed after finalization stage on the record studio. All the normalizing by the user himself is the freaking sin. The main problem is, the equal loudness can't be achived because the effective loudness for some files already above 0.0db! What i'm doing in my own practice is lowering the audio level of the overpowered files down to 60-80% to make the listening experience somewhat uniform and comfortable while leaving the rest of files (the "normal" ones) alone.


Are we entering here into "loudness war" territory ?, I think the loud volume a lot of bands this day and age are mastering their studio albums at, and the reasons why is inexcusable total garbage, I can't believe some of the so called "professional" artists who have lowered their standards by conforming to that crap.

normalizing - something already peaking above 0.0dB

Reply #20
... I'm also pretty sure that it doesn't make allowances for mp3s with peak values that exceed 0dB FS.


IIRC from the times of CoolEdit Pro, that entirely depended on actual plugin used for mp3 decoding. Maybe some (default out of the box) plugin cuts them to 16-bit integers (and so clips to 0dBFS).