以编程方式在android中的音频歌曲混音器 [英] Audio song mixer in android programmatically
问题描述
我想创建一个音频混音器(DJ 音乐曲目)类型的应用程序,它可以创建音频歌曲的 Dj 混音器.用户可以选择一个音乐歌曲轨道,可以与两个或多个单独的节奏、低音或节拍轨道混合,以创建新的修改 Dj 音乐.
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 more separate rhythm, bass or beat tracks to create a new modified Dj music.
我对此进行了大量研究,但找不到任何想法或线索.
I did a lot of research over this but could not find any idea or clue.
如果有人对此有任何想法或参考网址,请分享.
If anyone have some idea or some reference URL regarding this, please share it.
推荐答案
Android 上没有支持音频混合(将两个音频输入流合并为一个输出流)的内置库.支持音频混合的 Java javax.sound
库未移植到 Android - 有一个有趣的 与 Google 工程师 Diane Hackborn 在 Google 网上论坛讨论关于不将 javax.sound
移植到 Android 的决定.
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.
看来您必须从头开始开发自己的解决方案.关于如何将两个音频流合并为一个,SO 上有几个有用的答案:
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:
Android - 将多个静态波形混合成一个 AudioTrack
这篇关于以编程方式在android中的音频歌曲混音器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!