21
3rd Party Plugins - (fb2k) / Re: foo_truepeak True Peak Scanner
Last post by Defender -@Case is there a dB threshold where one can expect to hear this clipping? That is about the only way I think one could present this into a concise single value, well maybe 2 values. One being total clips and one being clips beyond a certain dB threhold.IMO you should normalize total clipping samples also for tracklength/albumlength and samplerate. I now normalize to 44kHz/16bit and show the amount of seconds of clipping per hour. Your remark about dB threshold is of course completely valid and something I struggle(d) with too.
I colorcode the resulting seconds per hour completely arbitrary:
Code: [Select]
$puts(cht.raw,[%truepeak_scanner_clipped_samples_track%])
$if($get(cht.raw),
$ifgreater($get(cht.raw),0,
$puts(cht.cph_samples, $muldiv($get(cht.raw)000000,3600,%length_seconds_fp%)) $puts(cmt, Clipped samples per hour times 1000000)
$puts(cht.cph_seconds, $div($get(cht.cph_samples),%samplerate%)) $puts(cmt, Clipped seconds per hour times 1000000)
$puts(round.raw,000000$trim($get(cht.cph_seconds)))
$puts(round.value,$add(0,$cut($get(round.raw),$sub($len($get(round.raw)),6))).$right($get(round.raw),6))
$puts(cht.val,%CODE.ROUND3%$get(round.result))
$puts(cht.cd,CH-$get(cht.val)s)
$puts(cht.max,99.999)
$ifgreater($get(cht.val),$get(cht.max),
$puts(cht.cd,CH-$get(cht.max)M)
$puts(col.cht, %COL.RED%)
,
$ifgreater($get(cht.val),19,
$puts(col.cht, %COL.RED%)
,
$ifgreater($get(cht.val),9,
$puts(col.cht, %COL.ORANGE%)
,
$ifgreater($get(cht.val),0,
$puts(col.cht, %COL.YELLOW%)
,
$puts(col.cht, %COL.GREEN%)
))))
,
$puts(cht.cd,CH-NONE) $puts(col.cht, %COL.GREEN%)
)
,
$puts(cht.cd,CH-N/A) $puts(col.cht, %COL.YELLOW%)
)