I am trying to create a silent / empty mp3 file of (x) seconds using the command line. Quite a simple task I thought!
It seems LAME is able to do something like this, bu
Avoid the nuisance of creating a wav header, and let lame handle a raw file:
dd if=/dev/zero bs=1M count=? | lame -r - - > silence.mp3
setting ?=2 gives a 11 second file (@ standard 44KhZ, etc... parameters).
Note: this was tested on Unix; I understand there are dd and lame for windows, too.