AudioBuffer

open class AudioBuffer(options: AudioBufferOptions)(source)

The AudioBuffer interface represents a short audio asset residing in memory, created from an audio file using the BaseAudioContext/decodeAudioData method, or from raw data using BaseAudioContext/createBuffer.

MDN Reference

Constructors

Link copied to clipboard
constructor(options: AudioBufferOptions)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun copyFromChannel(destination: Float32Array<ArrayBuffer>, channelNumber: Int, bufferOffset: Int = definedExternally)
Link copied to clipboard
fun copyToChannel(source: Float32Array<ArrayBuffer>, channelNumber: Int, bufferOffset: Int = definedExternally)
Link copied to clipboard