29 juce::String getName()
const override {
return TRANS(
"Envelope Follower Modifier"); }
39 void initialise (
double sampleRate,
int blockSizeSamples)
override;
48 bool isForModifierSource (
const ModifierSource&)
const override;
60 juce::CachedValue<float> gainDb, attack, hold, release, depth, offset, lowPassEnabled, highPassEnabled, lowPassFrequency, highPassFrequency;
62 lowPassEnabledParam, highPassEnabledParam, lowPassFrequencyParam, highPassFrequencyParam;
65 class EnvelopeFollower;
70 float currentLowPassFrequency = 0.0f, currentHighPassFrequency = 0.0f;
73 void prepareToPlay (
double sampleRate);
77 void valueTreeChanged()
override;
The context passed to plugin render methods to provide it with buffers to fill.