Liking cljdoc? Tell your friends :D

web.deprecated.ScriptProcessorNode

The ScriptProcessorNode interface allows the generation, processing, analyzing of audio using JavaScript.

The ScriptProcessorNode interface allows the generation, processing,
analyzing of audio using JavaScript.
raw docstring

buffer-sizecljs

(buffer-size this)

Property.

[Read Only]

The following example shows basic usage of a ScriptProcessorNode take a track loaded via AudioContext.decodeAudioData(), process adding a bit of white noise to each audio sample of the input (buffer) and play it through the web.audio.AudioDestinationNode. each channel and each sample frame, the scriptNode.onaudioprocess takes the associated audioProcessingEvent and uses it to loop each channel of the input buffer, and each sample in each channel, add a small amount of white noise, before setting that result be the output sample in each case.

See also: https://developer.mozilla.org/en-US/docs/Web/API/ScriptProcessorNode/bufferSize

Property.

[Read Only]

The following example shows basic usage of a ScriptProcessorNode
take a track loaded via `AudioContext.decodeAudioData()`, process
adding a bit of white noise to each audio sample of the input
(buffer) and play it through the `web.audio.AudioDestinationNode`.
each channel and each sample frame, the scriptNode.onaudioprocess
takes the associated audioProcessingEvent and uses it to loop
each channel of the input buffer, and each sample in each channel,
add a small amount of white noise, before setting that result
be the output sample in each case.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/ScriptProcessorNode/bufferSize`
sourceraw docstring

onaudioprocesscljs

(onaudioprocess this)

Property.

The following example shows basic usage of a ScriptProcessorNode take a track loaded via AudioContext.decodeAudioData(), process adding a bit of white noise to each audio sample of the input (buffer) and play it through the web.audio.AudioDestinationNode. each channel and each sample frame, the scriptNode.onaudioprocess takes the associated audioProcessingEvent and uses it to loop each channel of the input buffer, and each sample in each channel, add a small amount of white noise, before setting that result be the output sample in each case.

See also: https://developer.mozilla.org/en-US/docs/Web/API/ScriptProcessorNode/onaudioprocess

Property.

The following example shows basic usage of a ScriptProcessorNode
take a track loaded via `AudioContext.decodeAudioData()`, process
adding a bit of white noise to each audio sample of the input
(buffer) and play it through the `web.audio.AudioDestinationNode`.
each channel and each sample frame, the scriptNode.onaudioprocess
takes the associated audioProcessingEvent and uses it to loop
each channel of the input buffer, and each sample in each channel,
add a small amount of white noise, before setting that result
be the output sample in each case.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/ScriptProcessorNode/onaudioprocess`
sourceraw docstring

set-onaudioprocess!cljs

(set-onaudioprocess! this val)

Property.

The following example shows basic usage of a ScriptProcessorNode take a track loaded via AudioContext.decodeAudioData(), process adding a bit of white noise to each audio sample of the input (buffer) and play it through the web.audio.AudioDestinationNode. each channel and each sample frame, the scriptNode.onaudioprocess takes the associated audioProcessingEvent and uses it to loop each channel of the input buffer, and each sample in each channel, add a small amount of white noise, before setting that result be the output sample in each case.

See also: https://developer.mozilla.org/en-US/docs/Web/API/ScriptProcessorNode/onaudioprocess

Property.

The following example shows basic usage of a ScriptProcessorNode
take a track loaded via `AudioContext.decodeAudioData()`, process
adding a bit of white noise to each audio sample of the input
(buffer) and play it through the `web.audio.AudioDestinationNode`.
each channel and each sample frame, the scriptNode.onaudioprocess
takes the associated audioProcessingEvent and uses it to loop
each channel of the input buffer, and each sample in each channel,
add a small amount of white noise, before setting that result
be the output sample in each case.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/ScriptProcessorNode/onaudioprocess`
sourceraw docstring

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

× close