rsc3/doc/help/ugen/binary-ops/scale-neg.help.scrbl

17 lines
250 B
Text
Raw Permalink Normal View History

2022-08-24 13:53:18 +00:00
#lang scribble/manual
@(require (for-label racket))
@title{(scale-neg a b)}
2022-08-28 10:27:01 +00:00
2022-08-24 13:53:18 +00:00
Scale negative part of input wave. a * b when a < 0, otherwise a.
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(audition
(out 0 (scale-neg (f-sin-osc ar 500 0) (line ar 1 -1 4 remove-synth))))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00