I'm trying to generate a spectrogram using the SoX program. According to the documentation, I should try the following to create a spectrogram:
sox output.wav -n spectrogram
Instead of a spectrogram I get the following error:
sox FAIL formats: can't determine type of `spectrogram'
I'm running Ubuntu 12.04.
I had this issue when i built SoX on my own. The lack of libpng created a binary without spectrogram effect. In other words, your command is trying to open a file named "spectrogram". Run
and check the if you have this effect.