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

17 lines
194 B
Racket

#lang scribble/manual
@(require (for-label racket))
@title{(neg a)}
Negation.
@racketblock[
(let ((s (sin-osc ar 440 0)))
(audition
(out 0 (mce2 (mul s 0.1)
(add s (neg s))))))
]