17 lines
194 B
Racket
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))))))
|
|
]
|
|
|
|
|