问题
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