[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [fluid-dev] Re: [PATCH] Updated requested changes to FluidSynth-ADDE
Re: [fluid-dev] Re: [PATCH] Updated requested changes to FluidSynth-ADDENDUM
Mon, 08 Sep 2008 12:57:48 -0700
On Mon, 2008-09-08 at 01:20 -0500, S. Christian Collins wrote:
> There seems to be a bug in the FluidSynth logic that controls the ADSR
> envelope when it is modified during playback (through a modulator or
> NRPN). In the example I used for testing, the bug occurs when I play a
> note with the decay set high (sustain is 0), and then I set the decay
> to 0 while holding the note. This realtime change should cause the
> note to instantly decay to 0 at that point. Instead, when the decay
> is set to 0, FluidSynth sustains the volume at the point it had
> decayed to before the decay was set to 0. The code you discovered is
> a fix for this behavior.
Thanks for the clarification. I'll check it in later today.