fftSize
Summary
The size of the FFT (Fast Fourier Transform) used for frequency-domain analysis. Must be a power of two in the range 32-2048; defaults to 2048.
Property of apis/webaudio/AnalyserNodeapis/webaudio/AnalyserNode
Syntax
Note: This property is read-only.
var result = AnalyserNode.fftSize;
Return Value
Returns an object of type unsigned longunsigned long
Examples
var audioCtx = new AudioContext();
var analyser = audioCtx.createAnalyser();
analyser.fftSize = 2048;
Related specifications
- Web Audio API
- W3C Editor’s Draft