You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This "mystery slope" has the effect of scaling the slope by a factor of 9.226f, which means that it would hit the X axis sooner than it otherwise would. Why this specific constant was chosen, I'm not too sure, I suspect this is effectively replicating a bug in the original SF2 synths and measured by ear. Effectively, the specified release time duration is scaled down by 9.226f.
This same effect can also be calculated a different way, one which will allow the voice to cut off sooner:
TinySoundFont/tsf.h
Lines 970 to 971 in e763bd9
This "mystery slope" has the effect of scaling the slope by a factor of 9.226f, which means that it would hit the X axis sooner than it otherwise would. Why this specific constant was chosen, I'm not too sure, I suspect this is effectively replicating a bug in the original SF2 synths and measured by ear. Effectively, the specified release time duration is scaled down by 9.226f.
This same effect can also be calculated a different way, one which will allow the voice to cut off sooner:
This will allow the voice to end a bit earlier, meaning less to render. Whether you can do the same for decay, I'm not sure.
The text was updated successfully, but these errors were encountered: