Skip to content

Software

  • shntool - A multiā€purpose WAVE data processing and reporting utility
  • bchunk - A Tool to Convert *.raw *.bin files to an ISO file
  • cuetools - Cue and toc file parsers and utilities
  • mp3info - An MP3 technical info viewer and ID3 1.x tag editor
  • vorbis-tools - Extra tools for Ogg-Vorbis
  • wavpack - Audio compression format with lossless, lossy and hybrid compression modes
  • flac - Free Lossless Audio Codec
  • mac - APE codec and decompressor

Split

Split file:

shnsplit -f file.cue file.ape
shnsplit -f file.cue file.flac

Split and rename:

shnsplit -f file.cue -t "%p - %a - %n - %t" file.ape
  • %p - Performer
  • %a - Album
  • %n - Track number
  • %t - Track title

Split and re-encode:

shnsplit -f file.cue -o flac file.ape

Without -o ape an ape file was split into wav.

Another way:

cuebreakpoints file.cue | shnsplit file.flac
cuebreakpoints file.cue | shnsplit file.ape

Errors

Missing codec (mac Monkey's Audio Codec)

shnsplit: warning: failed to read data from input file using format: [ape]
shnsplit:          + you may not have permission to read file: [file.ape]
shnsplit:          + arguments may be incorrect for decoder: [mac]
shnsplit:          + verify that the decoder is installed and in your PATH
shnsplit:          + this file may be unsupported, truncated or corrupt
shnsplit: error: cannot continue due to error(s) shown above

Links