Liking cljdoc? Tell your friends :D

audio-utils.worker


IWorkerAudioNodecljsprotocol

process-audiocljs

(process-audio this data)

connectcljs

(connect this destination)

disconnectcljs

(disconnect this)

main-entry-nodecljs

(main-entry-node worker
                 ctx
                 {:keys [buffer-size input-channels output-channels]
                  :or {buffer-size 4096 input-channels 1 output-channels 1}})

Creates a ScriptProcessorNode in the main UI thread that forwards audio to a worker by posting a :worker-process-audio message to it whenever there is new audio to be processed.

Creates a ScriptProcessorNode in the main UI thread that
forwards audio to a worker by posting a :worker-process-audio
message to it whenever there is new audio to be processed.
raw docstring

main-exit-nodecljs

(main-exit-node worker data-fn)

worker-entry-nodecljs

(worker-entry-node)

Creates an IWorkerAudioNode in a worker that receives its audio data from the main UI thread via a :worker-process-audio message. It then forwards the audio to the next IWorkerAudioNode if there is one.

Creates an IWorkerAudioNode in a worker that receives its audio
data from the main UI thread via a :worker-process-audio message.
It then forwards the audio to the next IWorkerAudioNode if
there is one.
raw docstring

worker-exit-nodecljs

(worker-exit-node)

Creates an IWorkerAudioNode that takes audio data from a previous IWorkerAudioNode and forwards it to the main UI thread via a :main-process-audio message.

Creates an IWorkerAudioNode that takes audio data from a previous
IWorkerAudioNode and forwards it to the main UI thread via a
:main-process-audio message.
raw docstring

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

× close