I need to merge two audio files together. Basically place one audio file on top of another and make one file. I have seen some posts on concatenating two audio files, but no
I recommend you take a look at JSyn. I would discourage you to attempt to do it yourself, since it can get complicated with multiple audio formats. It supports a lot more as well.
This worked for me. Use jresources.org to help you. You could use their example: http://www.jsresources.org/examples/MixingAudioInputStream.java.html. For the org.tritonus.share.sampled.TConversionTool package, if you have problems using their library, then download their source code (http://sourceforge.net/projects/tritonus/files/): it's open source, and try using it. I tried it and it worked for me :D. I'm grateful for those guys!