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

10 lines
229 B
Scheme
Raw Permalink Normal View History

2022-08-24 13:53:18 +00:00
;; (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)))