4 ms·
MDN has a good coverage on Web Audio API, including an example of how to set up animation frame-based canvas-drawn visualization. The browser does all the heavy
by eps 6y ago
MDN has a good coverage on Web Audio API, including an example of how to set up animation frame-based canvas-drawn visualization. The browser does all the heavy lifting, including the FFT, making the whole process really quite trivial especially when compared to doing the same with a native desktop program.
https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_A...
https://github.com/mdn/webaudio-examples/ https://github.com/mdn/webaudio-examples/
- greggman3 6y agoAnother here https://stackoverflow.com/a/41443535 https://stackoverflow.com/a/41443535