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 c0fad84 commit 4fbd190Copy full SHA for 4fbd190
src/AudioTools/AudioLibs/AudioSTK.h
@@ -73,6 +73,7 @@ class STKGenerator : public SoundGenerator<T> {
73
p_instrument->noteOn(frequency, amplitude);
74
}
75
76
+ /// Defines the amplitude (0.0 ... 1.0)
77
void setAmplitude(float amplitude) {
78
this->amplitude = amplitude;
79
if (this->amplitude > 1.0) this->amplitude = 1.0;
0 commit comments