mrdoob/glsl-sandbox — Issue #12: Audio Uniform
Author: zz85
Created: 2012-02-18 08:24:27+00:00
State: open

this has been on my (and perhaps others') mind and it would probably take a day to integrate but adding this here so I might get to do it sometime ;)

```
uniform float audio;
```

the idea is to run a spectrum analyzer on some background music and pass in the dynamics as an `audio` uniform of value between 0 and 1.

and i initially thought of using the audio wrapper I wrote https://github.com/zz85/audiokeys.js but perhaps we could use the soundcloud or echonest api (which is probably easier to host it on heroku, while providing music in the sandbox :) too?