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

21 lines
341 B
Racket

#lang scribble/manual
@(require (for-label racket))
@title{(dust2 rate density)}
Generates random impulses from -1 to +1. The `density' is in
impulses per second.
@racketblock[
(audition (out 0 (mul (dust2 ar 200) 0.5)))
]
@racketblock[
(let ((r (x-line kr 20000 2 10 remove-synth)))
(audition (out 0 (mul (dust2 ar r) 0.5))))
]