Wavefolder
EffectswavefolderLight CPU
West-coast folding distortion. Gain drives the fold amount.
What it does
Folds peaks back on themselves for west-coast harmonics.
Wraps daisysp::Wavefolder. Offset is set once at init; Gain is audio-rate so the port can be modulated. Input level determines how hard it folds.
Parameters
-
Gain
gainHow hard the signal is driven into the folder, and therefore the whole character of the effect. Below 1 nothing folds and the tile passes audio through; above it, peaks that exceed full scale are reflected back down instead of clipping, and each new fold adds another burst of harmonics. Unlike distortion this gets brighter and more complex rather than simply louder, so it is worth sweeping. Negative values invert the signal as well as scaling it. Per-sample, so an envelope on this port is the classic way to play it.
-
Offset
offsetShifts the signal up or down before it is folded, which makes the folding asymmetric. At 0 the waveform folds equally on both halves and produces mostly odd harmonics; offsetting it makes the two halves fold differently, which brings in even harmonics and a brighter, more vocal tone. ⚠ Baked at build time. It also leaves DC on the output, so follow the tile with a DC Block.
Amplitudes above 1.0 fold back — push Gain up (or feed a hot signal) for more harmonics. Offset (baked at init) biases the fold for asymmetric, brighter timbres. Pairs with an Oscillator + Mixer; follow with DC Block to recentre.
Ports
In
-
Audio In
input -
Gain
gain
Out
-
Audio Out
output
Audio Control
Inputs
- Audio In
- Source — a clean osc folds best.
- Gain
- Pre-fold input gain (negative = thru-zero).
Outputs
- Audio Out
- Folded signal.