I use this command to merge two audio files into one using sox:
sox end.mp3 -p pad 6 0 | sox - -m start.mp3 output.mp3
I was wondering how
To combine mix and effects (pad, trim etc) use the following:
sox -m "|sox end.mp3 -p pad 6 0" start.mp3 output.mp3
The general pattern is:
sox -m input1 input2 ... inputN output
where inputX can be either a filename or a pipe in quotes
"|sox end.mp3 -p pad 6"