Online Mp3 Cutter

Playing with music file was never so easy. I bumped in to a library getId3 that reads different file format you and put all the needed file headers and required information in front of you.

It’s a PHP library and supports Ogg, WMA, WMV, ASF, WAV, AVI, AAC, VQF, FLAC, MusePack, Real, QuickTime, Monkey’s Audio, MIDI and more file formats. You can find more info about supported files on their official site.

As usual I am wrapping it in to a simple class, that may help. The wrapper class supports two functionality

  1. Extract
  2. Join

Let see how “Extract” function is used.

As you can see you need to specify only two time lines and you will get what you want.

Now to join the two mp3 file you need to do as

It will give you file_1 and file_2 properly joined. At present second file is always gets joined from behind.
And here is the class:

The class needs little more documentation, will try to add that asap. Also will add support to update ID3 tags for mp3 files.

4 Comments
  1. Peter Vermeulen
    October 12, 2013 | Reply
    • Pavan
      October 12, 2013 | Reply
  2. montecast9
    February 25, 2013 | Reply
    • Peter Vermeulen
      October 12, 2013 | Reply

Leave a Reply to Pavan Cancel reply

Your email address will not be published. Required fields are marked *