<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2014-08-05 16:49 GMT+02:00 Fons Adriaensen <span dir="ltr"><<a href="mailto:fons@linuxaudio.org" target="_blank">fons@linuxaudio.org</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="">On Tue, Aug 05, 2014 at 04:23:23PM +0200, Raffaele Morelli wrote:<br>
<br>
> Ok, works but I have a couple of question.<br>
><br>
> I see only 751 records in the outfile. How ebur128 works? Is the file<br>
> scanned entirely and how?<br>
<br>
</div>Yes, the entire audio file is processed. Internally ebumeter and ebur128<br>
compute two histograms, each consisting of 751 bins from -70 to +5 dB in<br>
steps of 0.1 dB.<br>
<br>
The first histogram is the 'momentary' loudness, the average over<br>
a sliding window of 400 ms. The second is the 'short-term' loudness,<br>
computed using a sliding window of 3 seconds.<br>
<br>
The histograms are then used to compute average loudness and<br>
loudness range according to the EBU-R128 standard. Ebumeter<br>
will show them in real-time.<br>
<br>
For the details, see my LAC 2011 paper which you can find here:<br>
<<a href="http://kokkinizita.linuxaudio.org/papers/index.html" target="_blank">http://kokkinizita.linuxaudio.org/papers/index.html</a>>.<br>
<br>
The output file of ebur128 consists of five columns:<br>
<br>
1. X-axis, level in dB<br>
2. Cumulative probability of the momentary loudness, this is<br>
   the histogram integrated and normalised to 1. In other words<br>
   the probability that the level is less than the X-axis value.<br>
3. Same for the short-term loudness.<br>
4. The momentary loudness histogram, counts for each bin.<br>
5. Same for the short-term loudnes.<br>
<br>
The gnuplot commands I posted will plot 1 vs 4 or 1 vs 5.<br>
<div class=""><div class="h5"><br>
Ciao,<br>
<br>
--<br>
F<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;display:inline">​A</div></div></div></blockquote><div><br><br><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;display:inline">
​Great tool, I finally leaved it untouched as cumulative probability it's enough for the scope*.<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;display:inline"><br>My 0.02€: I would suggest to add a cli option for output filename, leaving 'ebur128-prob' as default if none is specified <br>
</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;display:inline"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;display:inline">
ciao<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;display:inline">/r<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;display:inline">
<br>* In the beginning of CD era it was common (I guess) to have album released as they were on CD, lately we see more an more re-master editions of the same material (plus something else that never made the original recording). <br>
My curiosity is to "investigate" on the dynamic range of both releases.<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;display:inline"><br></div></div></div>
</div></div>