Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Is there an easy way to do this?

I have several folders with music files that I want to join. So it would be good if there is a batch solution to this problem.

share|improve this question

5 Answers 5

I use Rogue Ameoba's excellent Fission to do this.

Join Files. Drag and drop one file into another to instantly join them together.

Not quite a batch process if you've got lots of files to join, but dragging and dropping audio files to concatenate into its window is straightforward. Fission does have a free trial but won't allow you to save anything without degrading the audio.

enter image description here

Are these files you want to join part of the same audio stream that have been split up? Be aware that if you're joining compressed audio, the transitions between one track and another at the point of the join may not be seamless, as the compression process removes part of the audio which may be audible when joined back together (if they're lossless, then there should be no problem).

Alternatively, if you want something free, I beleive Audacity will also do this for you.

share|improve this answer
    
I second this recommendation. Audacity is free and powerful, with a huge list of features, but awkward to use for many of them. Fission is streamlined and very capable for certain functions, and easy to use. Check the feature list –  Wheat Williams Apr 18 '12 at 7:33

I've found that Join Together from Doug's Scripts works very well if you've already imported the files into itunes. http://dougscripts.com/itunes/itinfo/jointogether.php I've used this to convert audio books ripped from CD's to chaptered m4b but works with m4a as well

share|improve this answer

It's a cheap shot, but Audacity will allow you to simply copy/paste your tracks into one file. So, no batch solution like you were looking for, but easy copy/paste.

You'll need to download and install the FFmpeg Import/Export Library though.

enter image description here

share|improve this answer

brew install ffmpeg sox

#!/bin/bash

for f in *.m4a; do ffmpeg -i "$f" "${f%m4a}wav"; done
sox *.wav combined.wav
ffmpeg -i combined.wav -acodec libfaac -ac 2 -ab 192k combined.m4a
rm *.wav
share|improve this answer
    
Decompressing to wav, then recompressing may generate significant compression artifacts... –  Adam Davis Apr 17 '12 at 17:32
    
@AdamDavis Yeah, there are utilities to merge MP3 files without re-encoding (like mp3cat), but I didn't find anything for AAC. –  ؘؘؘؘ Apr 17 '12 at 18:12
    
Fission can merge MP3 and AAC without re-encoding. That is one of its great strengths. –  Wheat Williams Apr 18 '12 at 7:35

You can use Garageband too.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.