Skip to content

Instantly share code, notes, and snippets.

@michaelkl
Last active April 22, 2017 07:19
Show Gist options
  • Save michaelkl/7b03733b627c02d7e141b8f084813eb0 to your computer and use it in GitHub Desktop.
Save michaelkl/7b03733b627c02d7e141b8f084813eb0 to your computer and use it in GitHub Desktop.
APE to FLAC split and convert
# Install flac, shntool and mac on Archlinux box
sudo yaourt -S flac shntool mac
# Single file:
shntool conv -o flac xxxxx.ape
# Split with cue info:
shntool split -f image.cue -t '%n.%t' -o flac image.ape
# or
cuebreakpoints image.cue | shnsplit -o flac image.ape
# Copy tags
cuetag.sh image.cue *.flac
# Reference:
# http://wood1978.dyndns.org/~wood/wordpress/2009/12/10/converting-monkeys-audio-ape-to-flac/
# http://ppc52776.blogspot.com/2008/12/linux-shntool-apecue-flac.html
# http://aidanjm.wordpress.com/2007/02/15/split-lossless-audio-ape-flac-wv-wav-by-cue-file/
# See also:
# https://aur.archlinux.org/packages/cue2tracks/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment