How do I write a JavaScript program to display a waveform from an audio file? I want to use Web Audio and Canvas.
I tried this code:
(new window.Audi
For a (hopefully) simple use and integration of a waveform with your app you might want to check what we are doing at IRCAM, specially the waveform-vis in this particular case.
It's all open source and aimed for modularity (and work in progress)
You can find a demo over here
And the corresponding githug repository