Linux Tips and Tricks

Linux Tips and Tricks

Create Ringtone From MP3 File

December12

Today we are going to see, how to create a ringtone from the MP3 file.

we are going to use the command called “cutmp3”

open the Terminal and type “cutmp3” ( without double quotes )

1
2
3
4
5
6
$ cutmp3
 
cutmp3  version 2.0.2  
 
Usage:  cutmp3 -i file.mp3 [-a inpoint] [-b outpoint] [-f timetable]
               [-o outputprefix] [-e] [-c] [-C] [-q]

If cutmp3 is not installed in your system, then type the below command ( in ubuntu )

1
$ sudo apt-get install cutmp3

Now, we can see, how to cut the mp3 file.

1
2
$ cutmp3 -i test.mp3 -a 0:01 -b 0:20
  saved 0:01.00 - 0:20.00 to 'result0001.mp3'.

-i input file. ( mp3 file )
-a starting point
-b ending point

So, in the above example, i extracted the data from 0:01 second to 0:20 seconds. And the resultant output is saved as “result0001.mp3”

If you want to give the output filename, then use -O (upper case) option.

1
2
3
 
$ cutmp3 -i test.mp3 -a 0:01 -b 0:20 -O output.mp3
  saved 0:01.00 - 0:20.00 to 'output.mp3'.

we have some other aruments also

1
2
-I print the information of the mp3 file.
-f filename ( filename should have the valid time frame. eg: 0:01 1:03 )
posted under Uncategorized

Email will not be published

Website example

Your Comment:


Recent Comments

    Categories