Some times you might want to cut out your favorite background score of a music track for setting as ring tone on your mobile phone. There are number of tools available, most of them are shareware(you need to pay after limited usage).
If you have mp3 file, you can do it your self without wasting your money on that. You will need some knowledge about command prompt(cmd). Here is how you do.
First we need do install mplayer, lame.
Download mplayer from
Windows: http://www1.mplayerhq.hu/MPlayer/releases/win32/MPlayer-mingw32-1.0rc1.zip (or latest)
Linux: http://www1.mplayerhq.hu/MPlayer/releases/ (you will have to compile or search for binary package)
Dowload lame from
Windows: http://www.rarewares.org/mp3-lame-bundle.php (usually first Download link)
Linux: http://lame.sourceforge.net/ (you will have to compile or search for binary package)
Following instructions are targeted at Windows users, Linux users can transform it to there platform.
Extract/Unzip MPlayer-mingw32-1.0rc1.zip to C:\mplayer (or a location you desire, need to change commands accordingly)
Extract/Unzip lame3.98.2.zip to C:\lame
Assuming you are having mp3 file in the Desktop
Open command prompt
Go to Start > Run, enter “cmd” (without quotes) and click OK
Change to the location of mp3 file
cd Desktop
Now type in the following commands (change your input file name, or you have downloaded latest path changes accordingly)
"C:\mplayer\MPlayer-1.0rc2\mplayer.exe" -ss 00:00:11 -endpos 00:00:20 -ao pcm:file=out.wav input.mp3
"C:\lame\lame.exe" -V2 out.wav output.mp3
Now first command needs some explanation, since you will need to cut a specific portion from that mp3 file.
-ss 00:00:10 specifies starting position, if you want to start from 1 minute and 3 second use -ss 00:01:03.
-endpos 00:00:20 specifies length, if you want to cut for 2 minute and 30 second use -endpos 00:02:30.
You will see a new file output.mp3 created on you Desktop, which the portion of audio you want to cut from a mp3 file.
Try it your self!!