rsc3/doc/examples/graph/analog-bubbles.rkt

16 lines
351 B
Racket
Raw Permalink Normal View History

2022-08-24 13:53:18 +00:00
#lang racket
;; status - working as of 20220819
(require rsc3)
;; analog bubbles (jmcc)
(define analog-bubbles
(let* ((o (mul-add (lf-saw kr (mce2 8 7.23) 0) 3 80))
(f (mul-add (lf-saw kr 0.4 0) 24 o))
(s (mul (sin-osc ar (midi-cps f) 0) 0.04)))
(comb-n s 0.2 0.2 4)))
(audition (out 0 analog-bubbles))
;; (with-sc3 reset)