2 ms·
The demo in the video is running an FFT (implemted in js) on a 2048 sample buffer. I was surprised at frist to see that js could handle this in realtime. David
by Corban 17y ago
The demo in the video is running an FFT (implemted in js) on a 2048 sample buffer. I was surprised at frist to see that js could handle this in realtime.
David Humphrey’s latest patch (which we are currently testing) implements the FFT in C++ within Firefox and reveals the spectrum data to js. The hope is that this frees up more cycles for animation/other calculations on the js side.
We are currently discussing which features we would like added to the API. If you would like to join in on the discussion, we hang out in #processing.js / irc.mozilla.org