The program below uses the FileReader.readAsBinaryString() function of JavaScript to allow the user to load a .WAV file from the local machine and display its waveform as an image. To see the source code, visithttp://thiscouldbebetter.wordpress.com/2012/12/20/rendering-a-wav-file-using-html5-and-javascript/

Note that, as of this writing, this code has only been tested against a few simple .WAV files. Specifically, it was tested against the ding.wav and chord.wav files located in the C:\Windows\Media folder of Windows systems.