fluid-dev
[Top][All Lists]
Advanced

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

Re: [fluid-dev] Override envelope release time?


From: Tom M.
Subject: Re: [fluid-dev] Override envelope release time?
Date: Wed, 11 Apr 2018 14:50:40 +0200

> I'd like to set the R time to 0 globally so that notes immediately cut
> of when their respective note-off event is received.

The SF2 spec requires a minimum release time of around 16 ms. That's how 
"immediate" you can get.

> Is it possible?

Well... yes it should be, but in fact it is not.

What you're requesting is a job for fluid_synth_set_gen2() and something like 
this should do it:

foreach (c : midichannel)
  fluid_synth_set_gen2(synth, c, GEN_VOLENVRELEASE, 0, TRUE, TRUE);

This sets the generator responsible for volume release to an absolute value of 
0 for each midi channel. However: This feature never worked as it's 
implementation is incomplete. Therefore it was concluded to remove it upon next 
major version bump: 
https://lists.nongnu.org/archive/html/fluid-dev/2017-12/msg00004.html

@Marcus + JJC: Is this use-case worth to keep absolute generators? Or is there 
any other way of achieving what Mark is asking for?

Tom





reply via email to

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