Wavefolding?

DSP, Plug-in and Host development discussion.
User avatar
aciddose
KVRAF
11941 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:
https://www.desmos.com/calculator/asvgc9qxmr

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”