AudioBufferSourceNode

Overview

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

Location

 

buffer

 

property buffer: AudioBuffer read write;

 

AudioBuffer buffer { get; set; }

 

var buffer: AudioBuffer { get{} set{} }

 

AudioBuffer buffer { __get; __set; }

 

Property buffer() As AudioBuffer

detune

 

property detune: Double read write;

 

Double detune { get; set; }

 

var detune: Double { get{} set{} }

 

Double detune { __get; __set; }

 

Property detune() As Double

loop

 

property loop: Boolean read write;

 

Boolean loop { get; set; }

 

var loop: Boolean { get{} set{} }

 

Boolean loop { __get; __set; }

 

Property loop() As Boolean

loopEnd

 

property loopEnd: Double read write;

 

Double loopEnd { get; set; }

 

var loopEnd: Double { get{} set{} }

 

Double loopEnd { __get; __set; }

 

Property loopEnd() As Double

loopStart

 

property loopStart: Double read write;

 

Double loopStart { get; set; }

 

var loopStart: Double { get{} set{} }

 

Double loopStart { __get; __set; }

 

Property loopStart() As Double

playbackRate

 

property playbackRate: dynamic read write;

 

dynamic playbackRate { get; set; }

 

var playbackRate: dynamic { get{} set{} }

 

dynamic playbackRate { __get; __set; }

 

Property playbackRate() As dynamic

start

Used to schedule playback of the audio data contained in the buffer, or to begin playback immediately.

 

method start(parwhen: dynamic; paroffset: dynamic; parduration: dynamic)

 

void start(dynamic parwhen, dynamic paroffset, dynamic parduration)

 

func start(_ parwhen: dynamic, _ paroffset: dynamic, _ parduration: dynamic)

 

void start(dynamic parwhen, dynamic paroffset, dynamic parduration)

 

Sub start(parwhen As dynamic, paroffset As dynamic, parduration As dynamic)

Parameters:

  • parwhen:
  • paroffset:
  • parduration:

 

buffer

 

property buffer: AudioBuffer read write;

 

AudioBuffer buffer { get; set; }

 

var buffer: AudioBuffer { get{} set{} }

 

AudioBuffer buffer { __get; __set; }

 

Property buffer() As AudioBuffer

detune

 

property detune: Double read write;

 

Double detune { get; set; }

 

var detune: Double { get{} set{} }

 

Double detune { __get; __set; }

 

Property detune() As Double

loop

 

property loop: Boolean read write;

 

Boolean loop { get; set; }

 

var loop: Boolean { get{} set{} }

 

Boolean loop { __get; __set; }

 

Property loop() As Boolean

loopEnd

 

property loopEnd: Double read write;

 

Double loopEnd { get; set; }

 

var loopEnd: Double { get{} set{} }

 

Double loopEnd { __get; __set; }

 

Property loopEnd() As Double

loopStart

 

property loopStart: Double read write;

 

Double loopStart { get; set; }

 

var loopStart: Double { get{} set{} }

 

Double loopStart { __get; __set; }

 

Property loopStart() As Double

playbackRate

 

property playbackRate: dynamic read write;

 

dynamic playbackRate { get; set; }

 

var playbackRate: dynamic { get{} set{} }

 

dynamic playbackRate { __get; __set; }

 

Property playbackRate() As dynamic

 

start

Used to schedule playback of the audio data contained in the buffer, or to begin playback immediately.

 

method start(parwhen: dynamic; paroffset: dynamic; parduration: dynamic)

 

void start(dynamic parwhen, dynamic paroffset, dynamic parduration)

 

func start(_ parwhen: dynamic, _ paroffset: dynamic, _ parduration: dynamic)

 

void start(dynamic parwhen, dynamic paroffset, dynamic parduration)

 

Sub start(parwhen As dynamic, paroffset As dynamic, parduration As dynamic)

Parameters:

  • parwhen:
  • paroffset:
  • parduration: