Liking cljdoc? Tell your friends :D

web.audio.ConvolverNode

The ConvolverNode interface is an web.audio.AudioNode that a Linear Convolution on a given web.audio.AudioBuffer, often to achieve a reverb effect. A ConvolverNode always has exactly input and one output.

The ConvolverNode interface is an `web.audio.AudioNode` that
a Linear Convolution on a given `web.audio.AudioBuffer`, often
to achieve a reverb effect. A ConvolverNode always has exactly
input and one output.
raw docstring

buffercljs

(buffer this)

Property.

An web.audio.AudioBuffer.

var audioCtx = new AudioContext(); var convolver = audioCtx.createConvolver(); convolver.buffer = myAudioBuffer;

See also: https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNode/buffer

Property.

An `web.audio.AudioBuffer`.

`var audioCtx = new AudioContext();
var convolver = audioCtx.createConvolver();
convolver.buffer = myAudioBuffer;`

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

constructorcljs

(constructor & args)

Constructor.

The ConvolverNode() constructor of the Web Audio API creates a new web.audio.ConvolverNode object instance.

Inherits parameters from the web.audio.AudioNodeOptions dictionary.

context A reference to an web.audio.AudioContext. options Optional Options are as follows:

audioBuffer: A mono, stereo, or 4-channel web.audio.AudioBuffer containing the (possibly multichannel) impulse response used by the ConvolverNode to create the reverb effect. disableNormalization: A js.Boolean controlling whether the impulse response from the buffer will be scaled by an equal-power normalization, or not. The default is 'false'.

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

Constructor.

The ConvolverNode() constructor of the Web Audio API creates a new `web.audio.ConvolverNode` object instance.

Inherits parameters from the `web.audio.AudioNodeOptions` dictionary.


context
A reference to an `web.audio.AudioContext`.
options Optional
Options are as follows:

audioBuffer: A mono, stereo, or 4-channel `web.audio.AudioBuffer` containing the (possibly multichannel) impulse response used by the ConvolverNode to create the reverb effect.
disableNormalization: A `js.Boolean` controlling whether the impulse response from the buffer will be scaled by an equal-power normalization, or not. The default is 'false'.

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

normalizecljs

(normalize this)

Property.

The normalize property of the web.audio.ConvolverNode interface a boolean that controls whether the impulse response from the will be scaled by an equal-power normalization when the buffer is set, or not.

var audioCtx = new AudioContext(); var convolver = audioCtx.createConvolver(); convolver.normalize = false;

See also: https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNode/normalize

Property.

The normalize property of the `web.audio.ConvolverNode` interface
a boolean that controls whether the impulse response from the
will be scaled by an equal-power normalization when the buffer
is set, or not.

`var audioCtx = new AudioContext();
var convolver = audioCtx.createConvolver();
convolver.normalize = false;`

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

set-buffer!cljs

(set-buffer! this val)

Property.

An web.audio.AudioBuffer.

var audioCtx = new AudioContext(); var convolver = audioCtx.createConvolver(); convolver.buffer = myAudioBuffer;

See also: https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNode/buffer

Property.

An `web.audio.AudioBuffer`.

`var audioCtx = new AudioContext();
var convolver = audioCtx.createConvolver();
convolver.buffer = myAudioBuffer;`

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

set-normalize!cljs

(set-normalize! this val)

Property.

The normalize property of the web.audio.ConvolverNode interface a boolean that controls whether the impulse response from the will be scaled by an equal-power normalization when the buffer is set, or not.

var audioCtx = new AudioContext(); var convolver = audioCtx.createConvolver(); convolver.normalize = false;

See also: https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNode/normalize

Property.

The normalize property of the `web.audio.ConvolverNode` interface
a boolean that controls whether the impulse response from the
will be scaled by an equal-power normalization when the buffer
is set, or not.

`var audioCtx = new AudioContext();
var convolver = audioCtx.createConvolver();
convolver.normalize = false;`

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

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

× close