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, but I am unable to find anything that leads to achieving this.
Has anyone been able to do something like this?
Disclaimer: This is a unix-oriented approach (although sox is cross-platform and should get it done on windows only as well).
You’ll need sox – “the [cross-platform] Swiss Army knife of sound processing programs”.
This wrapper perl script, helps you generate any seconds of silence: http://www.boutell.com/scripts/silence.html
silence.plis quite short, so I include it here, since it’s public domains:Then just
lameit: