Next we will share with you how to convert music in Ape format to Mp3 in Ubuntu, hoping it will be useful to you! 1. Install the monkey'saudioconsolefrontend package audacious-mac_0.2.0-1_i386.debmac_3.99-u4-b5-1_i386.deb2. Install lame, mp3splt tool sudoapt-getinstalllamesudoapt-ge
Next we will share with you how to convert music in Ape format to Mp3 in Ubuntu, hoping it will be useful to you!
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