AudioWorkletGlobalScope
Overview
The AudioWorkletGlobalScope interface of the Web Audio API represents a global execution context for user-supplied code, which defines custom AudioWorkletProcessor-derived classes.
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.WebAssembly.DOM
- Platforms: WebAssembly
Properties
currentFrame
property currentFrame: Int32 read;
Int32 currentFrame { get; }
var currentFrame: Int32 { get{} }
Int32 currentFrame { __get; }
ReadOnly Property currentFrame() As Int32
currentTime
property currentTime: DateTime read;
DateTime currentTime { get; }
var currentTime: DateTime { get{} }
DateTime currentTime { __get; }
ReadOnly Property currentTime() As DateTime
sampleRate
property sampleRate: Double read;
Double sampleRate { get; }
var sampleRate: Double { get{} }
Double sampleRate { __get; }
ReadOnly Property sampleRate() As Double
Required Methods
registerProcessor
Registers a class derived from the AudioWorkletProcessor interface. The class can then be used by creating an AudioWorkletNode, providing its registered name.
method registerProcessor(parname: dynamic; parprocessorCtor: dynamic)
void registerProcessor(dynamic parname, dynamic parprocessorCtor)
func registerProcessor(_ parname: dynamic, _ parprocessorCtor: dynamic)
void registerProcessor(dynamic parname, dynamic parprocessorCtor)
Sub registerProcessor(parname As dynamic, parprocessorCtor As dynamic)
Parameters:
- parname:
- parprocessorCtor: