This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

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