rsc3/doc/help/ugen/binary-ops/excess.help.scrbl

25 lines
415 B
Text
Raw Permalink Normal View History

2022-08-24 13:53:18 +00:00
#lang scribble/manual
@(require (for-label racket))
@title{(excess a b)}
2022-08-28 10:27:01 +00:00
2022-08-24 13:53:18 +00:00
clipping residual. Returns the difference of the original signal
and its clipped form: (a - clip2(a,b)).
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(audition
(out 0 (excess (f-sin-osc ar 1000 0) (line kr 0 1 8 do-nothing))))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(audition
(out 0 (let ((a (f-sin-osc ar 1000 0))
(b (line kr 0 1 8 do-nothing)))
(sub a (clip2 a b)))))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00