Hacker News new | ask | show | jobs
by udfalkso 4500 days ago
Awesome. How does the audio analysis work? Is it all happening client side?
1 comments

Yup, all client side. You can view source on the page and read the javascript code doing the Fourier Transforms on the audio sample.
What's the socket.io for?

Also, am I right in saying that you did your own fft rather than use the built in analyser? I tried to do one with the built in analyser a while back and had mixed results.

He's using (or at least loading) the DPS.js library: https://github.com/corbanbrook/dsp.js/