Search code examples
audiovisualizationwaveform

Generate .WAV sound frequency?


Is there any script/tool out there (any language) that will generate .wav file into a waveform image?

Basically I want to upload a small wav file on the web and it will then show an image of waveforms including numbers of seconds (duration).

PS: I did google but no luck.


Solution

  • https://bitbucket.org/corfr/wavegenerator/src

    A friend did this one :

    You need linux (i successfully use Centos & Ubuntu) Libmad

    If i remember that was enough, it generate a .png from a .mp3 file, using libmad so. Code is quite simple to understand, as always feel free to submit improve !

    it will generate a waveform pretty close as what you can found on soundcloud for example...