The ConvolverNode interface implements a linear convolution effect. It is primarily used to apply echo or reverb effects to an audio signal by using an impulse response provided via an AudioBuffer.
Note on Tail-Time: A ConvolverNode has 'tail-time', meaning it will continue to output non-silent audio even after the input signal has become silent, for the duration of the impulse response buffer.
Performance Warning: Linear convolution is computationally expensive. If you encounter audio artifacts, consider decreasing the duration of your impulse response buffer.
// Example conceptual usage
const convolver = context.createConvolver();
convolver.buffer = myImpulseResponseBuffer;
// Connect to audio graph
source.connect(convolver);
convolver.connect(context.destination);