HTML5 audio tag with realtime javascript FFT visualization
Over the last couple weeks the #processing.js channel on IRC has been a buzz about David Humphrey’s experimental firefox patches which reveal live audio signal data to javascript. I was able to get a build compiled on my macbook and quickly whipped up this example in processing.js. This demo uses a FFT implemented in javascript and processes a 2048 sample buffer in realtime.
Ajaxian has the full story about how it all came about.
Metaworker javascript library released (alpha)
With the HTML5 Web Workers standard, browsers now have support for Javascript worker threads, which offer the potential for performing heavy computations in the background without causing CPU usage warnings.
metaworker is a library which wraps around the HTML5 Web Workers standard. It provides an API which is very loosely based on Google's MapReduce algorithm. It partitions input, computes sub-solutions and combines sub-solutions into a solution. It's now posted on github in a very alpha form, and includes two motivating examples on usage. An up-to-date version of Firefox and Firebug are required to use the alpha.
