Converting ape to MP3 in Ubuntu [88250 original]

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

 


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.