rsc3/doc/examples/graph/lfo-modulation.rkt
2022-08-28 12:27:01 +02:00

15 lines
366 B
Racket

#lang racket
;; status - working as of 20220820
(require rsc3)
;; lfo modulation (jmcc)
(define lfo-modulation
(let* ((o (mul-add (f-sin-osc kr 0.05 0) 80 160))
(p (mul-add (f-sin-osc kr (mce2 0.6 0.7) 0) 3600 4000))
(s (rlpf (mul (lf-pulse ar o 0 0.4) 0.05) p 0.2)))
(comb-l s 0.3 (mce2 0.2 0.25) 2)))
(audition (out 0 lfo-modulation))