WebGL Audio Visualizer

This is a simple Spectrogram visualizer using WebAudio to synthesize sound and WebGL to visualize its spectrogram.

The sound used is synthesize in the client using the WebAudio API. It is a linear sine sweep, mildly distorted using a wave shaper. This introduces some harmonics that can be seen in the spectrogram. I decided not to use anti-aliasing filters, so people can listen and see the "wonderful" sound of aliasing.

To render the spectrogram I decided to dynamically generate textures. This way, I can efficiently render the past without having to use a super large mesh. On the down side, this technique produces some visual artifact, probably due to minification/magnification filters used to render the textures.