I am looking for a Software from which I can Extract the Sound Waves to be used in a Graphic Software. It is basically for gifting to someone. Can someone guide me in right direction? A command line tool should also be just fine.

  • Do you want to export the whole sound wave to an image? Even for one second of sound that makes a very big image. Or are you OK with only 1000 pixels?
    – Nicolas Raoul
    Commented Nov 5, 2018 at 9:39
  • I came across this recently so haven't used it yet but the html 5 web audio api might be able to help css-tricks.com/introduction-web-audio-api
    – karen
    Commented Nov 5, 2018 at 10:40

1 Answer 1


The FFmpeg showwavespic filter can produce an image of the waveform of an audio input and has a few parameters to customize the output.

Here's an example invocation (from the above link) :

ffmpeg -i audio.flac -lavfi showwavespic=split_channels=1:s=1024x800 waveform.png

Example output: enter image description here

More examples and documentation: https://trac.ffmpeg.org/wiki/Waveform

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.