rsc3/doc/help/ugen/unary-ops/soft-clip.help.scrbl
2022-08-28 12:27:01 +02:00

18 lines
301 B
Racket

#lang scribble/manual
@(require (for-label racket))
@title{(soft-clip a)}
Nonlinear distortion. Distortion with a perfectly linear region
from -0.5 to +0.5.
@racketblock[
(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)))
]