Guermantes
Senior Member
For those who may be interested in how the "dynamic range" (DR) is calculated at the Dynamic Range website, the algorithm is here.
Note, the banner at the site intimates that perhaps this algorithm has been retired?
The algorithm divides a track into 3 second buckets, calculates RMS and peak values for each bucket, then considers the top (loudest) 20% of the RMS signal range for its final output value.
It has been discussed elsewhere (maybe here too?) that this algorithm is more of a crest factor than a dynamic range indicator.
It's my understanding that, as such, it is more of a worst case figure.
Still, it is at least some figure of merit. As in, better than nothing.
And if it has had any influence in producers releasing less squashed tracks, IMO that's a very good thing.
That is different to the algorithm used to calculate the LU Range (LRA) in standard loudness meters -- I had thought they may be equivalent. The DR and LRA both use a 3 second window but the LRA has cascaded gating that eliminates quieter sounds from the calculation.
From the EBU tech note https://tech.ebu.ch/docs/tech/tech3342.pdf:
A cascaded gating scheme is employed which uses an absolute threshold of very low level, in combination with a relative threshold of higher, signal-dependent, level.
The purpose of the relative-threshold gating is to gate out any periods of silence or background sounds, using a method that is independent of any level-normalisation of the input signal. The lower edge of Loudness Range should not be defined by the noise floor (which may be inaudible), but should instead correspond to the weakest ‘real’ signal. The relative threshold is set to a level of −20 LU relative to the absolute-gated loudness level. The purpose of the absolute-threshold gate is to make the conversion from the relative threshold to an absolute level robust against longer periods of silence or low-level background noise. The absolute threshold is set to −70 LUFS, because no relevant signals are generally found below this loudness level.
It is noted that measurement of very short programmes, where leading or trailing silence is included, or of programmes consisting, for example, of isolated utterances, could result in misleadingly high values of LRA.
The application of the cascaded gating leaves only the loudness levels of the sliding-window blocks that contain foreground and (medium-level) background sounds, eliminating low-level signals, background noise, and silence. The width of the distribution of these loudness levels is then quantified using a percentile range. Percentiles belong to non-parametric statistics and are employed in the computation of Loudness Range because the loudness levels cannot in general be assumed to belong to a particular statistical distribution.
LRA is defined as the difference between the estimates of the 10th and the 95th percentiles of the distribution. The lower percentile of 10%, can, for example, prevent the fade-out of a music track from dominating Loudness Range. The upper percentile of 95% ensures that a single unusually loud sound, such as a gunshot in a movie, cannot by itself be responsible for a large Loudness Range.