Convert Ape music to Mp3 in Ubuntu

Source: Internet
Author: User
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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.