From 7590ad17b8a0bde576f9963bb1788363373b69a0 Mon Sep 17 00:00:00 2001 From: Roland Rabien Date: Thu, 21 Sep 2023 07:34:23 -0700 Subject: [PATCH] Redo last fix correctly --- plugin/Source/WavetableVoice.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/plugin/Source/WavetableVoice.cpp b/plugin/Source/WavetableVoice.cpp index 543ae8f..20256a2 100644 --- a/plugin/Source/WavetableVoice.cpp +++ b/plugin/Source/WavetableVoice.cpp @@ -40,7 +40,7 @@ void WavetableVoice::noteStarted() filterADSR.reset(); for (auto& a : modADSRs) - a.noteOn(); + a.reset(); for (auto& l : modLFOs) l.reset(); @@ -59,10 +59,7 @@ void WavetableVoice::noteStarted() filterADSR.noteOn(); for (auto& a : modADSRs) - { - a.reset(); a.noteOn(); - } for (auto& l : modLFOs) l.noteOn();