Using Fluidsynth to play notes from SoundFonts on Android

时间秒杀一切 提交于 2019-12-22 06:16:33

问题


Is there a way to allow android to play sounds using SoundFont files via using FluidSynth? I've been looking at jOrgan but the source code seems to be kind of... overwhelming to say the least.

Problem is that java sound API is not supported in android so a great sample to the project i'm in would have been Java Sound Demo's Midi Synth.

I think I should be fine with some porting from C to JNI but I'm not knowledgeable when it comes to handling audio features (I've only read and started researching today).

Any Help?

Also I've read the following threads and tried available java/android projects with possible solution for this:

  • Intro to the three Android Audio APIs
  • Midi Driver

回答1:


Please refer this app. This app use libfluidsynth.so library.

Karaoke Live MIDI Player DEMO



来源:https://stackoverflow.com/questions/7928421/using-fluidsynth-to-play-notes-from-soundfonts-on-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!