Skip to content

Commit 5a7aa90

Browse files
jpcimapaulfd
authored andcommitted
EG rate small adjustment
1 parent fdda018 commit 5a7aa90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sfizz/ADSREnvelope.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void ADSREnvelope<Type>::reset(const EGDescription& desc, const Region& region,
2626
auto secondsToExpRate = [sampleRate](Type timeInSeconds) {
2727
if (timeInSeconds < config::virtuallyZero)
2828
return 0.0;
29-
return std::exp(-10.0 / (timeInSeconds * sampleRate));
29+
return std::exp(-8.0 / (timeInSeconds * sampleRate));
3030
};
3131

3232
this->delay = delay + secondsToSamples(desc.getDelay(state, velocity));

0 commit comments

Comments
 (0)