rsc3/doc/examples/ugen/unary-ops/soft-clip.help.scm

9 lines
229 B
Scheme

;; (soft-clip a)
;; Nonlinear distortion. Distortion with a perfectly linear region
;; from -0.5 to +0.5.
(audition
(out 0 (mul (soft-clip (mul (f-sin-osc ar 500 0.0)
(x-line kr 0.1 10 10 do-nothing)))
0.25)))