The createIIRFilter()
method of the AudioContext
interface creates an IIRFilterNode
, which represents a general infinite impulse response (IIR) filter which can be configured to serve as various types of filter.
var iirFilter = AudioContext.createIIRFilter(feedforward, feedback);
feedforward
feedback
An IIRFilterNode
implementing the filter with the specified feedback and feedforward coefficient arrays.
InvalidStateError
feedforward
coefficients are 0, and/or the first feedback
coefficient is 0.NotSupportedError
Specification | Status | Comment |
---|---|---|
Web Audio API The definition of 'createIIRFilter()' in that specification. | Working Draft |
Feature | Chrome | Edge | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|---|
Basic support | 49.0 | (Yes) | 50 (50) | ? | ? | ? |
Feature | Android | Android Webview | Edge | Firefox Mobile (Gecko) | Firefox OS | IE Mobile | Opera Mobile | Safari Mobile | Chrome for Android |
---|---|---|---|---|---|---|---|---|---|
Basic support | No support | 49.0 | (Yes) | 50.0 (50) | ? | ? | ? | ? | 49.0 |
© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createIIRFilter