Document directory
- 1. Install the monkey's audio console front end package
- 3. Conversion script
1. Install the 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 and mp3splt tools
Sudo apt-Get install lame
Sudo apt-Get install mp3splt
3. Conversion script
Thank you for your support in the Ubuntu Chinese community, such as zhengb66, ffforg, and thethirdghost.
According to their script, you can convert the whole-track ape music (APE + cue file) into the MP3 file of the component track (the quality is 320kb, you can modify it in the script)
#! /Bin/sh
Param = $ #
If [$ param-EQ 2]; then
Echo ""
Echo ""
Echo "***********************************"
Echo ***** Step 1 converts ape to WAV *****
Echo "***********************************"
Echo ""
Echo ""
Mac "$1" "'echo $1 | sed-E's/. Ape $ //'' ". wav-d
Echo ""
Echo ""
Echo "***********************************"
Echo ***** Step 2 converts wav to MP3 *****
Echo "***********************************"
Echo ""
Echo ""
Lame-H-B 320 "'echo $1 | sed-E's /. ape $ //''". wav "'echo $1 | sed-E's /. ape $ //''". MP3
RM "'echo $1 | sed-E's/. Ape $ //'' ". wav
Echo "************************************"
Echo ***** Step 3: split an MP3 file *****
Echo "************************************"
Mp3splt "'echo $1 | sed-E's /. ape $ //''". MP3-c "'echo $2 | sed-E's /. cue $ //''". cue
RM "'echo $1 | sed-E's/. Ape $ //'' ". MP3
Echo ""
Echo ***** conversion completed! *****
Else
Echo-e "Usage: ape2mp3 filename (APE) filename (cue )"
Fi