FMSYNTH_PARAM_VELOCITY_SENSITIVITY constant
int
const FMSYNTH_PARAM_VELOCITY_SENSITIVITY
< Controls velocity sensitivity. If 0.0, operator amplitude is independent of key velocity.
If 1.0, the operator amplitude is fully dependent on key velocity.
factor = (1.0 - VELOCITY_SENSITIVITY) + VELOCITY_SENSITIVITY * velocity
.
velocity
is normalized to 0, 1
.
Implementation
static const int FMSYNTH_PARAM_VELOCITY_SENSITIVITY = 14;