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

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

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

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