[分享]ape + cue --> split wav
Posted: Sun Jul 24, 2005 9:04 pm
要先裝 mac : http://sourceforge.net/projects/mac-port/
ebuilds: http://myweb.ncku.edu.tw/~p4692405/mac.tar.gz
echo "app-cdr/cuetools" >> /etc/portage/package.keywords
emerge mac cuetools shntool
接著 ape2splitwav xxxx.ape yyyy.cue 即可
ape2splitwav內容為:
之後用 cdrecord 或直接用 k3b 來燒錄
ebuilds: http://myweb.ncku.edu.tw/~p4692405/mac.tar.gz
echo "app-cdr/cuetools" >> /etc/portage/package.keywords
emerge mac cuetools shntool
接著 ape2splitwav xxxx.ape yyyy.cue 即可
ape2splitwav內容為:
Code: Select all
#!/bin/bash
apefile=$1
cuefile=$2
wavfile=${apefile%ape}wav
mac $apefile $wavfile -d
echo "ape --> wav complete !"
echo "start to split wav !"
cuebreakpoints $cuefile > offset
shntool split -o wav -f offset $wavfile
rm offset $wavfile
echo "splitting complete !"