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(); filterADSR.reset();
for (auto& a : modADSRs) for (auto& a : modADSRs)
a.noteOn(); a.reset();
for (auto& l : modLFOs) for (auto& l : modLFOs)
l.reset(); l.reset();
@ -59,10 +59,7 @@ void WavetableVoice::noteStarted()
filterADSR.noteOn(); filterADSR.noteOn();
for (auto& a : modADSRs) for (auto& a : modADSRs)
{
a.reset();
a.noteOn(); a.noteOn();
}
for (auto& l : modLFOs) for (auto& l : modLFOs)
l.noteOn(); l.noteOn();