Split APE images into ogg files and add tags from CUE

April 8th, 2010 — 7:13pm

Turning your APE whole disc into single ogg files with ID3 tags is easy and takes only a few steps.

You’ll need the following programs to complete this tutorial: cuetools, shntool, vorbis-tools.

aptitude install cuetools shntool vorbis-tools

First, move into the folder with the APE disc.

Second, split the disc into tracks.

cuebreakpoints *.cue | shnsplit -o wav *.ape

You’ll find split-track.wav files in the folder. Note: you can you change the “split-track” with the “-a” option.

Next you’ll encode the wav files as ogg files with a 256 bitrate.

oggenc -b 256 *.wav

Then you can remove the wav files.

rm split-track*.wav

Last you’ll add the ID3 tags to the ogg files. (use code if you haven’t named the ogg files something else)

cuetag *.cue split-track*.ogg

Note: don’t forget to remove the unneeded ape and cue files.

Bonus

If you want to complete this task in one line of code, use the following:

cuebreakpoints *.cue | shnsplit -o wav *.ape ; oggenc -b 256 *.wav ; rm split-track*.wav ; cuetag *.cue split-track*.ogg
FacebookTwitterRedditDeliciousDiggMixxStumbleUponShare

Category: Linux | Tags: , , , , 6 comments »

6 Responses to “Split APE images into ogg files and add tags from CUE”

  1. Silvio Levy

    Thanks for the recipe! works great on my laptop.
    On my desktop it fails because mac (which shnsplit depends on for .ape files) wont’ compile.

  2. Quality post

    Aw, this was a really top quality post. In theory I’d like to write like this too – taking time and true work to build a beneficial article… but what can I say… I procrastinate alot and by no means seem to have a thing done.

  3. bet365

    Good day! This was a really great post! I come from Milan. I will visit again.

  4. Rutha Terrell

    I do not even know how I ended up here, but I thought this post was good. You are going to a famous blogger if you aren’t already ;) Cheers!

  5. Best Way to Lose Weight

    I think your post was very interesting!!! I am going to check this page often!! Put up more posts.

  6. Carmen Grabski

    Excellent blog post, I look forward to reading more.

Back to top