How to merge two audio files into one on Android

I want to merge two audio files. (Audio file + B audio file = AB audio file)

After searching, I think the following steps will work

  • Using AudioTrack.
  • PCM decoding from audio files.
  • Combine PCM.

Are these steps correct, if not, what will be another way to achieve it?

Is there an example and library source available for viewing?

+3
source share
1 answer

For information on this, check out Audio Development for Android . He is going to do some research, I know little about Android, or I would help further.

-3
source

Source: https://habr.com/ru/post/1767639/


All Articles