Liking cljdoc? Tell your friends :D

web.audio.AudioBufferSourceNode

The AudioBufferSourceNode interface is an web.audio.AudioScheduledSourceNode represents an audio source consisting of in-memory audio data, in an web.audio.AudioBuffer. It's especially useful for playing audio which has particularly stringent timing accuracy requirements, as for sounds that must match a specific rhythm and can be kept memory rather than being played from disk or the network.

The AudioBufferSourceNode interface is an `web.audio.AudioScheduledSourceNode`
represents an audio source consisting of in-memory audio data,
in an `web.audio.AudioBuffer`. It's especially useful for playing
audio which has particularly stringent timing accuracy requirements,
as for sounds that must match a specific rhythm and can be kept
memory rather than being played from disk or the network.
raw docstring

buffercljs

(buffer this)

Property.

The buffer property of the web.audio.AudioBufferSourceNode provides the ability to play back audio using an web.audio.AudioBuffer the source of the sound data.

AudioBufferSourceNode.buffer = soundBuffer;

See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/buffer

Property.

The buffer property of the `web.audio.AudioBufferSourceNode`
provides the ability to play back audio using an `web.audio.AudioBuffer`
the source of the sound data.

`AudioBufferSourceNode.buffer = soundBuffer;`

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

detunecljs

(detune this)

Property.

The detune property of the web.audio.AudioBufferSourceNode is a k-rate web.audio.AudioParam representing detuning of oscillation cents.

`var source = audioCtx.createBufferSource(); source.detune.value = 100; // value in cents

Note: Though the AudioParam returned is read-only, the value it represents is not.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/detune

Property.

The detune property of the `web.audio.AudioBufferSourceNode`
is a k-rate `web.audio.AudioParam` representing detuning of oscillation
cents.

`var source = audioCtx.createBufferSource();
source.detune.value = 100; // value in cents


Note: Though the AudioParam returned is read-only, the value it represents is not.`

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

loopcljs

(loop this)

Property.

The loop property's default value is false.

var loopingEnabled = AudioBufferSourceNode.loop; AudioBufferSourceNode.loop = true | false;

See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loop

Property.

The loop property's default value is false.

`var loopingEnabled = AudioBufferSourceNode.loop;
AudioBufferSourceNode.loop = true | false;`

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

loop-endcljs

(loop-end this)

Property.

A floating-point number indicating the offset, in seconds, into audio buffer at which each loop will loop return to the beginning the loop (that is, the current play time gets reset to AudioBufferSourceNode.loopStart). property is only used if the loop property is true.

`AudioBufferSourceNode.loopEnd = endOffsetInSeconds;

var endOffsetInSeconds = AudioBufferSourceNode.loopEnd;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loopEnd

Property.

A floating-point number indicating the offset, in seconds, into
audio buffer at which each loop will loop return to the beginning
the loop (that is, the current play time gets reset to `AudioBufferSourceNode.loopStart`).
property is only used if the `loop` property is true.

`AudioBufferSourceNode.loopEnd = endOffsetInSeconds;

var endOffsetInSeconds = AudioBufferSourceNode.loopEnd;`

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

loop-startcljs

(loop-start this)

Property.

The loopStart property of the web.audio.AudioBufferSourceNode is a floating-point value indicating, in seconds, where in the the restart of the play must happen.

`AudioBufferSourceNode.loopStart = startOffsetInSeconds;

startOffsetInSeconds = AudioBufferSourceNode.loopStart;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loopStart

Property.

The loopStart property of the `web.audio.AudioBufferSourceNode`
is a floating-point value indicating, in seconds, where in the
the restart of the play must happen.

`AudioBufferSourceNode.loopStart = startOffsetInSeconds;

