1 #ifndef __VelocityCurve_h__
2 #define __VelocityCurve_h__
17 float b = 0.00803821f;
18 float m = 0.00781072f;
21 float r = exp10f(db/20);
22 b = 127/(126*sqrtf(r)) - 1.0f/126;
General MIDI DLS Level 1 Specification: The MIDI Note Velocity value is converted to attenuation in d...
void setDynamicRange(float db)
float velocityToGain(float v)