Interface: BiquadFilterNode
Defined in: types/desktop-engine.d.ts:4978
A node of an audio context's graph
Extends
Properties
channelCount
channelCount: number;Defined in: types/desktop-engine.d.ts:4874
1 to 32
Inherited from
channelCountMode
channelCountMode: ChannelCountMode;Defined in: types/desktop-engine.d.ts:4875
Inherited from
channelInterpretation
channelInterpretation: ChannelInterpretation;Defined in: types/desktop-engine.d.ts:4876
Inherited from
AudioNode.channelInterpretation
context
readonly context: BaseAudioContext;Defined in: types/desktop-engine.d.ts:4870
Inherited from
detune
readonly detune: AudioParam;Defined in: types/desktop-engine.d.ts:4981
frequency
readonly frequency: AudioParam;Defined in: types/desktop-engine.d.ts:4980
gain
readonly gain: AudioParam;Defined in: types/desktop-engine.d.ts:4983
numberOfInputs
readonly numberOfInputs: number;Defined in: types/desktop-engine.d.ts:4871
Inherited from
numberOfOutputs
readonly numberOfOutputs: number;Defined in: types/desktop-engine.d.ts:4872
Inherited from
Q
readonly Q: AudioParam;Defined in: types/desktop-engine.d.ts:4982
type
type: BiquadFilterType;Defined in: types/desktop-engine.d.ts:4979
Methods
addEventListener()
addEventListener(
type,
listener,
options?
): void;Defined in: types/desktop-engine.d.ts:3934
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:4878
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:4880
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:4882
Disconnects every output, or the outputs / connections given
Returns
void
Inherited from
Call Signature
disconnect(output): void;Defined in: types/desktop-engine.d.ts:4883
Parameters
| Parameter | Type |
|---|---|
output | number |
Returns
void
Inherited from
Call Signature
disconnect(
destinationNode,
output?,
input?
): void;Defined in: types/desktop-engine.d.ts:4884
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:4885
Parameters
| Parameter | Type |
|---|---|
destinationParam | AudioParam |
output? | number |
Returns
void
Inherited from
dispatchEvent()
dispatchEvent(event): boolean;Defined in: types/desktop-engine.d.ts:3937
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:4985
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:3935
Parameters
| Parameter | Type |
|---|---|
type | string |
listener | | EventListenerOrEventListenerObject | null |
Returns
void
