Path: blob/main/files/en-us/web/api/audiobuffer/numberofchannels/index.md
6578 views
------{{ APIRef("Web Audio API") }}
The numberOfChannels property of the {{ domxref("AudioBuffer") }} interface returns an integer representing the number of discrete audio channels described by the PCM data stored in the buffer.
Value
An integer.
Examples
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}