We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fc0cfb commit 1240f54Copy full SHA for 1240f54
sources/MidiDefs.cpp
@@ -97,6 +97,8 @@ static const float *MidiVelocityVolume10bit = []() -> const float *
97
static float volume[1024];
98
99
auto curve = [](double x) {
100
+ #pragma message("TODO(jpc) improve velocity formula")
101
+ // misbehaved near the zero, too loud in high values
102
const double a = 0.01;
103
const double b = -0.02;
104
double t = a * x + b;
0 commit comments