interface dom.AudioContext
implements BaseAudioContext
import { type dom } from "https://deno.land/x/evt@v2.4.16/lib/types/index.ts";
const { AudioContext } = dom;
An audio-processing graph built from audio modules linked together, each represented by an AudioNode.
Methods
createMediaElementSource(mediaElement: HTMLMediaElement): MediaElementAudioSourceNode
createMediaStreamDestination(): MediaStreamAudioDestinationNode
createMediaStreamSource(mediaStream: MediaStream): MediaStreamAudioSourceNode
createMediaStreamTrackSource(mediaStreamTrack: MediaStreamTrack): MediaStreamTrackAudioSourceNode
getOutputTimestamp(): AudioTimestamp
addEventListener<K extends keyof BaseAudioContextEventMap>(): void
type: K,
listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof BaseAudioContextEventMap>(): void
type: K,
listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any,
options?: boolean | EventListenerOptions,