Liking cljdoc? Tell your friends :D

audio.AudioContextOptions

The AudioContextOptions dictionary is used to specify configuration when constructing a new audio.AudioContext object to represent graph of web audio nodes.

The AudioContextOptions dictionary is used to specify configuration
when constructing a new `audio.AudioContext` object to represent
graph of web audio nodes.
raw docstring

latency-hintcljs

(latency-hint this)

Property.

The audio.AudioContextOptions dictionary (used when instantiating audio.AudioContext) may contain a property named latencyHint, indicates the preferred maximum latency in seconds for the audio

`audioContextOptions.latencyHint = "interactive"; audioContextOptions.latencyHint = 0.2;

var latencyHint = audioContextOptions.latencyHint;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioContextOptions/latencyHint

Property.

The `audio.AudioContextOptions` dictionary (used when instantiating
`audio.AudioContext`) may contain a property named latencyHint,
indicates the preferred maximum latency in seconds for the audio

`audioContextOptions.latencyHint = \"interactive\";
audioContextOptions.latencyHint = 0.2;

var latencyHint = audioContextOptions.latencyHint;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/AudioContextOptions/latencyHint`
sourceraw docstring

sample-ratecljs

(sample-rate this)

Property.

The audio.AudioContextOptions dictionary (used when instantiating audio.AudioContext) may contain a property named sampleRate, indicates the sample rate to use for the new context.

`audioContextOptions.sampleRate = 44100;

var sampleRate = audioContextOptions.sampleRate;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioContextOptions/sampleRate

Property.

The `audio.AudioContextOptions` dictionary (used when instantiating
`audio.AudioContext`) may contain a property named sampleRate,
indicates the sample rate to use for the new context.

`audioContextOptions.sampleRate = 44100;

var sampleRate = audioContextOptions.sampleRate;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/AudioContextOptions/sampleRate`
sourceraw docstring

set-latency-hint!cljs

(set-latency-hint! this val)

Property.

The audio.AudioContextOptions dictionary (used when instantiating audio.AudioContext) may contain a property named latencyHint, indicates the preferred maximum latency in seconds for the audio

`audioContextOptions.latencyHint = "interactive"; audioContextOptions.latencyHint = 0.2;

var latencyHint = audioContextOptions.latencyHint;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioContextOptions/latencyHint

Property.

The `audio.AudioContextOptions` dictionary (used when instantiating
`audio.AudioContext`) may contain a property named latencyHint,
indicates the preferred maximum latency in seconds for the audio

`audioContextOptions.latencyHint = \"interactive\";
audioContextOptions.latencyHint = 0.2;

var latencyHint = audioContextOptions.latencyHint;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/AudioContextOptions/latencyHint`
sourceraw docstring

set-sample-rate!cljs

(set-sample-rate! this val)

Property.

The audio.AudioContextOptions dictionary (used when instantiating audio.AudioContext) may contain a property named sampleRate, indicates the sample rate to use for the new context.

`audioContextOptions.sampleRate = 44100;

var sampleRate = audioContextOptions.sampleRate;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioContextOptions/sampleRate

Property.

The `audio.AudioContextOptions` dictionary (used when instantiating
`audio.AudioContext`) may contain a property named sampleRate,
indicates the sample rate to use for the new context.

`audioContextOptions.sampleRate = 44100;

var sampleRate = audioContextOptions.sampleRate;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/AudioContextOptions/sampleRate`
sourceraw docstring

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

× close