Redo last fix correctly

This commit is contained in:
Roland Rabien 2023-09-21 07:34:23 -07:00
commit 7590ad17b8

View file

@ -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();