5

I was able to play both the audio(mp3, wav, etc) and midi music(.mid) at a time using SoundPool Class. But how can i save the output(mixer of audio file + midi music) into an audio file(mp3, wav, etc.,).

Please suggest me best approach to achieve this. Thanks in advance.

Jonas
  • 121,568
  • 97
  • 310
  • 388
sandeep
  • 481
  • 1
  • 6
  • 14
  • There's no API for capturing audio output (except the `Visualizer`, but it will only give you low-quality audio intended for visualization purposes). To do what you want to achieve you'd have to handle the audio decoding, mixing and encoding within your app (i.e. not using Android APIs). – Michael Mar 18 '14 at 09:12

0 Answers0