I was looking for software which is able to cut audio files into smaller pieces, for example I set seconds and miliseconds for beginning and end of cutting, and then I can save cut content as new file.
Audacity is capable of doing this.
Audacity is a free, easy-to-use and multilingual audio editor and recorder for Windows, Mac OS X, GNU/Linux and other operating systems. You can use Audacity to:
avconv can do this.
pos is start time in seconds
duration is play time in seconds
Install libav-tools to make it happen.
If you are not sure about the start and end times and want to listen to the segment before making it a new file, you should know that
If you don't want to do math in your head and also would not like to pull up a calculator, you can use the Hour:Minute:Second format instead. The example given above would then be:
Also, keep in mind that if the pieces are not the final output (e.g. you are going to combine them), you might want to keep using the same format as that of the input file.
Another method using mplayer
note that output file will start from 1:00 for a duration of 30 seconds.