Add a default ampeg_release

This commit is contained in:
Paul Ferrand 2020-09-23 13:27:51 +02:00
parent b0d66f08de
commit 1bb2fbdf40
2 changed files with 4 additions and 0 deletions

View file

@ -231,6 +231,7 @@ namespace Default
constexpr float delayEG { 0 };
constexpr float hold { 0 };
constexpr float release { 0 };
constexpr float ampegRelease { 0.001 }; // Default release to avoid clicks
constexpr float vel2release { 0.0f };
constexpr float start { 0.0 };
constexpr float sustain { 100.0 };

View file

@ -50,6 +50,9 @@ struct Region {
gainToEffect.reserve(5); // sufficient room for main and fx1-4
gainToEffect.push_back(1.0); // contribute 100% into the main bus
// Default amplitude release
amplitudeEG.release = Default::ampegRelease;
}
Region(const Region&) = default;
~Region() = default;