interface OfflineAudioContext
implements BaseAudioContext
import { type OfflineAudioContext } from "https://deno.land/x/windmill@v1.361.1/node_modules/evt/src/lib/types/lib.dom.ts";
An AudioContext interface representing an audio-processing graph built from linked together AudioNodes. In contrast with a standard AudioContext, an OfflineAudioContext doesn't render the audio to the device hardware; instead, it generates it, as fast as it can, and outputs the result to an AudioBuffer.
Properties
oncomplete: ((this: OfflineAudioContext, ev: OfflineAudioCompletionEvent) => any) | null
Methods
startRendering(): Promise<AudioBuffer>
addEventListener<K extends keyof OfflineAudioContextEventMap>(): void
type: K,
listener: (this: OfflineAudioContext, ev: OfflineAudioContextEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof OfflineAudioContextEventMap>(): void
type: K,
listener: (this: OfflineAudioContext, ev: OfflineAudioContextEventMap[K]) => any,
options?: boolean | EventListenerOptions,