conduit icon indicating copy to clipboard operation
conduit copied to clipboard

How to eliminate clipping?

Open mailinglists35 opened this issue 3 years ago • 2 comments

Hi,

I found your repo via this blog article, where compress/normalize/limit settings from conduit.liq are shown as example.

I like the result overall, even if I am misusing it by applying to an internet radio on the receiving end as a listener, but too frequently I notice clipping.

Could you suggest adjustments for the compress/normalize/limit parameters that would soften or eliminate the clipping completely?

Thank you!

mailinglists35 avatar Dec 28 '22 02:12 mailinglists35

processed result: sample.zip

source stream sound: http://89.238.227.6:8006/

mailinglists35 avatar Dec 28 '22 02:12 mailinglists35

Hi, I'm afraid the last time I worked with Liquidsoap was about a decade ago; my suggestion would be to reduce the input gain to avoid clipping. If you're using ALSA as an input this can be done with alsamixer, or you could put an amplify call in with negative gain (e.g. 0.8) prior to the compression.

Looking back on this a decade later, I'd drop the second stage compressor and just use the multiband (or vice versa if you want a more neutral effect).

JamesHarrison avatar Dec 29 '22 01:12 JamesHarrison