Skip to main content
Module

x/evt/mod.ts>dom.IIRFilterNode

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.IIRFilterNode
implements AudioNode
import { type dom } from "https://deno.land/x/evt@v2.4.3/mod.ts";
const { IIRFilterNode } = dom;

The IIRFilterNode interface of the Web Audio API is a AudioNode processor which implements a general infinite impulse response (IIR)  filter; this type of filter can be used to implement tone control devices and graphic equalizers as well. It lets the parameters of the filter response be specified, so that it can be tuned as needed.

Methods

getFrequencyResponse(
frequencyHz: Float32Array,
magResponse: Float32Array,
phaseResponse: Float32Array,
): void