Reputation: 4578
In the Web Audio API you can use the convolver node to create a reverb effect. You can then mix a dry version of the signal with a fully wet version via gains nodes to control the amount of the effect. What I would like to know is if it is possible to modify things like reverb tail length and room size dynamically and the "best practice" approach to doing this. I assume this would involve the scriptProcessor node and the convolver node working together in some manner.
Upvotes: 1
Views: 778
Reputation: 13908
A far easier way to do this would be to generate a new reverb impulse response (an exponential falloff of noise works as a cheap version), and crossfade between convolver nodes when you change the impulse response (you can't directly change the IR used for a single node without it glitching).
Upvotes: 3