copyFromChannel

fun copyFromChannel(destination: Float32Array<ArrayBuffer>, channelNumber: Int, bufferOffset: Int = definedExternally)(source)

The copyFromChannel() method of the AudioBuffer interface copies the audio sample data from the specified channel of the AudioBuffer to a specified Float32Array.

MDN Reference