On 03.05.2013 17:51, Clemens Ladisch wrote:
sox
Use "stats" to read the files' lengths, then construct a command line
using the "pad" and "trim" effects.
The problem just boiled down to a script that automates the process of
trimming or padding samples to a user-specified length using sox.
Awesome. Anyone? :P