loop
Summary
Indicates if the audio data should play in a loop. The default value is false.
Property of apis/webaudio/AudioBufferSourceNodeapis/webaudio/AudioBufferSourceNode
Syntax
var result = AudioBufferSourceNode.loop;
AudioBufferSourceNode.loop = value;
Return Value
Returns an object of type BooleanBoolean
Examples
var source = audioCtx.createBufferSource();
source.loop = true;
Related specifications
- Web Audio API
- W3C Editor’s Draft