rsc3/doc/help/ugen/noise/white-noise.help.scrbl

29 lines
490 B
Text
Raw Permalink Normal View History

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