EG rate small adjustment
This commit is contained in:
parent
fdda018a70
commit
5a7aa90a8e
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ void ADSREnvelope<Type>::reset(const EGDescription& desc, const Region& region,
|
||||||
auto secondsToExpRate = [sampleRate](Type timeInSeconds) {
|
auto secondsToExpRate = [sampleRate](Type timeInSeconds) {
|
||||||
if (timeInSeconds < config::virtuallyZero)
|
if (timeInSeconds < config::virtuallyZero)
|
||||||
return 0.0;
|
return 0.0;
|
||||||
return std::exp(-10.0 / (timeInSeconds * sampleRate));
|
return std::exp(-8.0 / (timeInSeconds * sampleRate));
|
||||||
};
|
};
|
||||||
|
|
||||||
this->delay = delay + secondsToSamples(desc.getDelay(state, velocity));
|
this->delay = delay + secondsToSamples(desc.getDelay(state, velocity));
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue