Page 1 of 1

[分享]ape + cue --> split wav

Posted: Sun Jul 24, 2005 9:04 pm
by seifer
要先裝 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內容為:

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 !"
之後用 cdrecord 或直接用 k3b 來燒錄

Posted: Mon Jul 25, 2005 5:01 pm
by ranma37
我記得 bchunk 好像就可以做到讀 cue 來分割 wav :wink: