I am trying to merge 2 wave files into one file. The 2 files should start playing at the beginning of the new file. Independently of sound length. Running the following command
For cases like Calmarius is asking:
sox -m in1.wav in2.wav out.wav trim 0 `soxi -D in1.wav`
this stops at the length of in1.wav, for cases you know the shorter. Otherwise just add a comparator.