Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AudioWorkletNode

Available only in secure contexts.

interface AudioWorkletNode extends AudioNode {
onprocessorerror: ((this: AudioWorkletNode, ev: Event) => any) | null;
readonly parameters: AudioParamMap;
readonly port: MessagePort;
addEventListener<K extends keyof AudioWorkletNodeEventMap>(
type: K,
listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void;
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void;
removeEventListener<K extends keyof AudioWorkletNodeEventMap>(
type: K,
listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void;
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void;
}
var AudioWorkletNode: {
prototype: AudioWorkletNode;
new (
name: string,
): AudioWorkletNode;
}
;

§Extends

§Properties

§
onprocessorerror: ((this: AudioWorkletNode, ev: Event) => any) | null
[src]
§
readonly parameters: AudioParamMap
[src]
§
readonly port: MessagePort
[src]

§Methods

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