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

找不到Code如何播放,不知道要用什麼播放程式等等相關問題都可以在這發問

Moderator: Forums Team

Post Reply
seifer
Posts: 248
Joined: Wed Dec 10, 2003 7:54 am
Location: 台灣/台南

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

Post 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 來燒錄
ranma37
Posts: 106
Joined: Sat Feb 22, 2003 11:24 am
Location: 風城購物袋中心
Contact:

Post by ranma37 »

我記得 bchunk 好像就可以做到讀 cue 來分割 wav :wink:
Post Reply