0

Let's say I have multiple mp3 files and I want combine them as 1 mp3 file or save as 1 mp3 file in JAVA.

any ideas?

thanks!

Nurlan
  • 673
  • 4
  • 18
  • I do not know what do you mean when you say "combine". I can imagine the following meanings: 1. concatenate several streams 2. mix them up (for example music and singing) 3. create multi-stream file (that contains several streams) – AlexR May 03 '12 at 14:28
  • @AlexR i mean concatenating in sequential order – Nurlan May 03 '12 at 14:32

1 Answers1

1

You might be able to use JLayer. This is an older library but is reportedly stable. Browsing the api it seems like there may be a way to accomplish your task.

This post seems to have a few more options that you could also investigate.

If you can convert the files to .wav format before you load them into a Java program then maybe this past question could help.

Is there a reason you need to use Java? Tools like FFmpeg can do wonders, although the learning curve can be a little steep.

Community
  • 1
  • 1
chembrad
  • 887
  • 3
  • 19
  • 33
  • actually this task is a part of some java project, thatss why I'm using java :) thank you for your answer! – Nurlan May 03 '12 at 15:33