Audio song mixer in android programmatically

前端 未结 4 1602
梦谈多话
梦谈多话 2020-12-23 18:25

I want to create an audio mixer (DJ music track) kind of app which can create Dj mixer of an audio song. User can select a music song track that can be mixed with two or mo

4条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-23 18:58

    There is no build-in library on Android that supports audio mixing (combining two audio input streams into one output stream). The Java javax.sound library which supports audio mixing was not ported to Android - there's an interesting discussion on Google Groups with Google engineer Diane Hackborn about the decision to not port javax.sound to Android.

    It looks like you have to develop your own solution from scratch. There are several helpful answers on SO on how to combine two audio streams into one:

    Mixing Audio Files

    Audio editing in Android

    Android - Mixing multiple static waveforms into a single AudioTrack

提交回复
热议问题