wOOL’s Blog

Lethal Sweety . Sunny Yawn . Deicidal Jujube . …

Posts Tagged ‘ape to flac

Convert APE to FLAC and split by CUE On Ubuntu 8.04

without comments

Ubuntu 8.04 i386
Language Environment : en_US.utf8

1.
sudo apt-get install flac shntool

2.
Download monkeys-audio_3.99-u4-b5-0.0_i386.deb and libmac2_3.99-u4-b5-0.0_i386.deb from http://debian-multimedia.org/pool/main/m/monkeys-audio/monkeys-audio.php and install them, or you can download monkeys-audio_3.99-u4-b5.orig.tar.gz and compile by yourself.

3.

In Terminal:

shntool split -f CUE_filename.cue -t ‘%n. %t’ -o flac APE_filename.ape

P.S.

‘%n. %t’ means number and title, more information:

-t fmt  name output files in user-specified format based on CUE sheet fields.
(%p = performer, %a = album, %t = track title, %n = track number)
CUE_filename.cue shoud be utf-8 encoded if it includes non-ascii characters, e.g. Chinese or Japanese.

you can use iconv to convert files, e.g.

iconv -t utf-8 -f SHIFT-JIS firstsnow.cue -o firstsnow_utf8.cue
if it occured that “shntool [split]: error: value not in bytes, m:ss, m:ss.ff, or m:ss.nnn format: [.001]“, check the format of CUE file, e.g. if its first line is CATALOG 4540774404049, which is invalidated, delete it or add “REM ” before.

Splitting [CDImage.ape] (18:52.30) –> [01. どんだけファンファーレ.flac] (4:07.65) : 100% OK
Splitting [CDImage.ape] (18:52.30) –> [02. Dドライヴ/ラヴ.flac] (4:53.63) :   100% OK
Splitting [CDImage.ape] (18:52.30) –> [03. loading_konata_speaking.flac] (0:51.73) : 100% OK
Splitting [CDImage.ape] (18:52.30) –> [04. どんだけファンファーレ(off vocal).flac] (4:07.66) : 100% OK
Splitting [CDImage.ape] (18:52.30) –> [05. Dドライヴ/ラヴ(off vocal).flac] (4:50.63) : 100% OK

:) I love 平野綾

Written by wOOL

五月 21, 2008 at 8:24 下午

Posted in Calvados

Tagged with , , , , ,