<div dir="ltr"><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-05 15:13 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Tue, Aug 05, 2014 at 02:37:53PM +0200, Raffaele Morelli wrote:<br>
<br>
> is there any linux tool which can produce plots like this?<br>
> <a href="http://i46.tinypic.com/351iyqq.jpg" target="_blank">http://i46.tinypic.com/351iyqq.jpg</a><br>
<br>
</div>ebur128 can do it, if you change one line:<br>
<br>
Change line 218 int ebur128.cc to<br>
<br>
     fprintf (F, "%5.1lf %8.6lf %8.6lf %6d %6d\n", v, nm / km, ns / ks, hm [i], hs [i]);<br>
<br>
recompile and install. Then<br>
<br>
  ebur128 --prob --lufs somefile.wav<br>
<br>
and then in gnuplot<br>
<br>
  plot 'ebur128-prob' u 1:4 w i lt 3<br>
<br>
or<br>
<br>
  plot 'ebur128-prob' u 1:5 w i lt 3<br>
<br>
Ciao,</blockquote><div><br><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;display:inline">​Ok, works but I have a couple of question.<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;display:inline">
<br>I see only 751 records in the outfile. How ebur128 works? Is the file scanned entirely and how?<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;display:inline"></div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;display:inline">/r<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;display:inline">
PS apologize but I can't dig into C code :-(<br></div></div></div></div></div>