Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/windmill/node_modules/evt/lib/types/lib.dom.d.ts>AudioBufferSourceNode

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
interface AudioBufferSourceNode
import { type AudioBufferSourceNode } from "https://deno.land/x/windmill@v1.345.2/node_modules/evt/lib/types/lib.dom.d.ts";

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

buffer: AudioBuffer | null
readonly
detune: AudioParam
loop: boolean
loopEnd: number
loopStart: number
readonly
playbackRate: AudioParam

Methods

start(
when?: number,
offset?: number,
duration?: number,
): void
addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(
type: K,
options?: boolean | AddEventListenerOptions,
): void
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
removeEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(
type: K,
options?: boolean | EventListenerOptions,
): void
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void