1. Install monkey ' s Audio Console Front End Package
Audacious-mac_0.2.0-1_i386.deb
Mac_3.99-u4-b5-1_i386.deb 2. Install lame, mp3splt tools
sudo apt-get install lame
sudo apt-get install mp3splt
3. Conversion Scripts
Thank you to the Ubuntu Chinese community: zhengb66, ffforg and Thethirdghost.
Modified by their scripts, the Ape music (ape+cue file) of the entire track can be converted to the MP3 file of the component rails (mass 320kb, which can be modified in the script)
#!/bin/sh
PARAM = $#
If [$PARAM-eq 2]; Then
echo ""
echo ""
echo "***********************************"
echo *****step1 convert Ape to wav*****
echo "***********************************"
echo ""
echo ""
Mac "" ' Echo $ | Sed-e ' s/.ape$//' ". wav-d
echo ""
echo ""
echo "***********************************"
echo *****STEP2 convert wav to mp3*****
echo "***********************************"
echo ""
echo ""
Lame-h-B "' Echo $ | Sed-e ' s/.ape$//' ". wav" ' echo $ | Sed-e ' s/.ape$//' ". mp3
RM "' Echo $ | Sed-e ' s/.ape$//' ". wav
echo "************************************"
echo *****step3 Shard MP3 file * * *
echo "************************************"
Mp3splt "' Echo $ | Sed-e ' s/.ape$//' ". Mp3-c" ' Echo $ | Sed-e ' s/.cue$//' ". Cue
RM "' Echo $ | Sed-e ' s/.ape$//' ". mp3
echo ""
Echo-Obama conversion completed. *****
Else
ECHO-E "Usage:ape2mp3 filename (APE) filename (cue)"
Fi