Free batch converter/normalizer to/from CAF (Core Audio Format) file

1

2

Is there any free tool capable of doing the job?

rraallvv

Posted 2012-11-17T01:31:28.760

Reputation: 325

Answers

5

You didn't supply very much information, such as your OS and your desired output format, so I can not give you a detailed answer.

CAF is a container format that can support several audio formats, but Apple Lossless (ALAC) is probably the most common.

ffmpeg can decode ALAC in CAF:

ffmpeg -i input.caf output.wav

This can be turned into a "batch" command with a Bash "for loop".

for f in *.caf; do ffmpeg -i "$f" "${f%.caf}.wav"; done

sox can be added to this example to normalize your audio:

for f in *.caf; do ffmpeg -i "$f" -f sox - | sox --norm=-3 -t sox - "${f%.caf}.wav"; done

As usual, using a recent ffmpeg is recommended since development is so active. See the FFmpeg download page for various methods to acquire it.

llogan

Posted 2012-11-17T01:31:28.760

Reputation: 336

I think that is exactly what I needed. I did a little Googling, and it turns out that ffmpeg and sox are compatible with most platforms, included mine (Mac OS X), thanks very much – None – 2012-11-18T07:56:48.523

0

Sox is great as some above mentioned, I'd check out Sample Manager by audiofile engineering though. It's cheap and awesome. I use it nearly every day.

Dave

Posted 2012-11-17T01:31:28.760

Reputation: 1 116

-1

OSX?

AFCONVERT(1)              BSD General Commands Manual

NAME
     afconvert -- Audio File Convert

SYNOPSIS
     afconvert [-h] src_audiofile dest_audiofile

DESCRIPTION
     Audio File Convert will convert a source audio file to a new audio file 
     with the specified file and data types

georgi

Posted 2012-11-17T01:31:28.760

Reputation: 5 521

hi georgi - this doesn't cover off the normalisation part of the question. – Rory Alsop – 2014-02-28T11:54:59.823

true.. i didn't pay attention to the "normaliser" part of the question. that said, the accepted answer also uses another third party tool (sox) to normalise the sounds. i meant to point out that ffmpeg is overkill. – georgi – 2014-02-28T16:44:05.997