New issue
Advanced search Search tips

Issue 718930 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: May 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Funny biquad notch filter output?

Project Member Reported by rtoy@chromium.org, May 5 2017

Issue description

Try the following using hoch.github.io/canopy:

var osc = new OscillatorNode(context);
var f = new BiquadFilterNode(context, {type: "notch"});

osc.frequency.setValueAtTime(261.6, 0.0);
osc.connect(f).connect(context.destination);

osc.start();
osc.stop(0.06);

There's a funny sudden jump in output at time 0.06.  That seems wrong, but I'm not sure.

 

Comment 1 by rtoy@chromium.org, May 5 2017

Status: WontFix (was: Untriaged)
This is ok.  From the biquad formulas for the notch and bandpass filters, the sum of the transfer functions must be 1. Hence, the output must be equal to the input.  Since the input abruptly stops with a large jump to 0, the output of either (or both) the notch or bandpass must also have some jump.  In this case, the notch gets the jump.

WAI.

Sign in to add a comment