Split audio files by CUE sheet
Last update
2018-12-12
2018
12-12
«Split CUE+APE/MP3/WAV/...»
1
2
3
4
5
6
7
8
9
apt-get install shntool       # shnsplit command
apt-get install lame          # MP3 encoding
apt-get install monkeys-audio # APE codecs

# you can pass your own custom command after "cust ext=xxx"
shnsplit \
  -o "cust ext=mp3 lame -m s -h -b 256 - %f" \
  -t "%n - %t" \
  -f in.cue in.ape

Note: On the raspberry/raspbian you can download the latest armhf packages from the deb-multimedia repository and install them:

1
2
3
wget https://www.deb-multimedia.org/pool/main/m/monkeys-audio/libmac2_4.11-u4-b5-s7-dmo3_armhf.deb
wget https://www.deb-multimedia.org/pool/main/m/monkeys-audio/monkeys-audio_4.11-u4-b5-s7-dmo1_armhf.deb
dpkg -i libmac*.deb monkeys-audio*.deb

Source: CUE splitting @ archlinux wiki