DSP, Plug-in and Host development discussion.
User avatar
12118 posts since 7 Dec, 2004

Post Thu May 17, 2018 2:36 pm

Here is an example that implements the same function as abs/round/etc but does so using only a second order function:

Since this is second order we only need 2^3 (8x) oversampling.

Unfortunately however we use abs() which makes the true order infinite since any derivative crossing 0 is suddenly inverted. I'm not sure if it's possible to get a satisfactory result using low order functions that looks similar enough to those based upon abs()/round() as desired here. The only difference though is that the generated harmonics are 1/2 amplitude in the round() function and so very similar results are possible through a simple wet/dry mix with 1/2 wet.
Free plug-ins for Windows, MacOS and Linux. Xhip Synthesizer v8.0 and Xhip Effects Bundle v6.7.

Return to “DSP and Plug-in Development”