Saturday, February 6, 2010

Splitting and converting large .ape files


In a previous post I talked about how a large .flac file can be split into the original CD tracks (provided you have a correct .cue file).
Here is how to do the same for a large .ape file.


Installing the mac utility


APE is Monkey's Audio file format for lossless audio compression. You can find it at tari.in.

For Debian/Ubuntu, install it as follows:
sudo add-apt-repository ppa:robert-tari/main
sudo apt-get update
sudo apt-get install mac

Splitting the .ape file

You can decompress the file(s) directly:
mac CDImage.ape CDImage.wav -d
Now you can split the .wav file the normal way, converting the parts into .flac files at the same time:
cuebreakpoints CDImage.cue | shnsplit -o flac CDImage.wav
...and add the tags from the .cue sheet:
cuetag CDImage.cue split-track*.flac
(If you need to actually convert .flac files to .mp3-s, check out this post.)

2 comments:

  1. check out http://code.google.com/p/split2flac/ ;)

    ReplyDelete
  2. Hey, cool. Thanks for pointing the project out to me. I had no idea it was 'out there'.

    ReplyDelete