sclip()

sclip(input, amount)

Category

Oscillator / Waveshaper

Description

Soft clipping oscillator/waveshaper. It rounds peaks more gently than a hard limiter and is useful for adding drive without instant digital clipping.

Arguments

Typical Values

Use moderate values first, then increase modulation depth while listening for clipping, aliasing, or excessive filter resonance.

Example

sclip(1.8*sin(X), 0.65)

Notes

For pitched oscillator functions, X already contains the current MIDI note pitch and transpose information. Prefer saw(X), sin(X), or pwm(X, 0.4) unless you intentionally want an octave or ratio shift such as 0.5*X or 2*X.