Add a default ampeg_release
This commit is contained in:
parent
b0d66f08de
commit
1bb2fbdf40
2 changed files with 4 additions and 0 deletions
|
|
@ -231,6 +231,7 @@ namespace Default
|
||||||
constexpr float delayEG { 0 };
|
constexpr float delayEG { 0 };
|
||||||
constexpr float hold { 0 };
|
constexpr float hold { 0 };
|
||||||
constexpr float release { 0 };
|
constexpr float release { 0 };
|
||||||
|
constexpr float ampegRelease { 0.001 }; // Default release to avoid clicks
|
||||||
constexpr float vel2release { 0.0f };
|
constexpr float vel2release { 0.0f };
|
||||||
constexpr float start { 0.0 };
|
constexpr float start { 0.0 };
|
||||||
constexpr float sustain { 100.0 };
|
constexpr float sustain { 100.0 };
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,9 @@ struct Region {
|
||||||
|
|
||||||
gainToEffect.reserve(5); // sufficient room for main and fx1-4
|
gainToEffect.reserve(5); // sufficient room for main and fx1-4
|
||||||
gainToEffect.push_back(1.0); // contribute 100% into the main bus
|
gainToEffect.push_back(1.0); // contribute 100% into the main bus
|
||||||
|
|
||||||
|
// Default amplitude release
|
||||||
|
amplitudeEG.release = Default::ampegRelease;
|
||||||
}
|
}
|
||||||
Region(const Region&) = default;
|
Region(const Region&) = default;
|
||||||
~Region() = default;
|
~Region() = default;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue