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-有一个有趣的讨论,决定不将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屋!