Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AudioNode

A generic interface for representing an audio processing module. Examples include:

interface AudioNode extends EventTarget {
channelCount: number;
channelCountMode: ChannelCountMode;
channelInterpretation: ChannelInterpretation;
readonly context: BaseAudioContext;
readonly numberOfInputs: number;
readonly numberOfOutputs: number;
connect(
destinationNode: AudioNode,
output?: number,
input?: number,
): AudioNode;
connect(destinationParam: AudioParam, output?: number): void;
disconnect(): void;
disconnect(output: number): void;
disconnect(destinationNode: AudioNode): void;
disconnect(destinationNode: AudioNode, output: number): void;
disconnect(
destinationNode: AudioNode,
output: number,
input: number,
): void;
disconnect(destinationParam: AudioParam): void;
disconnect(destinationParam: AudioParam, output: number): void;
}
var AudioNode: {
prototype: AudioNode;
new (): AudioNode;
}
;

§Extends

§Properties

§
channelCount: number
[src]
§
channelCountMode: ChannelCountMode
[src]
§
channelInterpretation: ChannelInterpretation
[src]
§
readonly context: BaseAudioContext
[src]
§
readonly numberOfInputs: number
[src]
§
readonly numberOfOutputs: number
[src]

§Methods

§
connect(
destinationNode: AudioNode,
output?: number,
input?: number,
): AudioNode
[src]
§
connect(destinationParam: AudioParam, output?: number): void
[src]
§
disconnect(): void
[src]
§
disconnect(output: number): void
[src]
§
disconnect(destinationNode: AudioNode): void
[src]
§
disconnect(destinationNode: AudioNode, output: number): void
[src]
§
disconnect(
destinationNode: AudioNode,
output: number,
input: number,
): void
[src]
§
disconnect(destinationParam: AudioParam): void
[src]
§
disconnect(destinationParam: AudioParam, output: number): void
[src]