Oversampling compression - necessary for mild/clean compression?
-
- KVRAF
- 1580 posts since 22 Apr, 2011 from The House of Zaid
How important is it to oversample if for example you are just using a clean compressor and doing like 2-4db gain reduction? Do you feel like you should oversample all compression or is it only necessary when doing deep compression with lots of gain reduction?
Thanks!
(trying to get an overall cleaner sound on my next batch of recordings, don't want to overdo it though at the expense of unnecessary wasted cpu and long rendering times etc... trying to find a balance here between a clean sound, and being able to get stuff done quickly (and at zero latency whenever possible))
Thanks!
(trying to get an overall cleaner sound on my next batch of recordings, don't want to overdo it though at the expense of unnecessary wasted cpu and long rendering times etc... trying to find a balance here between a clean sound, and being able to get stuff done quickly (and at zero latency whenever possible))
- KVRAF
- 2750 posts since 2 Feb, 2005 from Raincoast of Grayland
I'd say, in a word, no. That's not much GR.
With such small reduction, maybe you don't need a compressor at all.
Too radical, ok, maybe you need 5-10 compressors (buy them all) in series doing .5dB GR each with 8X oversampling.
Maybe you just need a clean limiter - with infinite oversampling, of course. Don't worry about the latency - that's your great great grand kids kid's problem.
With such small reduction, maybe you don't need a compressor at all.
Too radical, ok, maybe you need 5-10 compressors (buy them all) in series doing .5dB GR each with 8X oversampling.
Maybe you just need a clean limiter - with infinite oversampling, of course. Don't worry about the latency - that's your great great grand kids kid's problem.
perception: the stuff reality is made of.
-
- KVRAF
- 5139 posts since 27 Jun, 2004
You don't have to feel anything else, just listen@midnight wrote:How important is it to oversample if for example you are just using a clean compressor and doing like 2-4db gain reduction? Do you feel like you should oversample all compression or is it only necessary when doing deep compression with lots of gain reduction?
"Music is spiritual. The music business is not." - Claudio Monteverdi
-
- KVRian
- 806 posts since 21 Sep, 2008
Which one is that?Shy wrote: There's a very "clean" sounding compressor that does extensive oversampling (not selectable), but you wouldn't like its 2122 samples long latency.
- KVRAF
- 12615 posts since 7 Dec, 2004
oversampling doesn't even have much of an effect until you start to get into major hard-clipping territory.
there are going to be minor differences with high-frequency content but it just isn't that important in the general case.
try for example running a drum loop through a compressor without oversampling. run it at 44.1k, then try it at 192k. can you hear major differences?
i wouldn't expect you could hear any difference.
("general case" doesn't include high frequency synth leads designed to test this kind of issue.)
there are going to be minor differences with high-frequency content but it just isn't that important in the general case.
try for example running a drum loop through a compressor without oversampling. run it at 44.1k, then try it at 192k. can you hear major differences?
i wouldn't expect you could hear any difference.
("general case" doesn't include high frequency synth leads designed to test this kind of issue.)
Free plug-ins for Windows, MacOS and Linux. Xhip Synthesizer v8.0 and Xhip Effects Bundle v6.7.
The coder's credo: We believe our work is neither clever nor difficult; it is done because we thought it would be easy.
Work less; get more done.
The coder's credo: We believe our work is neither clever nor difficult; it is done because we thought it would be easy.
Work less; get more done.
- KVRAF
- 14103 posts since 20 Nov, 2003 from Lost and Spaced
I noticed JCompshaper has oversampling on it. What does it do? (Besides chew up CPU)
-
tony tony chopper tony tony chopper https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=3103
- KVRAF
- 3561 posts since 20 Jun, 2002
A compressor normally has a smooth enough envelope, so hardly any high freq in it. In theory 2x oversampling would be useful (I've seen higher oversampling in some compressors, never understood why), but in practice I never noticed any difference. On the contrary, when used as a limiter it's more a problem.
DOLPH WILL PWNZ0R J00r LAWZ!!!!
-
- KVRian
- 639 posts since 19 Apr, 2007 from Frankfurt, Germany
oversampling is not the answer in this case
well, actually it is an answer but a very weak one ...
well, actually it is an answer but a very weak one ...
- KVRAF
- 12615 posts since 7 Dec, 2004
if you're using your compressor to hard-compress a signal at -48db with very short attack/release times, oversampling is the answer.
http://soundcloud.com/aciddose/example-hardcompress
with just the kick in there it isn't an issue. you can see the harmonics are generated up to about 30th though. insert some hihats or other high-frequency components like conga or whatever and boom, aliasing madness.
oversampling by 4x to 16x will fix this.
http://soundcloud.com/aciddose/example-hardcompress
with just the kick in there it isn't an issue. you can see the harmonics are generated up to about 30th though. insert some hihats or other high-frequency components like conga or whatever and boom, aliasing madness.
oversampling by 4x to 16x will fix this.
Free plug-ins for Windows, MacOS and Linux. Xhip Synthesizer v8.0 and Xhip Effects Bundle v6.7.
The coder's credo: We believe our work is neither clever nor difficult; it is done because we thought it would be easy.
Work less; get more done.
The coder's credo: We believe our work is neither clever nor difficult; it is done because we thought it would be easy.
Work less; get more done.
-
- KVRian
- 639 posts since 19 Apr, 2007 from Frankfurt, Germany
- KVRAF
- 12615 posts since 7 Dec, 2004
sure. what other answer would you have then? you're processing an input where the fractional information is not available. do you suggest estimating? the source of the issue is that you're applying a simple non-linear function. what do you suggest to apply when anti-aliasing f(x)=x(2-|x|) ?
oversampling is the most CPU-efficient solution, and it works.
another solution would be "don't do that", the problem is though that some people do.
oversampling is the most CPU-efficient solution, and it works.
another solution would be "don't do that", the problem is though that some people do.
Free plug-ins for Windows, MacOS and Linux. Xhip Synthesizer v8.0 and Xhip Effects Bundle v6.7.
The coder's credo: We believe our work is neither clever nor difficult; it is done because we thought it would be easy.
Work less; get more done.
The coder's credo: We believe our work is neither clever nor difficult; it is done because we thought it would be easy.
Work less; get more done.
-
- KVRAF
- Topic Starter
- 1580 posts since 22 Apr, 2011 from The House of Zaid
how much gain reduction there?aciddose wrote:if you're using your compressor to hard-compress a signal at -48db with very short attack/release times, oversampling is the answer.
http://soundcloud.com/aciddose/example-hardcompress
with just the kick in there it isn't an issue. you can see the harmonics are generated up to about 30th though. insert some hihats or other high-frequency components like conga or whatever and boom, aliasing madness.
oversampling by 4x to 16x will fix this.
- KVRAF
- 12615 posts since 7 Dec, 2004
-48db. attack = 0.05ms, release = 2.5ms, non-linear application.
the compressor is modeled after a circuit i designed and it works perfectly. any arguments about "wah wah, intermodulation-distortion, blah blah blah" are 100% horseshit.
the distortion and modulation are intentional and desirable. the aliasing is the undesirable component.
the compressor is modeled after a circuit i designed and it works perfectly. any arguments about "wah wah, intermodulation-distortion, blah blah blah" are 100% horseshit.
the distortion and modulation are intentional and desirable. the aliasing is the undesirable component.
Free plug-ins for Windows, MacOS and Linux. Xhip Synthesizer v8.0 and Xhip Effects Bundle v6.7.
The coder's credo: We believe our work is neither clever nor difficult; it is done because we thought it would be easy.
Work less; get more done.
The coder's credo: We believe our work is neither clever nor difficult; it is done because we thought it would be easy.
Work less; get more done.

