createIIRFilter() method of the
BaseAudioContext interface creates an
which represents a general infinite impulse
response (IIR) filter which can be configured to serve as various types
var iirFilter = AudioContext.createIIRFilter(feedforward, feedback);
An array of floating-point values specifying the feedforward (numerator) coefficients for the transfer function of the IIR filter. The maximum length of this array is 20, and at least one value must be nonzero.
An array of floating-point values specifying the feedback (denominator) coefficients for the transfer function of the IIR filter. This array may have up to 20 members, the first of which must not be zero.
IIRFilterNode implementing the filter with the specified feedback and
feedforward coefficient arrays.
All of the
feedforwardcoefficients are 0, and/or the first
feedbackcoefficient is 0.
One or both of the input arrays exceeds 20 members.
|Web Audio API |
BCD tables only load in the browser