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

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: [linux-audio-user] fluidsynth: click problem fixed
From: Mikhail Ramendik (mr_AT_ramendik.ru)
Date: Sun Apr 13 2003 - 22:11:23 EEST


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


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sun Apr 13 2003 - 22:24:22 EEST