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 none on this. Thanks for any help.
Asked
Active
Viewed 1.1k times
7
-
It sounds like what you want is "mixing". There are plenty of questions and answers about this. – Bjorn Roche Sep 25 '12 at 03:35
-
I just ended up calling ffmpeg from java. – Drew H Sep 28 '12 at 18:39
-
Could you explain in detail how you did it and set is as your answer for us? – Patrice Andala May 27 '20 at 11:17
2 Answers
0
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!

Winnifred
- 1,202
- 1
- 8
- 10