Dynamic range meter

Hugo Villanova's icon

Hello, anyone knows how to create a meter to display the dynamic range? I already build a rms meter using average and expr... But im a little bit lost to create a dynamic range...similar to what i did to create de rms meter(see image) . Can you please help me?

Roman Thilenius's icon

define "range".

Hugo Villanova's icon

The proper term is crest factor, or peak to average ratio. thank you

Roman Thilenius's icon

i was asking because you can basically use what you want.

if peak to average is what you have chosen, peakamp~ followed by a rampsmooth~ & then substract the power history based on avg~ in RMS mode, should be one way how to start.

Hugo Villanova's icon

Thank you!!! I'll try that