Interface: IIRFilterNode
Defined in: types/desktop-engine.d.ts:6469
A node of an audio context's graph
Extends
Properties
channelCount
channelCount: number;Defined in: types/desktop-engine.d.ts:6351
1 to 32
Inherited from
channelCountMode
channelCountMode: ChannelCountMode;Defined in: types/desktop-engine.d.ts:6352
Inherited from
channelInterpretation
channelInterpretation: ChannelInterpretation;Defined in: types/desktop-engine.d.ts:6353
Inherited from
AudioNode.channelInterpretation
context
readonly context: BaseAudioContext;Defined in: types/desktop-engine.d.ts:6347
Inherited from
numberOfInputs
readonly numberOfInputs: number;Defined in: types/desktop-engine.d.ts:6348
Inherited from
numberOfOutputs
readonly numberOfOutputs: number;Defined in: types/desktop-engine.d.ts:6349
Inherited from
Methods
addEventListener()
addEventListener(
type,
listener,
options?
): void;Defined in: types/desktop-engine.d.ts:5370
A boolean options (capture) is ignored
Parameters
| Parameter | Type |
|---|---|
type | string |
listener | | EventListenerOrEventListenerObject | null |
options? | | boolean | AddEventListenerOptions |
Returns
void
Inherited from
connect()
Call Signature
connect<T>(
destinationNode,
output?,
input?
): T;Defined in: types/desktop-engine.d.ts:6355
Connects an output to an input of a node of the same context; returns that node, for chaining
Type Parameters
| Type Parameter |
|---|
T extends AudioNode |
Parameters
| Parameter | Type |
|---|---|
destinationNode | T |
output? | number |
input? | number |
Returns
T
Inherited from
Call Signature
connect(destinationParam, output?): void;Defined in: types/desktop-engine.d.ts:6357
Adds an output to the param's value
Parameters
| Parameter | Type |
|---|---|
destinationParam | AudioParam |
output? | number |
Returns
void
Inherited from
disconnect()
Call Signature
disconnect(): void;Defined in: types/desktop-engine.d.ts:6359
Disconnects every output, or the outputs / connections given
Returns
void
Inherited from
Call Signature
disconnect(output): void;Defined in: types/desktop-engine.d.ts:6360
Parameters
| Parameter | Type |
|---|---|
output | number |
Returns
void
Inherited from
Call Signature
disconnect(
destinationNode,
output?,
input?
): void;Defined in: types/desktop-engine.d.ts:6361
Parameters
| Parameter | Type |
|---|---|
destinationNode | AudioNode |
output? | number |
input? | number |
Returns
void
Inherited from
Call Signature
disconnect(destinationParam, output?): void;Defined in: types/desktop-engine.d.ts:6362
Parameters
| Parameter | Type |
|---|---|
destinationParam | AudioParam |
output? | number |
Returns
void
Inherited from
dispatchEvent()
dispatchEvent(event): boolean;Defined in: types/desktop-engine.d.ts:5373
Returns false when a listener called preventDefault() on a cancelable event
Parameters
| Parameter | Type |
|---|---|
event | Event |
Returns
boolean
Inherited from
getFrequencyResponse()
getFrequencyResponse(
frequencyHz,
magResponse,
phaseResponse
): void;Defined in: types/desktop-engine.d.ts:6471
The three arrays have the same length
Parameters
| Parameter | Type |
|---|---|
frequencyHz | Float32Array |
magResponse | Float32Array |
phaseResponse | Float32Array |
Returns
void
removeEventListener()
removeEventListener(type, listener): void;Defined in: types/desktop-engine.d.ts:5371
Parameters
| Parameter | Type |
|---|---|
type | string |
listener | | EventListenerOrEventListenerObject | null |
Returns
void
