(default-trigger gate state)
(gate {:keys [sample-rate buffer-size threshold look-ahead hold rms-window
trigger]
:or {buffer-size 4096
threshold -32.0
look-ahead 500
hold 100
rms-window 100
trigger default-trigger}})
(dequeue-from-buffer this channel)
(maybe-toggle-gate this state)
(calculate-rms this channel)
(queue-in-buffer this channel sample)
(generate-output-sample this channel input-sample)
(add-to-rms this channel sample)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close