web-audio-api-rs
web-audio-api-rs copied to clipboard
Handle non-trivial tail time for some nodes
trafficstars
Nodes:
- [x] DelayNode
- [ ] BiquadFilterNode
- [ ] IIRFilterNode
- [x] WaveShaperNode
- [ ] DynamicsCompressorNode
- [ ] (wip) ConvolverNode
From the spec at https://webaudio.github.io/web-audio-api/#iirfilternode
tail-time Yes Continues to output non-silent audio with zero input. Since this is an IIR filter, the filter produces non-zero input forever, but in practice, this can be limited after some finite time where the output is sufficiently close to zero. The actual time depends on the filter coefficients.
Originally posted by @orottier in https://github.com/orottier/web-audio-api-rs/pull/27#discussion_r733349438