Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/lib.dom.ts>ScriptProcessorNode

💧EventEmitter's typesafe replacement
Go to Latest
interface ScriptProcessorNode
implements AudioNode
import { type ScriptProcessorNode } from "https://deno.land/x/evt@v2.4.19/lib/types/lib.dom.ts";

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