1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.

    Dismiss Notice

how to Merge two different mp3 files?

Discussion in 'Music' started by gurutech, Jun 29, 2010.
  1. GuruTech
    I need to know if there is a software which let us join / merge two different mp3 files together and let them play as one file eventually?
    how should i do that?
  2. Yoga Flame
    You can use the command line. In Windows:
     copy /b *.mp3 c:\new.mp3 
    In Mac/Linux:
     cat *.mp3 > new.mp3 
    You may replace *.mp3 with typing out all the names of the files that you want to merge. This method simply merges the mp3 files together entirely without changing them. This means there will be no loss in sound quality through lossy re-encoding.
    Another method is to use sound editing software like Audacity. Start a new project and import all the mp3 files you want and combine them manually. You'll get more control over the start/stop points, and even edit out portions or fade in/out. But when you save the final mp3, it will lose a tiny bit of sound quality due to the inherent nature of the mp3 format.
    Finally, there are programs like "MergeMP3", which are probably what you want. I don't know whether they re-encode the mp3 files or not.
  3. Ham Sandwich
    Do you need the files to merge gaplessly?  Or is it OK for them to merge with a gap?
    I don't think it is possible to merge two MP3 files gaplessly without re-encoding them.  Re-encoding from lossy to lossy will do double damage to the audio quality of the file.  Not something you would want to do unless absolutely necessary.  If you must go this route I would suggest going lossy to lossless.  For example going from MP3 to FLAC.  You won't gain any quality by going to FLAC, however you don't lose any quality either and that's the point.  Join the files in an audio editor and convert to a lossless format.
    If you are OK with having a gap between the files there are utilities that will merge or join mp3 files without re-encoding them.  There are some limitations though.  I have never actually done this so I don't have a specific program to recommend.
  4. GuruTech
    i do not need a gap that is what was causing problem but as Ham suggest that after editing i must convert them to lossless format to avoid the audio damage.
    And YogaFlame!
    i need your help here, as you said i must use that command in command prompt but its not working there. They said their is no such file in your system but the file name was write. Will you please write me the axact command once again.
    i have these two mp3 files in MusiQ folder in D drive of hard disk.
    names of these two files i want to merger are Fire.mp3 and Water.mp3
    now tell me how would i write the command in command prompt to join these two
    your help would be highly appreciated. 
  5. E. Cavanaugh
    What about Audacity? Easier than using commands IMO. 
  6. Yoga Flame
    Okay, I'll begin by restating your example.
    We have a folder: D:\MusiQ
    And in that folder are: Fire.mp3 and Water.mp3
    When you start up the command line program, you will probably get something like this:
    That tells you the current folder you are in, and also the current hard drive (C:).
    So the first step is to change to the folder where your music files are. I'll put the actual commands to type in bold.
     C:\Users\YogaFlame> [b]D:[/b] D:\> [b]cd \MusiQ[/b] D:\MusiQ> 
    Now you can use the command from my earlier post.
     D:\MusiQ> [b]copy /b *.mp3 new.mp3[/b] 
    This will merge all the .mp3 files in D:\MusiQ and put the result into new.mp3. You may also type out the file names individually, in case there are other files in the folder that you want to exclude.
    [color=black][font=monospace] D:\MusiQ> [b]copy /b "Fire.mp3" "Water.mp3" new.mp3[/b] [/font][/color]
    I added the "quotation marks" just in case your actual file names have spaces in them. You can also try pressing the tab key while typing the file name, and the command line program should auto-complete it for you.
    The merged new.mp3 file should now be in D:\MusiQ

  7. Ham Sandwich
    Concatenating two mp3 files using the copy command is not the right way to do it.  You will end up with an out of spec or corrupted mp3 file.  MP3 files have header information at the beginning of the file and tag information at both the beginning and the end of the file.  If you just join two MP3 files end to end like that you end up with erroneous header and tag info in the middle of the joined file in addition to having incorrect header information at the beginning of the new joined file.  It's the wrong way to do it.
    You need to use a utility that is specially designed to join MP3 files.  The utility will take into account the file header sections and the tag fields and take into account the size of the last MP3 audio block and many other technical details and join everything together properly in addition to writing new correct header information at the beginning of the new MP3 file.
    I know there are free utilities that do that.  I just don't know of any off-hand.
  8. sanakaku
    why not play with audacity? its a small file and have a lot of tuts in tube.
  9. Ham Sandwich
    I did a quick google and found one freeware MP3 joiner: Merge MP3.
    I haven't tried it.  The description seems to indicate it joins the files without doing any re-encoding so you keep the original quality of the MP3 without any additional degrading.
  10. Crowe09


    True. If you know how to use it, you can make lots. 
  11. Justin Uthadude
    Ham Sandwich is correct about concatenating files. Text files you can get away with it, music files will crash. I use a free program called Goldwave. Just cut and paste the files together. While you're at it, you may want to play with the program. It's a full fledged studio if you want. You can take pops and crackles out of vinyl rips, etc. I record myself playing classical guitar with it. It's rare that I can play certain songs without a mistake, so I paste two halves together to get a mistake-free song. Voila! I can hear what it should sound like until I practice more. You can removes gaps between songs, fade in and out, blah, blah, blah.
  12. batphink
    You can also use Foobar to merge files.
    Ctrl P > Tools > Converter
    You should see a list of available file formats.  Click on the output format you want to use and click Edit to set the bitrate.  When everything is set up properly click Apply then OK.  If you don't see the format you want, go to http://www.foobar2000.org/components and download what you'll need.
    Ctrl N > Alt F > F
    Select the MP3s you want to merge.  Click and drag them into the proper order.  Highlight them > right-click > Convert > ...   .  Choose Merge all tracks into one output file and OK.
  13. GuruTech
    yes! you are right. That is not the right way or may be it was too complicated for me to do it successfully. 
    I used the Merge mp3 software and it worked so great and it was quite easy.
    Thanks to all of you for helping :)
  14. SonicBlast
    Wow! So many recommendations here! Thanks. I'd suggest you to try this software for joining and splitting audio. I've been using it for almost 2 years and it works like a charm!
  15. carcinght1
    I merge multiple MP3 files with an amazing tool named Faasoft MP3 Merger, with which, I can merge many kinds of audio files like MP3, WAV, AAC, FLAC, M4A, etc.

    Love it.

Share This Page