Module

x/evt/lib/index.ts

šŸ’§EventEmitter's typesafe replacement
Go to Latest
interface dom.ScriptProcessorNode
implements AudioNode
import { type dom } from "https://deno.land/x/evt@v2.3.1/lib/index.ts";
const { ScriptProcessorNode } = dom;

Allows the generation, processing, or analyzing of audio using JavaScript.

Properties

readonly
deprecated
bufferSize: number
deprecated
onaudioprocess: ((this: ScriptProcessorNode, ev: AudioProcessingEvent) => any) | null

Methods

addEventListener<K extends keyof ScriptProcessorNodeEventMap>(
type: K,
listener: (this: ScriptProcessorNode, ev: ScriptProcessorNodeEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
removeEventListener<K extends keyof ScriptProcessorNodeEventMap>(
type: K,
listener: (this: ScriptProcessorNode, ev: ScriptProcessorNodeEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void