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

21 lines
340 B
Racket

#lang scribble/manual
@(require (for-label racket))
@title{(dust rate density)}
Generates random impulses from 0 to +1 at a rate determined by the
density argument.
@racketblock[
(audition (out 0 (mul (dust ar 200) 0.5)))
]
@racketblock[
(let ((r (x-line kr 20000 2 10 remove-synth)))
(audition (out 0 (mul (dust ar r) 0.5))))
]