startOffsetInSeconds = AudioBufferSourceNode.loopStart;`

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

playback-ratecljs

(playback-rate this)

Property.

The playbackRate property of the web.audio.AudioBufferSourceNode Is a k-rate web.audio.AudioParam that defines the speed at the audio asset will be played.

AudioBufferSourceNode.playbackRate.value = playbackRateProportion;

See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/playbackRate

Property.

The playbackRate property of the `web.audio.AudioBufferSourceNode`
Is a k-rate `web.audio.AudioParam` that defines the speed at
the audio asset will be played.

`AudioBufferSourceNode.playbackRate.value = playbackRateProportion;`

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

set-buffer!cljs

(set-buffer! this val)

Property.

The buffer property of the web.audio.AudioBufferSourceNode provides the ability to play back audio using an web.audio.AudioBuffer the source of the sound data.

AudioBufferSourceNode.buffer = soundBuffer;

See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/buffer

Property.

The buffer property of the `web.audio.AudioBufferSourceNode`
provides the ability to play back audio using an `web.audio.AudioBuffer`
the source of the sound data.

`AudioBufferSourceNode.buffer = soundBuffer;`

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

set-detune!cljs

(set-detune! this val)

Property.

The detune property of the web.audio.AudioBufferSourceNode is a k-rate web.audio.AudioParam representing detuning of oscillation cents.

`var source = audioCtx.createBufferSource(); source.detune.value = 100; // value in cents

Note: Though the AudioParam returned is read-only, the value it represents is not.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/detune

Property.

The detune property of the `web.audio.AudioBufferSourceNode`
is a k-rate `web.audio.AudioParam` representing detuning of oscillation
cents.

`var source = audioCtx.createBufferSource();
source.detune.value = 100; // value in cents


Note: Though the AudioParam returned is read-only, the value it represents is not.`

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

set-loop!cljs

(set-loop! this val)

Property.

The loop property's default value is false.

var loopingEnabled = AudioBufferSourceNode.loop; AudioBufferSourceNode.loop = true | false;

See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loop

Property.

The loop property's default value is false.

`var loopingEnabled = AudioBufferSourceNode.loop;
AudioBufferSourceNode.loop = true | false;`

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

set-loop-end!cljs

(set-loop-end! this val)

Property.

A floating-point number indicating the offset, in seconds, into audio buffer at which each loop will loop return to the beginning the loop (that is, the current play time gets reset to AudioBufferSourceNode.loopStart). property is only used if the loop property is true.

`AudioBufferSourceNode.loopEnd = endOffsetInSeconds;

var endOffsetInSeconds = AudioBufferSourceNode.loopEnd;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loopEnd

Property.

A floating-point number indicating the offset, in seconds, into
audio buffer at which each loop will loop return to the beginning
the loop (that is, the current play time gets reset to `AudioBufferSourceNode.loopStart`).
property is only used if the `loop` property is true.

`AudioBufferSourceNode.loopEnd = endOffsetInSeconds;

var endOffsetInSeconds = AudioBufferSourceNode.loopEnd;`

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

set-loop-start!cljs

(set-loop-start! this val)

Property.

The loopStart property of the web.audio.AudioBufferSourceNode is a floating-point value indicating, in seconds, where in the the restart of the play must happen.

`AudioBufferSourceNode.loopStart = startOffsetInSeconds;

startOffsetInSeconds = AudioBufferSourceNode.loopStart;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/loopStart

Property.

The loopStart property of the `web.audio.AudioBufferSourceNode`
is a floating-point value indicating, in seconds, where in the
the restart of the play must happen.

`AudioBufferSourceNode.loopStart = startOffsetInSeconds;

startOffsetInSeconds = AudioBufferSourceNode.loopStart;`

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

set-playback-rate!cljs

(set-playback-rate! this val)

Property.

The playbackRate property of the web.audio.AudioBufferSourceNode Is a k-rate web.audio.AudioParam that defines the speed at the audio asset will be played.

AudioBufferSourceNode.playbackRate.value = playbackRateProportion;

See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/playbackRate

Property.

The playbackRate property of the `web.audio.AudioBufferSourceNode`
Is a k-rate `web.audio.AudioParam` that defines the speed at
the audio asset will be played.

`AudioBufferSourceNode.playbackRate.value = playbackRateProportion;`

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

startcljs

(start this & args)

Method.

js.undefined.

AudioBufferSourceNode.start([when][, offset][, duration]);

See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/start

Method.

`js.undefined`.

`AudioBufferSourceNode.start([when][, offset][, duration]);`

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

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

× close