[Top][All Lists]

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

Re: [fluid-dev] Velocity to gain formula

From: S. Christian Collins
Subject: Re: [fluid-dev] Velocity to gain formula
Date: Fri, 12 Dec 2014 17:28:57 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

Okay, I might get some of the terminology wrong here (being a SoundFont designer but not a developer), but as I understand it, the default velocity-to-attenuation curve is -96 dB (at 0 velocity) to 0 dB (at 127 velocity). This is not calculated linearly but on a concave curve (which is the most natural-sounding). Now, if your SoundFont player supports SoundFont 2.01 modulators (FluidSynth does), you can change the velocity curve using a SoundFont editor. Not all SoundFont editors will let you modify this parameter, however. For some instruments, I like to set the bottom of the curve to -80 dB or even -70 dB, which gives a less extreme difference between high and low velocities. This is good for brass and some wind instruments.

So, you shouldn't need to apply more gain to lower velocity levels... having the right curve should take care of that. The only exception is if your samples aren't normalized, and then you might want to boost the lower velocity levels a bit to make up for the quieter samples.

What OS and SoundFont editor(s) are you using?

On 11/29/2014 08:55 AM, Никита Соколов wrote:
​Could you tell what formula is for velocity to gain? I want to create a soundfont with velocity layers, and I think, I should apply gain to lower levels of velocity, right?​

fluid-dev mailing list

reply via email to

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