rsc3/doc/help/ugen/noise/exp-rand.help.scm

9 lines
241 B
Scheme
Raw Normal View History

2022-08-24 13:53:18 +00:00
;; (exp-rand lo hi)
;; Generates a single random float value in an exponential
;; distributions from `lo' to `hi'.
(let ((f (exp-rand 100 8000))
(a (line kr 0.5 0 0.01 remove-synth)))
(audition (out 0 (mul (f-sin-osc ar f 0) a))))