The ConvolverNode() constructor of the Web Audio API creates a new ConvolverNode object instance.
var convolverNode = new ConvolverNode(context, options)
Inherits parameters from the AudioNodeOptions dictionary.
AudioContext.audioBuffer: A mono, stereo, or 4-channel AudioBuffer containing the (possibly multichannel) impulse response used by the ConvolverNode to create the reverb effect.
disableNormalization: A Boolean controlling whether the impulse response from the buffer will be scaled by an equal-power normalization, or not. The default is 'false'.A new ConvolverNode object instance.
| Exception | Explanation |
|---|---|
NotSupportedError | The referenced AudioBuffer does not have the correct number of channels, or it has a different sample rate to the associated AudioContext. |
| Specification | Status | Comment |
|---|---|---|
| Web Audio API The definition of 'ConvolverNode()' in that specification. | Working Draft | Initial definition. |
| Desktop | ||||||
|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
| Basic support | 55 | ? | 53 | No | 42 | ? |
| Mobile | |||||||
|---|---|---|---|---|---|---|---|
| Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
| Basic support | 55 | 55 | ? | 53 | 42 | ? | 6.0 |
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNode/ConvolverNode