Thank you for all the answers, that's just what I needed!
Regards,
Bartosz
On Tue, Dec 5, 2017 at 12:56 PM, Ceresa Jean-Jacques <
jean-jacques.cer...@orange.fr> wrote:
> Hello,
>
>
>
> >Is there any way to programmatically detect how many voices a given MIDI
> song, using a given soundfont, need
Hello,
>Is there any way to programmatically detect how many voices a given MIDI song,
>using a given soundfont, needs?
This patch (for fluidsynth v 1.1.6) is the tool you need:
https://github.com/FluidSynth/fluidsynth/issues/152 (See FluidProfile_0003.zip.)
A configure time using cmake,
I'm running FluidSynth on Android, and I never had sound glitching with the
default voices count (256 or 512) even using large soundfonts like Fluid R3.
How is your setup ? I suspect a too small AudioTrack buffer size (mine is
about 48000 16bit PCM strereo frames)
On Mon, Dec 4, 2017 at 5:43 PM, M
Hey Bartosz,
you could probably write your own detection routine. FluidSynth keeps a
counter of active voices that you can read
using fluid_synth_get_active_voice_count. One very easy way would be to
patch that into your fluid_synth_write_* function and generate min, max and
avg statistics from it