Merging multiple AIFF files from the command line
Solution 1:
You can use FFmpeg. Create a file named input.txt
with the contents (one line for each file):
file 'ex.aiff'
file 'ex2.aiff'
Then run ffmpeg -f concat -i input.txt -c copy output.aiff
.
Solution 2:
Using sox
:
sox 1.aif 2.aif output.aif
Using ffmpeg
:
ffmpeg -f concat -i <(printf %s\\n "file '$PWD/"{1,2}.aif\') -c copy output.aif