interface dom.AudioBufferSourceNode
implements AudioScheduledSourceNode
import { type dom } from "https://deno.land/x/evt@v2.4.18/mod.ts";
const { AudioBufferSourceNode } = dom;
An AudioScheduledSourceNode which represents an audio source consisting of in-memory audio data, stored in an AudioBuffer. It's especially useful for playing back audio which has particularly stringent timing accuracy requirements, such as for sounds that must match a specific rhythm and can be kept in memory rather than being played from disk or the network.
Properties
Methods
addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(): void
type: K,
listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(): void
type: K,
listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any,
options?: boolean | EventListenerOptions,