rsc3/doc/help/ugen/binary-ops/add.help.scrbl

25 lines
296 B
Text
Raw Normal View History

2022-08-24 13:53:18 +00:00
#lang scribble/manual
@(require (for-label racket))
@title{(add a b)}
2022-08-28 10:27:01 +00:00
2022-08-24 13:53:18 +00:00
addition, written '+' in sclang.
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(audition
(out 0 (add (mul (f-sin-osc ar 800 0) 0.1)
(mul (pink-noise ar) 0.1))))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00
DC offset.
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(audition
(out 0 (add (f-sin-osc ar 440 0) 0.1)))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00