fluid-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] Android Support


From: Phil Blandford
Subject: Re: [fluid-dev] Android Support
Date: Thu, 18 Jan 2018 04:29:45 +0000


Ok, further progress, once I sorted out my own dumb JNI bugs.. 

I can load a soundfont, play a MIDI file, but it rarely gets to the end - it stops, and won't start again until I restart the test app. The logcat is full of:

[ 01-17 22:50:13.890  2651: 2717 D/         ]
                                             PlayerBase::stop() from IPlayer

once every millisecond (give or take), regardless of whether a file is playing or not.

I'm slowly getting up to speed on both fluidsynth architecture and the Android audio subsystem, but it may be someone who knows more about either or both could make better progress.

The git log on the fluid_opensles.c file seems to indicate it hasn't been touched in 2 years. But it does seem tantalisingly close, just a few fixes away from being a real boon to Android developers who want to use soundfonts in their apps and have a more flexible MIDI than the native Mediaplayer gives them.




> 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:

<snip>

> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]