Generate and render waveforms from music with the HTML5 canvas element.
JavaScript Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
README.md
js_waveform.rb
player.html
waveform.js

README.md

Canvas Waveform

This program uses SoX to create nice canvas waveforms from music.

Usage:

ruby waveform.rb ~/Music/iTunes/iTunes\ Music/Pink\ Floyd/Meddle/06\ Echoes.mp3

This will create waveform.html, which will look like this in Firefox 3.5.6:

Pink Floyd - Echoes waveform

Notes

Loosely based on http://github.com/rjp/cdcover/blob/master/cdcover.rb