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 898acb4 commit f443f19Copy full SHA for f443f19
source/synth.cpp
@@ -107,7 +107,7 @@ float synth::waveform(int instrument, float advance)
107
sample = (lsample + scale * (((float)rand() / (float)RAND_MAX) * 2.0f - 1.0f)) / (1.0f + scale);
108
//printf("sample: %f\n", sample);
109
lastadvance = advance;
110
- float endval = std::min(std::max((lsample + sample) * 4.0f / 3.0f * (1.75f - scale), -1.0f), 1.0f) * 0.4f;
+ float endval = std::min(std::max((lsample + sample) * 4.0f / 3.0f * (1.75f - scale), -1.0f), 1.0f) * 0.2f;
111
//printf("endval: %f\n", endval);
112
return endval;
113
}
0 commit comments