fluid-dev
[Top][All Lists]
Advanced

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

Re: [fluid-dev] notoff -> decay/release


From: jean-jacques.ceresa
Subject: Re: [fluid-dev] notoff -> decay/release
Date: Wed, 14 Jan 2015 11:53:54 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130911 Thunderbird/17.0.9

Hi Frank,
The solution given by Christian "Try using a SoundFont editor to edit the instrument's volume envelope release values" is straightforward.
This is an "offline" solution.
Another "real time" solution should be convenient in the case of music generation by programming is to use fluid_synth_set_gen() just after calling fluid_synth_noteon() and before calling fluid_synth_noteoff().

The reason of changing "instrument's volume envelope release" generator after fluid_synth_noteon() is because this generator value is set by fluid_synth_noteon() to the initial value coming from the soundfont. The same remark should be true for any generator.

This should work. Please tell us if it work (or not).

jjc


Le 24/12/2014 00:13, Frank Dahmen a écrit :
Hi,
if i send a note off to the synth
with fluid_synth_noteoff(synth, channel, note);
the sound stops immediately,
how do i achieve that the sound slowly decays like pressing and releasing a key on a piano?
i tried to set  gen parameter "releaseVolEnv" with fluid_synth_set_gen()
but nothing changes


thanks
Frank


_______________________________________________
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]