Re: [fluid-dev] Android Support

2018-01-18 Thread Philippe Simons
converted to cmake add this in your CMakeFiles.txt to make FluidSynth available to your project # configure import libs set(distribution_DIR ${CMAKE_SOURCE_DIR}/../../../../distribution) ### INCLUDE FluidSynth LIBRARY ### # Get the absolute path to the FluidSynth library directory get_filename_

Re: [fluid-dev] Android Support

2018-01-18 Thread Philippe Simons
https://github.com/googlesamples/android-audio-high-performance/tree/master/SimpleSynth this a simple synth which generate a sin tone. just replace the implementation of int Synthesizer::render with a call to fluid_synth_write. This project use cmake to build the android native libraries, but yo

Re: [fluid-dev] Android Support

2018-01-18 Thread Phil Blandford
OK, thanks - it's certainly easier to build, but I'm really not clear where I should be calling fluid_synth_write_* - in a driver I've written myself? Are there any examples I can follow? On 18 January 2018 at 09:14, Philippe Simons wrote: > The issue I have with an audio driver on Android, is t

Re: [fluid-dev] Android Support

2018-01-18 Thread Philippe Simons
The issue I have with an audio driver on Android, is that it will never cover all the uses cases that a dev might need. For ex: OpenSL is great for real-time MIDI rendering because it allows to work with very small buffers. (15ms) But for a MIDI player, working with small buffer is not a option (i