rsc3/doc/help/ugen/noise/dust.help.scrbl

22 lines
340 B
Text
Raw Permalink Normal View History

2022-08-24 13:53:18 +00:00
#lang scribble/manual
@(require (for-label racket))
@title{(dust rate density)}
2022-08-28 10:27:01 +00:00
2022-08-24 13:53:18 +00:00
Generates random impulses from 0 to +1 at a rate determined by the
density argument.
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(audition (out 0 (mul (dust ar 200) 0.5)))
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 ((r (x-line kr 20000 2 10 remove-synth)))
(audition (out 0 (mul (dust ar r) 0.5))))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00