Liking cljdoc? Tell your friends :D

web.audio.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.

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.
raw docstring

current-framecljs

(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
sourceraw docstring

current-timecljs

(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.
sourceraw docstring

register-processorcljs

(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`
sourceraw docstring

sample-ratecljs

(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
sourceraw docstring

set-current-frame!cljs

(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
sourceraw docstring

set-current-time!cljs

(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.
sourceraw docstring

set-sample-rate!cljs

(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
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close