[linux-audio-user] fluidsynth: click problem fixed

Mikhail Ramendik mr at ramendik.ru
Sun Apr 13 15:20:01 EDT 2003


On Sun, 2003-04-13 at 06:45, Julien Patrick Claassen wrote:

>   the click problem: I also had clicks at the end of the jeux d'orgues 2 font
> and at the end of Rhodes73. It sounds like the release time is kept too short.

I have fixed this problem (by a hack as yet) some hours ago, with
guidance from Markus Nentwig, one of the developers of fluidsynth.

I will hopefully work on getting the fix done properly (that is,
configurable via options), and on proposing it for the main source tree.
If you want to get rid of the problem NOW, get fluidsynth 1.0.1 (if you
don't have it already), and then do the following:

open fluid_voice.c, get to line 1367

after:

count = 1 + NUM_BUFFERS_RELEASE(x);

add:

if (count<98) count = 98;

and the clicks will be gone!

The value of 98 was taken from a temporary debug output while testing
Jeux d'Orgues 1, where the clicks did not happen. A lower value might
work.

-- 
Sincerely yours, Mikhail Ramendik




More information about the Linux-audio-user mailing list