0 Members and 1 Guest are viewing this topic.

## Loudness normalizing spreadsheet for compilations

##### 2014-02-06 21:01:41
Level mix compilation based on very dynamic track?

Simple spreadsheet to help with compilations where very dynamic tracks are mixed with various others (compressed or high levels). This will re-figure ReplayGain Track gain to level the perceived loudness for the entire compilation without clipping the most dynamic track.

## Loudness normalizing spreadsheet for compilations

##### Reply #1 – 2014-03-02 18:51:17
Due to some serious misunderstandings on my part (ReplayGain's "Peak_Value" tag being an integer value for one), this needed some major revisions. If anyone tried it out with say, an MP3 that goes over full scale, it would totally break.. I finally had the chance to properly try it out this weekend and noticed it was mostly broken unless the tracks met a certain criteria. Not really useful, in other words!

Changes include:
- integer to dB conversion column (still not sure I have the excel syntax right for that formula, it works now from what I can tell).
- adjusted peak value in dB clolumn
- some corrected formulas and formatting

## Loudness normalizing spreadsheet for compilations

##### Reply #2 – 2014-03-03 10:42:27
Hot Soup,

The task is pretty straightforward: Figure out what the track peaks would be after applying ReplayGain, then reduce all the ReplayGain values to avoid clipping the track with the highest peak. Your spreadsheet isn't doing this.

Starting with a blank sheet, the spreadsheet needs these columns:

A
(optional) track name / number

B
ReplayGain track gain

C
ReplayGain track peak

D
peak in dBFS.
e.g. cell D3 is "=20*LOG(C3)"

E
peak in dBFS after ReplayGain.
e.g. cell E3 is "=B3+D3"

F
maximum peak in dBFS after ReplayGain
cell F3 is "=MAX(E\$3:E\$102)"

G
new ReplayGain track gain
e.g. cell G3 is "=B3-\$F\$3"

That's it.

If the "maximum peak after ReplayGain" is less than 0, you don't need to do anything to avoid clipping because the original values did not clip - but in this case using the new values calculated by the spreadsheet will increase the loudness of a compilation that wasn't going to clip.

Some people prefer to leave a little headroom between the peak sample amplitude and digital full scale. If so, just add Headroom like this...

I have a feeling you can express this in Excel more elegantly than I can.

Hope this helps.

Cheers,
David.

P.S. if you want to check the resulting track peaks, you can add...
H
new peak in dBFS
e.g. cell H3 is "=G3+D3"

I
new peak
e.g. cell I3 is "=10^(H3/20)"

## Loudness normalizing spreadsheet for compilations

##### Reply #3 – 2014-03-03 15:45:10
Wow. Yes, I can see I still didn't really grasp this. And what's more, it's embarrassing to have spent the time making a tool to help, only to have that further aid in my confusion. But thanks!!! I think I have it cleaned up now.

New version courtesy of 2Bdecided, with some cell formatting done by me.
*facepalm*

## Loudness normalizing spreadsheet for compilations

##### Reply #4 – 2014-03-03 17:39:00
- removed some embedded properties

This should be the last version. If a moderator could delete previous versions, I'd appreciate it.
Thanks for everyone's help.

## Loudness normalizing spreadsheet for compilations

##### Reply #5 – 2014-12-13 17:20:51
The Christmas season always demands more compilations. I've revisited this spreadsheet tool and found it was easier to use ReplayGain plus preamp gain to slide a compilation up or down, instead of recalculating each track's gain and manually editing the RG metadata.

And who doesn't love spreadsheets, am I right?

New this version
- simplified entry: enter desired headroom and a preamp value is calculated for you.
- expanded collection size for much larger compilations, if desired.

Hopefully someone might still find this useful.