numberOfChannels

external val numberOfChannels: Int(source)

The numberOfChannels property of the AudioBuffer interface returns an integer representing the number of discrete audio channels described by the PCM data stored in the buffer.

MDN Reference