ConvolverNode Class

A node that convolves its input with an impulse response (https://webaudio.github.io/web-audio-api/#ConvolverNode).

public sealed class ConvolverNode : AudioNode
Inheritance
AudioNode ConvolverNode

Constructors

NameDescription
ConvolverNode(BaseAudioContext, ConvolverOptions?)Creates a convolver.

ConvolverNode(BaseAudioContext, ConvolverOptions?)

ConvolverNode.cs

Creates a convolver.

public ConvolverNode(BaseAudioContext context, ConvolverOptions? options = null)

Properties

NameDescription
BufferGets or sets the impulse response (its content is acquired when it is set).
NormalizeGets or sets a value indicating whether the impulse response is normalized when ConvolverNode.Buffer is set.

Gets or sets the impulse response (its content is acquired when it is set).

public AudioBuffer? Buffer { get; set; }

Property value

AudioBuffer?

Exceptions

DomException
The buffer does not have 1, 2 or 4 channels, or its sample rate is not the one of the context (a NotSupportedError).

See also

Gets or sets a value indicating whether the impulse response is normalized when ConvolverNode.Buffer is set.

public bool Normalize { get; set; }