Wednesday, December 28, 2011

Converting Mac sound files using command line


This can be used for lots of sound types:

    afconvert -f caff -d LEI16 slide.mp3 slide.caf

For more info: Good article, Apple Docs

1 comment:

  1. A useful script to convert wav to caf (resulted in 1/8 the original size), just paste the following into Terminal (assumes your in dir with wav files):

    ext="wav"
    for f in *.$ext
    do time afconvert -v -f caff -d ima4 -c 1 $f
    done

    ReplyDelete