7

I am looking for some audio editing library which can help to mix two audio files into a single audio file. I don't mean concatenating file one after other. I want to mix second audio file in middle of random seek time of the first file as follow.

Track T1 : 1111111111 Track T2 : 2222

Output expected : 11112222111111

I want to achieve this for android application.

Javal Nanda
  • 1,828
  • 3
  • 14
  • 26
  • Can you not create a third audio file , add 1111, then append 2222 and then the remaining 111111 ?? – rfsk2010 Nov 25 '11 at 10:09
  • @Rihan I am searching for the same library which can give me functionality to split the file into two and then i can concate those 3 files one after other. And i need to port this for my BB app – Javal Nanda Nov 25 '11 at 10:11
  • what format is your file in ? mp3? amr? – rfsk2010 Nov 25 '11 at 10:17
  • When you say "mix" what is your desired output, audio out of the blackberry speakers or a WAV file? – donturner Nov 29 '11 at 08:59
  • a WAV file , or an audio file in any of the supported format amr,wav or mp3 – Javal Nanda Nov 29 '11 at 09:24
  • @JavalNanda I need to overlap(not concatenate one after another) two or more mp3 files . May be you know how to do that in android as you worked with audio file formats in android. I have searched alot about overlaping mp3 files but no luck. Hope you have solution for my problem . Thank you Javal – Harsh Aug 06 '12 at 05:57

2 Answers2

8

The only interesting and useful library I have found for audio editing is Ringdroid (available here: RingDroid Github).

You can check the source code in order to get some insights on how to do what you want.

Hope this helps for now!

Tasnim Khan
  • 207
  • 3
  • 12
Dimitris Makris
  • 5,183
  • 2
  • 34
  • 54
  • @Dimitris...You have any clue how to use this for sound processing? – Sreekanth Karumanaghat Oct 19 '12 at 11:59
  • 2
    Hi, Ringdroid is an amazing Project. I just want to ask, if there is any Example of Merging 2 Audio Files. I have downloaded the Source provided on Google Code, But it doesn't have any Method for Merging Sound Files. Any help is Highly Appreciated. – Salman Khakwani Oct 22 '14 at 10:53
1

The description of this project looks promising: musicg-sound-api .

This API allows developers to extract audio features and operate audio data like reading, cutting and trimming easily from an inputstream

However, the documentation is a little sparse.

AShelly
  • 34,686
  • 15
  • 91
  • 152