rsc3/doc/help/ugen/noise/white-noise.help.scrbl
2022-08-28 12:27:01 +02:00

28 lines
490 B
Racket

#lang scribble/manual
@(require (for-label racket))
@title{(white-noise rate)}
Generates noise whose spectrum has equal power at all frequencies.
@racketblock[
(audition (out 0 (mul (white-noise ar) 0.15)))
]
Noise generators constructors are unique, to share noise UGens
values must be explictly stored and reused.
@racketblock[
(audition (out 0 (mul (sub (white-noise ar) (white-noise ar)) 0.15)))
]
@racketblock[
(let ((n (white-noise ar)))
(audition (out 0 (sub n n))))
]