Definition
Realm execution contexts tied to the AudioWorklet
Global name use AudioWorkletGlobalScope
as a basis for their global object.
This means their global object exposes the following members:
undefined registerProcessor (DOMString name,
AudioWorkletProcessorConstructor processorCtor);
readonly attribute unsigned long long currentFrame;
readonly attribute double currentTime;
readonly attribute float sampleRate;
readonly attribute unsigned long renderQuantumSize;
readonly attribute MessagePort port;
The following interfaces are exposed exclusively in the corresponding realms:
- AbortController
- AbortSignal
- AudioWorkletGlobalScope
- AudioWorkletProcessor
- ByteLengthQueuingStrategy
- CompressionStream
- CountQueuingStrategy
- CustomEvent
- DOMException
- DecompressionStream
- ErrorEvent
- Event
- EventTarget
- Global
- Instance
- Memory
- Module
- Observable
- PromiseRejectionEvent
- ReadableByteStreamController
- ReadableStream
- ReadableStreamBYOBReader
- ReadableStreamBYOBRequest
- ReadableStreamDefaultController
- ReadableStreamDefaultReader
- Subscriber
- Table
- TextDecoder
- TextDecoderStream
- TextEncoder
- TextEncoderStream
- TransformStream
- TransformStreamDefaultController
- URL
- URLSearchParams
- WebTransportWriter
- WritableStream
- WritableStreamDefaultController
- WritableStreamDefaultWriter
The following interfaces are also exposed in the corresponding realms:
- AbortController
- AbortSignal
- ByteLengthQueuingStrategy
- CompressionStream
- CountQueuingStrategy
- CustomEvent
- DOMException
- DecompressionStream
- ErrorEvent
- Event
- EventTarget
- Global
- Instance
- Memory
- MessageEvent
- MessagePort
- Module
- Observable
- PromiseRejectionEvent
- ReadableByteStreamController
- ReadableStream
- ReadableStreamBYOBReader
- ReadableStreamBYOBRequest
- ReadableStreamDefaultController
- ReadableStreamDefaultReader
- Subscriber
- Table
- TextDecoder
- TextDecoderStream
- TextEncoder
- TextEncoderStream
- TransformStream
- TransformStreamDefaultController
- URL
- URLSearchParams
- WebTransportWriter
- WorkletGlobalScope
- WritableStream
- WritableStreamDefaultController
- WritableStreamDefaultWriter