FMSYNTH_PARAM_KEYBOARD_SCALING_LOW_FACTOR constant

int const FMSYNTH_PARAM_KEYBOARD_SCALING_LOW_FACTOR

< Amplitude scaling factor pow(note_frequency / SCALING_MID_POINT, SCALING_LOW_FACTOR) if the key pressed is in the "low" section of the keyboard. Negative values will boost amplitide for lower frequency keys and attenuate amplitude for higher frequency keys. E.g. A value of -1.0 will add a 6 dB attenuation per octave.

Implementation

static const int FMSYNTH_PARAM_KEYBOARD_SCALING_LOW_FACTOR = 12;