The AudioWorkletGlobalScope interface of the Web Audio API represents
global execution context for user-supplied code, which defines
web.audio.AudioWorkletProcessor
-derived classes. Each web.audio.BaseAudioContext
a single web.audio.AudioWorklet
available under the audioWorklet
which runs its code in a single AudioWorkletGlobalScope.
The AudioWorkletGlobalScope interface of the Web Audio API represents global execution context for user-supplied code, which defines `web.audio.AudioWorkletProcessor`-derived classes. Each `web.audio.BaseAudioContext` a single `web.audio.AudioWorklet` available under the `audioWorklet` which runs its code in a single AudioWorkletGlobalScope.
(current-frame this)
Property.
Returns an integer that represents the ever-increasing current of the audio block being processed. It is incremented by 128 size of a render quantum) after the processing of each audio
Property. Returns an integer that represents the ever-increasing current of the audio block being processed. It is incremented by 128 size of a render quantum) after the processing of each audio
(current-time this)
Property.
Returns a double that represents the ever-increasing context of the audio block being processed. It is equal to the currentTime of the BaseAudioContext the worklet belongs to.
Property. Returns a double that represents the ever-increasing context of the audio block being processed. It is equal to the currentTime of the BaseAudioContext the worklet belongs to.
(register-processor this name processor-ctor)
Method.
The registerProcessor method of the web.audio.AudioWorkletGlobalScope
registers a class constructor derived from web.audio.AudioWorkletProcessor
under a specified name.
AudioWorkletGlobalScope.registerProcessor(name, processorCtor);
See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletGlobalScope/registerProcessor
Method. The registerProcessor method of the `web.audio.AudioWorkletGlobalScope` registers a class constructor derived from `web.audio.AudioWorkletProcessor` under a specified name. `AudioWorkletGlobalScope.registerProcessor(name, processorCtor);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletGlobalScope/registerProcessor`
(sample-rate this)
Property.
Returns a float that represents the sample rate of the associated
Property. Returns a float that represents the sample rate of the associated
(set-current-frame! this val)
Property.
Returns an integer that represents the ever-increasing current of the audio block being processed. It is incremented by 128 size of a render quantum) after the processing of each audio
Property. Returns an integer that represents the ever-increasing current of the audio block being processed. It is incremented by 128 size of a render quantum) after the processing of each audio
(set-current-time! this val)
Property.
Returns a double that represents the ever-increasing context of the audio block being processed. It is equal to the currentTime of the BaseAudioContext the worklet belongs to.
Property. Returns a double that represents the ever-increasing context of the audio block being processed. It is equal to the currentTime of the BaseAudioContext the worklet belongs to.
(set-sample-rate! this val)
Property.
Returns a float that represents the sample rate of the associated
Property. Returns a float that represents the sample rate of the associated
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close