diff --git a/src/sfizz/Synth.cpp b/src/sfizz/Synth.cpp index 3a872727..0f11bba4 100644 --- a/src/sfizz/Synth.cpp +++ b/src/sfizz/Synth.cpp @@ -1568,6 +1568,15 @@ void sfz::Synth::applySettingsPerVoice() voice->setPitchEGEnabledPerVoice(settingsPerVoice.havePitchEG); voice->setFilterEGEnabledPerVoice(settingsPerVoice.haveFilterEG); } + + if (stealer.getStealingAlgorithm() == + VoiceStealing::StealingAlgorithm::EnvelopeAndAge) { + for (auto& voice : voices) + voice->enablePowerFollower(); + } else { + for (auto& voice : voices) + voice->disablePowerFollower(); + } } void sfz::Synth::setupModMatrix()