CALF limiter: oversampling?

All your LV2 and LADSPA goodness and more.

Moderators: MattKingUSA, khz

Post Reply
User avatar
bluebell
Established Member
Posts: 1924
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 112 times
Been thanked: 119 times

CALF limiter: oversampling?

Post by bluebell »

Hi all,

CALF limiter offers oversampling from 1 to 4. What is this good for? Does it process the signal somewhat cleaner? If yes, why? Do they interpolate somewhere?

Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/

bazsound
Established Member
Posts: 480
Joined: Sat Aug 03, 2013 11:46 am

Re: CALF limiter: oversampling?

Post by bazsound »

Im not quite sure, i just adjust it to what i think sounds better
diizy
Established Member
Posts: 105
Joined: Tue Feb 04, 2014 2:48 am

Re: CALF limiter: oversampling?

Post by diizy »

Oversampling is pretty much exactly what it sounds like. The incoming signal is sampled several times for each actual sample.

This means if the incoming signal is 44.1khz, and you oversample at 2x, then the effect is effectively processed with 88.2khz samplerate, and the output signal is then interpolated back to 44.1khz.

Higher oversampling ratio causes higher CPU consumption, but also increased accuracy in processing.
User avatar
bluebell
Established Member
Posts: 1924
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 112 times
Been thanked: 119 times

Re: CALF limiter: oversampling?

Post by bluebell »

I think I found something explaining: http://www.fabfilter.com/help/pro-l/usi ... pling.html

So my conclusion is:
- Short lookahead AND medium or heavy limiting -> oversampling advisable
- Several ms lookahead AND no or only slight limiting -> oversampling not needed

I uses CALF limiter in each track as preamp/gain and "just in case" there could be some peaks. So oversampling is not needed in my case I guess.

P.S.: I like the CALF tools because of their graphical display. I can easily see overdrive levels and limiters' and compressors' gain reduction. That's a big help especially for beginners using those tools.

Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/

User avatar
AlexTheBassist
Established Member
Posts: 353
Joined: Mon May 19, 2014 3:44 am
Location: Russia, Moscow
Been thanked: 1 time

Re: CALF limiter: oversampling?

Post by AlexTheBassist »

Oversampling is something like antialiasing. It helps to lower or eliminate distortion in limited signal.
Being creative does not imply being lazy, stupid, or illiterate.

Working in Harrison Mixbus and Ardour on KDE Neon + KXStudio.
ssj71
Established Member
Posts: 1294
Joined: Tue Sep 25, 2012 6:36 pm
Has thanked: 1 time

Re: CALF limiter: oversampling?

Post by ssj71 »

Sorry guys, but I can help talk some science!

severely limiting/compressing a signal has the result of modulating the amplitude (or "size") of the signal. Amplitude modulation (similar to frequency modulation) creates "lobes" or copies of the frequency content on both sides of the original content, meaning it adds harmonics above what was previously there. So modulating a signal that is just under the nyquist frequency will result in creating frequency content above the nyquist frequency which of course aliases. The more/higher harmonics in your modulating signal the more that gets aliased, so heavy limiting is going to modulate the signal quickly (aka with high frequency modulation) aliasing a lot, softer limiting won't do it noticeably. So if it sounds bad in level matched a/b testing then bump up the oversampling. This effectively raises the nyquist frequency before the modulation without adding any frequency content to either of the signals, so once the modulation (limiting) is applied theres a lot more breathing room for harmonics to be added in without aliasing. These upper frequencies won't ever be heard by a human, and they get filtered out when downsampling back to the output sample rate which is much better than aliasing them back into the audible spectrum.

Ask me questions if it doesn't make sense. I LOVE talking DSP. :D

So, ya, exactly what everyone else said, with some extra explanation.
_ssj71

music: https://soundcloud.com/ssj71
My plugins are Infamous! http://ssj71.github.io/infamousPlugins
I just want to get back to making music!
User avatar
lucianodato
Established Member
Posts: 156
Joined: Sat May 15, 2010 9:00 pm
Has thanked: 3 times
Been thanked: 16 times

Re: CALF limiter: oversampling?

Post by lucianodato »

I requested this feature because of intersample peak distortion that often happens when heavy limiting takes place.
Arguy (IRC)
bazsound
Established Member
Posts: 480
Joined: Sat Aug 03, 2013 11:46 am

Re: CALF limiter: oversampling?

Post by bazsound »

bluebell wrote:I think I found something explaining: http://www.fabfilter.com/help/pro-l/usi ... pling.html

So my conclusion is:
- Short lookahead AND medium or heavy limiting -> oversampling advisable
- Several ms lookahead AND no or only slight limiting -> oversampling not needed

I uses CALF limiter in each track as preamp/gain and "just in case" there could be some peaks. So oversampling is not needed in my case I guess.

P.S.: I like the CALF tools because of their graphical display. I can easily see overdrive levels and limiters' and compressors' gain reduction. That's a big help especially for beginners using those tools.
interesting use but does it effect the recorded file or is it just inserted on the track and doesnt effect the recording.

ive wondered that, as if you use processing on anolugue inserts it gets to the recorder, is the same true for ardour
User avatar
bluebell
Established Member
Posts: 1924
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 112 times
Been thanked: 119 times

Re: CALF limiter: oversampling?

Post by bluebell »

It would affect recording if the signal went through an audio bus and the limiter was in the input-section, I guess.

But both with Qtractor and Rosegarden I record audio with Audacity while Qtractor/Rosegarden is playing the needed part in a loop. After recording I pick the best take in Audacity, save the wav-file and import it in Qtractor/Rosegarden. That's my personal workflow.

Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/

Post Reply