Wave folding is a type of wave shaper that creates complex, harmonically rich waveforms. It is often employed in modular synthesizers and is also used in some FM and Wavetable synthesizers.
When the input amplitude of a waveform exceeds a threshold, it usually clips, but in wave folding, it folds back on itself. This folding action amplifies and distorts the peaks and valleys of the waveform, introducing new harmonic content. As a result, the output waveform becomes more complex and intricate with added harmonic and tonal changes.
Wavefolding implementation in Octave -1-
By inputting a waveform with an amplitude exceeding the threshold value into the sine function, the input waveform is wavefoldong.
Example of how to create a Wavetable with a folding sine wave
Wavefolding implementation in Octave -2-
Waveshaping can change the waveform asymmetrically by adding to or subtracting from the input waveform and changing the vertical axis of the waveform.
Wavefolding with FM Synth