IIRFilterNode

open external class IIRFilterNode(context: BaseAudioContext, options: IIRFilterOptions) : AudioNode(source)

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.

MDN Reference

Constructors

Link copied to clipboard
constructor(context: BaseAudioContext, options: IIRFilterOptions)

Properties

Functions

Link copied to clipboard
fun connect(destinationParam: AudioParam, output: Int = definedExternally)

fun connect(destinationNode: AudioNode, output: Int = definedExternally, input: Int = definedExternally): AudioNode
Link copied to clipboard
fun disconnect(output: Int)
fun disconnect(destinationNode: AudioNode)
fun disconnect(destinationParam: AudioParam)
fun disconnect(destinationNode: AudioNode, output: Int)
fun disconnect(destinationParam: AudioParam, output: Int)
fun disconnect(destinationNode: AudioNode, output: Int, input: Int)
Link copied to clipboard
Link copied to clipboard
fun getFrequencyResponse(frequencyHz: Float32Array<*>, magResponse: Float32Array<*>, phaseResponse: Float32Array<*>)