Hi, this is also my first post to the fluidsynth list, so apologies in
advance for any inadvertent breaches of etiquette!

I've been struggling to build that same fork for a few days, and did manage
it in the end. The problems came down to:

- my Mint distro was not recognised by the setup script (easy one)
- the external/cerbero directory was empty after the git clone, and I had
to download that subdirectory as a zip
- the fluidsynth linked libraries list did not include -landroid (which is
available in the NDK source)
- the dlname libiconv.so.2 had to be changed to libiconv.so, as Android
only accepts .so extensions

I can be more specific if you think it would help, but you might have hit
completely different issues.

Anyway, I've managed to create a basic JNI wrapper and got it working in an
app - sort of. I can load a soundfont, play a note with
fluid_synth_note_on/off, but the sound is rather distorted. I can tell it
to play a file - the logcat shows something is happening, but no sound is
produced. I'm a bit stuck now as I don't know enough about low-level audio
to debug.

I'd really like to hear if anyone has got this up and running.


> Hi, this is my first attempt to post to the fluidsynth list :-)

> I am attempting to use fluidsynth in an Android app I am developing. If
my understanding is correct, there is currently no direct support for
Android. I came across this fork https://github.com/atsushieno/fluidsynth which
seems to add an OpenSLES driver, but I failed miserably to build it after
trying for many hours.

> Are there plans to support Android in fluidsynth directly? I would love
to see that.
_______________________________________________
fluid-dev mailing list
fluid-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/fluid-dev

Reply via email to