createBufferSource
Summary
Creates an AudioBufferSourceNode that can be used to play audio data contained within an AudioBuffer object…
Method of apis/webaudio/AudioContextapis/webaudio/AudioContext
Syntax
var = AudioContext.createBufferSource();
Return Value
Returns an object of type
AudioBufferSourceNode
Examples
var audioCtx = new AudioContext();
var source = audioCtx.createBufferSource();
Related specifications
- W3C Web Audio API
- W3C Editor’s Draft