fluid-dev
[Top][All Lists]
Advanced

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

Re: [fluid-dev] Programmatic polyphony count detection in FluidSynth


From: Bartosz Nowotny
Subject: Re: [fluid-dev] Programmatic polyphony count detection in FluidSynth
Date: Fri, 8 Dec 2017 13:51:03 +0100

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 <address@hidden> wrote:

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,  you must enable the "profiling" option. This will add command line interface and the necessary probes inside the library code.

Then using the fluidsynth application console, you only need to use the "profiling commands" to make your measurements (cpu load, numbers of voices, maximum voices

(i.e polyphony) your hardware is capable).

Regards.

 

> Message du 04/12/17 17:54
> De : "Bartosz Nowotny" <address@hidden>
> A : address@hidden
> Copie à :
> Objet : [fluid-dev] Programmatic polyphony count detection in FluidSynth

>
>
Hello,
>
>
I am using FluidSynth on Android. For performance reasons, I am trying to keep the synth.polyphony setting as low as possible while retaining good sounding audio. I have a number songs and soundfonts. I have set up FluidSynth to use 64 simultaneous voices via synth.polyphony and that works for most song and soundfont combinations. Nevertheless, some songs clearly run out of available voices and do not sound right. Is there any way to programmatically detect how many voices a given MIDI song, using a given soundfont, needs? I am trying to strike a balance between performance and good sounding audio. If I pick too little simultaneous voices then I risk some songs not sounding right (or I will have to get rid of them at all), if I pick too many simultaneous voices then I risk sound glitching and playback problems on lower end devices. Knowing how much voices my songs and soundfonts need is the key to getting that balance just right.
>
>
Cheers,
>
Bartosz
>



_______________________________________________
fluid-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/fluid-dev


_______________________________________________
fluid-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/fluid-dev



reply via email to

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