Appending two mp3 files

I need to append to mp3 files into a single mp3 file.

let us say we have 1.mp3 and 2.mp3 then we need to append 1 and 2 into 3.mp3 so that the third mp3 file will play the first and then the second mp3 file.

but the sound api by sun does not support the mp3 file format so

AudioInputStream audioInputStream1= AudioSystem.getAudioInputStream(fileIn);

is throwing an unsupported format exception.

but for wav files its working perfect by using the SequenceInputStream.

I need the same for the mp3 files also .

[551 byte] By [surijagadisha] at [2007-11-26 12:35:55]
# 1
Check out the tritonus mp3 plug-in. http://tritonus.org/plugins.htmlI believe that with it you can decode the mp3's andappend them as wav files. Then just encode the audioback to mp3.kari-matti
kari-mattia at 2007-7-7 16:01:11 > top of Java-index,Security,Cryptography...