(process-audio this data)
(connect this destination)
(disconnect this)
(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.
(main-exit-node worker data-fn)
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close