Friday, May 28th, 2010p>David Humphrey and the hit squad of audio gurus have some new amazing demos for us. Perfect for a Friday. This is all through the rich Mozilla Audio API work which will hopefully be pushed into other browsers at some point in the not so distant future.
Charles Cliffe has some awesome WebGL visualizations from Audio. David narrates:
In order to do this he had to overcome some interesting problems, for example, how to load large binary voice databases into the page. The straightforward approach of using a JS array was brittle, with JS sometimes running out of stack space trying to initialize the array. After trying various obvious ways, Yury decided to use the web to his advantage, and pushed the binary data into a PNG, then loaded it into a canvas, where getImageData allows him to access the bytes very quickly, using another typed array. The browser takes care of downloading and re-inflating the data automatically. Here’s what the database looks like:
My favourite line is:
What began as a series of experiments by a small group of strangers, has now turned into something much larger.
What an awesome community you guys have… and we are all benefitting. Thank you.
Posted by Dion Almaer at 7:01 am