diff options
Diffstat (limited to 'src/adsr.c')
-rw-r--r-- | src/adsr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -43,5 +43,5 @@ adsr_amplitude(adsr_t *adsr, float noteOn, float noteOff, unsigned long long ela if (mod <= 0.000) mod = 0.0; - return clamp(mod); + return clamp(mod, -1, 1); } |