rsc3/doc/examples/graph/_scm/lf-pulses.scm

14 lines
351 B
Scheme
Raw Permalink Normal View History

2022-08-24 13:53:18 +00:00
;; lf pulses (rd)
(import (rnrs) (rsc3))
(define lf-pulses
(let* ((n0 (lf-noise0 ar (mce2 20 40)))
(n1 (lf-noise0 ar (mce2 5 10)))
(x (mouse-x kr 0.012 0.19 1 0.1))
(f (formlet (blip ar 10 12) (mul-add n0 43 700) 0.005 x))
(o (mul (sin-osc ar 40 0) n1)))
(clip2 (add f o) 1)))
(audition (out 0 lf-pulses))