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
AudioNodeConvolverNode
Constructors
| Name | Description |
|---|---|
| ConvolverNode(BaseAudioContext, ConvolverOptions?) | Creates a convolver. |
ConvolverNode(BaseAudioContext, ConvolverOptions?)
ConvolverNode.csCreates a convolver.
public ConvolverNode(BaseAudioContext context, ConvolverOptions? options = null)Properties
| Name | Description |
|---|---|
| Buffer | Gets or sets the impulse response (its content is acquired when it is set). |
| Normalize | Gets or sets a value indicating whether the impulse response is normalized when ConvolverNode.Buffer is set. |
Buffer
ConvolverNode.csGets or sets the impulse response (its content is acquired when it is set).
public AudioBuffer? Buffer { get; set; }Property value
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
Normalize
ConvolverNode.csGets or sets a value indicating whether the impulse response is normalized when ConvolverNode.Buffer is set.
public bool Normalize { get; set; }