web-audio-api-rs icon indicating copy to clipboard operation
web-audio-api-rs copied to clipboard

Handle non-trivial tail time for some nodes

Open orottier opened this issue 4 years ago • 0 comments
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

orottier avatar Oct 21 '21 06:10 orottier