Making sound spectrum images from command line

audioautomationbatchcommand lineimages

Most of the audio editors are able to show us different kinds of audio analysis like this:

enter image description here

  • Wave form (whole file);
  • spectral frequency (whole file);
  • spectrum analysis (for a slice).

The generated images can be saved one way or another.

Is there a command line alternative to do this?

Windows 7. A multi-OS solution is preferred.

Best Answer

One of three tasks could be performed with SoX:

sox file.wav -n spectrogram