Envelope / Control
Hard limiter. It clamps a signal to a positive and negative threshold; useful as a safety stage or crude waveshaper.
Example: limit(sin(x*2*pi()*440/44100),0.85)
Use moderate values first, then increase modulation depth while listening for clipping, aliasing, or excessive filter resonance.
limit(1.4*sin(X), 0.8)
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.