The number of discrete audio channels described by the PCM audio data.
Property of apis/webaudio/AudioBufferapis/webaudio/AudioBuffer
SyntaxNote: This property is read-only.
var result = AudioBuffer.numberOfChannels;
Return Value
Returns an object of type
Integer
Examplesvar myArrayBuffer = audioCtx.createBuffer(2, frameCount, audioCtx.sampleRate);
var nc = myArrayBuffer.numberOfChannels;
Related specifications
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4