rsc3/doc/help/ugen/binary-ops/scale-neg.help.scrbl
2022-08-28 12:27:01 +02:00

16 lines
250 B
Racket

#lang scribble/manual
@(require (for-label racket))
@title{(scale-neg a b)}
Scale negative part of input wave. a * b when a < 0, otherwise a.
@racketblock[
(audition
(out 0 (scale-neg (f-sin-osc ar 500 0) (line ar 1 -1 4 remove-synth))))
]