createIIRFilter method

IIRFilterNode createIIRFilter(
  1. JSArray<JSNumber> feedforward,
  2. JSArray<JSNumber> feedback
)

The createIIRFilter() method of the BaseAudioContext interface creates an IIRFilterNode, which represents a general infinite impulse response (IIR) filter which can be configured to serve as various types of filter.

Note: The IIRFilterNode.IIRFilterNode constructor is the recommended way to create a IIRFilterNode; see Creating an AudioNode.

Implementation

external IIRFilterNode createIIRFilter(
  JSArray<JSNumber> feedforward,
  JSArray<JSNumber> feedback,
);