rsc3/doc/examples/ugen/binary-ops/scale-neg.help.scm

8 lines
175 B
Scheme
Raw Normal View History

2022-08-24 13:53:18 +00:00
;; (scale-neg a b)
;; Scale negative part of input wave. a * b when a < 0, otherwise a.
(audition
(out 0 (scale-neg (f-sin-osc ar 500 0) (line ar 1 -1 4 remove-synth))))