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

channelCount    (declared in AudioNode)

 

property channelCount: Int32 read write;

 

Int32 channelCount { get; set; }

 

var channelCount: Int32 { get{} set{} }

 

Int32 channelCount { __get; __set; }

 

Property channelCount() As Int32

channelCountMode    (declared in AudioNode)

 

property channelCountMode: dynamic read write;

 

dynamic channelCountMode { get; set; }

 

var channelCountMode: dynamic { get{} set{} }

 

dynamic channelCountMode { __get; __set; }

 

Property channelCountMode() As dynamic

channelInterpretation    (declared in AudioNode)

 

property channelInterpretation: dynamic read write;

 

dynamic channelInterpretation { get; set; }

 

var channelInterpretation: dynamic { get{} set{} }

 

dynamic channelInterpretation { __get; __set; }

 

Property channelInterpretation() As dynamic

connect    (declared in AudioNode)

Allows us to connect the output of this node to be input into another node, either as audio data or as the value of an AudioParam.

 

method connect(pardestination: dynamic; paroutputIndex: dynamic; parinputIndex: dynamic): AudioNode

 

AudioNode connect(dynamic pardestination, dynamic paroutputIndex, dynamic parinputIndex)

 

func connect(_ pardestination: dynamic, _ paroutputIndex: dynamic, _ parinputIndex: dynamic) -> AudioNode

 

AudioNode connect(dynamic pardestination, dynamic paroutputIndex, dynamic parinputIndex)

 

Function connect(pardestination As dynamic, paroutputIndex As dynamic, parinputIndex As dynamic) As AudioNode

Parameters:

  • pardestination:
  • paroutputIndex:
  • parinputIndex:

context    (declared in AudioNode)

 

property context: String read;

 

String context { get; }

 

var context: String { get{} }

 

String context { __get; }

 

ReadOnly Property context() As String

detune

 

property detune: Double read write;

 

Double detune { get; set; }

 

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

 

Double detune { __get; __set; }

 

Property detune() As Double

disconnect    (declared in AudioNode)

Allows us to disconnect the current node from another one it is already connected to.

 

method disconnect(pardestination: dynamic; paroutput: dynamic; parinput: dynamic)

 

void disconnect(dynamic pardestination, dynamic paroutput, dynamic parinput)

 

func disconnect(_ pardestination: dynamic, _ paroutput: dynamic, _ parinput: dynamic)

 

void disconnect(dynamic pardestination, dynamic paroutput, dynamic parinput)

 

Sub disconnect(pardestination As dynamic, paroutput As dynamic, parinput As dynamic)

Parameters:

  • pardestination:
  • paroutput:
  • parinput:

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

numberOfInputs    (declared in AudioNode)

 

property numberOfInputs: dynamic read;

 

dynamic numberOfInputs { get; }

 

var numberOfInputs: dynamic { get{} }

 

dynamic numberOfInputs { __get; }

 

ReadOnly Property numberOfInputs() As dynamic

numberOfOutputs    (declared in AudioNode)

 

property numberOfOutputs: dynamic read;

 

dynamic numberOfOutputs { get; }

 

var numberOfOutputs: dynamic { get{} }

 

dynamic numberOfOutputs { __get; }

 

ReadOnly Property numberOfOutputs() As dynamic

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

channelCount    (declared in AudioNode)

 

property channelCount: Int32 read write;

 

Int32 channelCount { get; set; }

 

var channelCount: Int32 { get{} set{} }

 

Int32 channelCount { __get; __set; }

 

Property channelCount() As Int32

channelCountMode    (declared in AudioNode)

 

property channelCountMode: dynamic read write;

 

dynamic channelCountMode { get; set; }

 

var channelCountMode: dynamic { get{} set{} }

 

dynamic channelCountMode { __get; __set; }

 

Property channelCountMode() As dynamic

channelInterpretation    (declared in AudioNode)

 

property channelInterpretation: dynamic read write;

 

dynamic channelInterpretation { get; set; }

 

var channelInterpretation: dynamic { get{} set{} }

 

dynamic channelInterpretation { __get; __set; }

 

Property channelInterpretation() As dynamic

context    (declared in AudioNode)

 

property context: String read;

 

String context { get; }

 

var context: String { get{} }

 

String context { __get; }

 

ReadOnly Property context() As String

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

numberOfInputs    (declared in AudioNode)

 

property numberOfInputs: dynamic read;

 

dynamic numberOfInputs { get; }

 

var numberOfInputs: dynamic { get{} }

 

dynamic numberOfInputs { __get; }

 

ReadOnly Property numberOfInputs() As dynamic

numberOfOutputs    (declared in AudioNode)

 

property numberOfOutputs: dynamic read;

 

dynamic numberOfOutputs { get; }

 

var numberOfOutputs: dynamic { get{} }

 

dynamic numberOfOutputs { __get; }

 

ReadOnly Property numberOfOutputs() As dynamic

playbackRate

 

property playbackRate: dynamic read write;

 

dynamic playbackRate { get; set; }

 

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

 

dynamic playbackRate { __get; __set; }

 

Property playbackRate() As dynamic

 

connect    (declared in AudioNode)

Allows us to connect the output of this node to be input into another node, either as audio data or as the value of an AudioParam.

 

method connect(pardestination: dynamic; paroutputIndex: dynamic; parinputIndex: dynamic): AudioNode

 

AudioNode connect(dynamic pardestination, dynamic paroutputIndex, dynamic parinputIndex)

 

func connect(_ pardestination: dynamic, _ paroutputIndex: dynamic, _ parinputIndex: dynamic) -> AudioNode

 

AudioNode connect(dynamic pardestination, dynamic paroutputIndex, dynamic parinputIndex)

 

Function connect(pardestination As dynamic, paroutputIndex As dynamic, parinputIndex As dynamic) As AudioNode

Parameters:

  • pardestination:
  • paroutputIndex:
  • parinputIndex:

disconnect    (declared in AudioNode)

Allows us to disconnect the current node from another one it is already connected to.

 

method disconnect(pardestination: dynamic; paroutput: dynamic; parinput: dynamic)

 

void disconnect(dynamic pardestination, dynamic paroutput, dynamic parinput)

 

func disconnect(_ pardestination: dynamic, _ paroutput: dynamic, _ parinput: dynamic)

 

void disconnect(dynamic pardestination, dynamic paroutput, dynamic parinput)

 

Sub disconnect(pardestination As dynamic, paroutput As dynamic, parinput As dynamic)

Parameters:

  • pardestination:
  • paroutput:
  • parinput:

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: