Added retrig to ADSRs

This commit is contained in:
Roland Rabien 2023-10-07 10:57:13 -07:00
commit bd58bd1584
7 changed files with 82 additions and 53 deletions

View file

@ -86,7 +86,7 @@ public:
FilterParams() = default;
gin::Parameter::Ptr enable, type, keyTracking, velocityTracking,
frequency, resonance, amount,
frequency, resonance, amount, retrig,
attack, decay, sustain, release, wt1, wt2, sub, noise;
void setup (WavetableAudioProcessor& p);
@ -98,7 +98,7 @@ public:
{
EnvParams() = default;
gin::Parameter::Ptr enable, attack, decay, sustain, release;
gin::Parameter::Ptr enable, attack, decay, sustain, release, retrig;
void setup (WavetableAudioProcessor& p, int idx);
@ -132,7 +132,7 @@ public:
{
ADSRParams() = default;
gin::Parameter::Ptr attack, decay, sustain, release, velocityTracking;
gin::Parameter::Ptr attack, decay, sustain, release, velocityTracking, retrig;
void setup (WavetableAudioProcessor& p);