frequencyBinCount
Summary
Half the fftSize (the size of the FFT used for frequency-domain analysis).
Property of apis/webaudio/AnalyserNodeapis/webaudio/AnalyserNode
Syntax
var result = AnalyserNode.frequencyBinCount;
AnalyserNode.frequencyBinCount = value;
Return Value
Returns an object of type unsigned longunsigned long
Examples
var audioCtx = new AudioContext();
var analyser = audioCtx.createAnalyser();
var bufferLength = analyser.frequencyBinCount;
Related specifications
- Web Audio API
- W3C Editor’s Draft