title: Batch Processing using Sox
body: <p>I know the command for trimming is <code>sox input output trim &lt;start&gt; &lt;duration&gt;</code>. But how do I convert all the .wav files in a folder into 1 second audios?  </p>