getChannelData

open external fun getChannelData(channel: Int): Float32Array<ArrayBuffer>(source)

The getChannelData() method of the AudioBuffer Interface returns a Float32Array containing the PCM data associated with the channel, defined by the channel parameter (with 0 representing the first channel).

MDN Reference