Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/index.ts>dom.AudioNode

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

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

Properties

channelCount: number
channelCountMode: ChannelCountMode
channelInterpretation: ChannelInterpretation
readonly
context: BaseAudioContext
readonly
numberOfInputs: number
readonly
numberOfOutputs: number

Methods

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