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, visit

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.