Liking cljdoc? Tell your friends :D
ClojureScript only.

audio-utils.gate


default-triggercljs

(default-trigger gate state)

gatecljs

(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}})

Gatecljs


IGatecljsprotocol

dequeue-from-buffercljs

(dequeue-from-buffer this channel)

maybe-toggle-gatecljs

(maybe-toggle-gate this state)

calculate-rmscljs

(calculate-rms this channel)

queue-in-buffercljs

(queue-in-buffer this channel sample)

generate-output-samplecljs

(generate-output-sample this channel input-sample)

add-to-rmscljs

(add-to-rms this channel sample)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close