rsc3/doc/examples/graph/_scm/forest-sounds.scm

17 lines
354 B
Scheme
Raw Permalink Normal View History

2022-08-24 13:53:18 +00:00
;; forest sounds (paul jones)
(import (rnrs) (rsc3))
(define insects
(lambda (_)
(let* ((n1 (brown-noise ar))
(n2 (lf-noise2 kr 50))
(f (mul-add n2 50 50))
(o (mul-add (sin-osc kr f 0) 100 2000)))
(mul (bpf n1 o 0.001) 10))))
(define forest-sounds
(mce-fill 2 insects))
(audition (out 0 forest-sounds))