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,
listener: EventListenerOrEventListenerObject,
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,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void;var AudioWorkletNode: {
prototype: AudioWorkletNode;
new (
};context: BaseAudioContext,
name: string,
options?: AudioWorkletNodeOptions,
): AudioWorkletNode; §Properties
§
onprocessorerror: ((this: AudioWorkletNode, ev: Event) => any) | null
[src]§
readonly parameters: AudioParamMap
[src]§
readonly port: MessagePort
[src]§Methods
§
addEventListener<K extends keyof AudioWorkletNodeEventMap>(
[src]type: K,
listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void§
addEventListener(
[src]type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
): void§
removeEventListener<K extends keyof AudioWorkletNodeEventMap>(
[src]type: K,
listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void§
removeEventListener(
[src]type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void