Re: FFT & IFFT with the Web Audio API

On Jun 17, 2013, at 11:29 AM, Marcus Geelnard <> wrote:

> My original proposal was to rip the FFT part out of the analyzer node (it can just as well give the time domain signal only), and expose the FFT functionality in a JS interface instead. That way we would have the same functionality and performance for the analyzer node (when combined with the JS FFT interface), but the FFT primitive could be used in the ScriptProcessorNode too for a wide range of interesting effects (not to mention for using it for non-Web Audio stuff as well).

As I said just last week, I think even better would be a "SpectralProcessorNode", which would act exactly like the ScriptProcessorNode except on spectral data.  You could control parameters like overlap, window, and fft size, and these would have reasonable defaults.  I think just exposing an FFT function would be a little too "low-level" in character compared to the rest of the web audio API.


Received on Monday, 17 June 2013 15:56:43 UTC