SOX: Merge 2 audiofiles and trim with the length of an audiofile 2017-11-08 15:54:13 I try for a number of evenings to trim an audiofile with the length of an other audiofile. Nothing works to me.This is the situation, I have two audio files:file1.mp3 30 secfile2.mp3 15 secI will merge both files with SOX and the new file must have the length of file2.mp3. I used the command prompt of Windows 10 and windows 7 and uses sox v14.4.2.I've tried: sox - m file1.mp3 file2.mp3 output.mp3 trim 0 "|sox --i -D file2.mp3"This give me the error sox FAIL trim: error parsing position 2.The syntax to use the file length of file2.mp3 is wrong. Does anybody know how I can do this? Or isn't not possible in with the DOS command prompt?