Intent to Implement and Ship: WebAudio: Add IIRFilterNode

39 views
Skip to first unread message

Raymond Toy

unread,
Jul 29, 2015, 2:52:51 PM7/29/15
to blink-dev
rt...@chromium.org,hong...@chromium.org https://webaudio.github.io/web-audio-api/ Add a new node, IIRFilterNode, that implements a general IIR filter. The coefficients are fixed at creation and not changeable. No automation of the coefficients is allowed.
Currently, WebAudio supports a BiquadFilterNode that implements very specific 2nd order (biquad) IIR filters. These are quite useful, but the specification does not allow specifying 1st order filters and higher order filters must be created by cascading biquad filters together. It can be shown that the current biquad filters can be used to create any higher even-ordered filter, but decomposing such higher order filters into biquads is fairly difficult because it requires solving a large order polynomial for the roots.

To simplify this and to allow 1st order filters, an IIRFilterNode is proposed where the coefficients of the filter can be directly specified. Firefox: No public signals Internet Explorer: No public signals Safari: No public signals Web developers: Positive
This is a new node so there are no backwards compatibility issues. Any differences between browsers should be due only to numerical issues that depend on exactly how the IIR filter node is implemented. None Yes http://crbug.com/514782 https://www.chromestatus.com/features/6674104937611264 Yes

TAMURA, Kent

unread,
Jul 29, 2015, 11:41:29 PM7/29/15
to Raymond Toy, blink-dev
LGTM.
However can you show a URL of the specification discussion on IIRFilterNode?

--
TAMURA Kent
Software Engineer, Google


Hongchan Choi

unread,
Jul 29, 2015, 11:48:38 PM7/29/15
to TAMURA, Kent, Raymond Toy, blink-dev
Here is the pull request for the spec change:

Although there might be some editorial changes in the PR above, the idea was discussed and accepted by WG at:

Philip Jägenstedt

unread,
Jul 30, 2015, 5:52:52 AM7/30/15
to Hongchan Choi, TAMURA, Kent, Raymond Toy, blink-dev
Can you have that pull request merged so that we can read the spec at https://webaudio.github.io/web-audio-api/?

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.

Raymond Toy

unread,
Jul 30, 2015, 11:29:17 AM7/30/15
to Philip Jägenstedt, Hongchan Choi, TAMURA, Kent, blink-dev
Sorry about that.  You can find the merged version (unofficial) at http://rtoy.github.io/web-audio-api/#the-iirfilternode-interface.  This  is temporary, of course.  We don't expect any major changes since the general idea was accepted as Hongchan pointed out; the final design was basically waiting for me to design it.

Philip Jägenstedt

unread,
Jul 31, 2015, 9:46:22 AM7/31/15
to Raymond Toy, Hongchan Choi, TAMURA, Kent, blink-dev
Thanks, LGTM2!

Chris Harrelson

unread,
Aug 3, 2015, 1:45:51 PM8/3/15
to Philip Jägenstedt, Raymond Toy, Hongchan Choi, TAMURA, Kent, blink-dev
LGTM3
Reply all
Reply to author
Forward
0 new messages