Fixed envelopes not reseting

This commit is contained in:
Roland Rabien 2023-09-20 22:08:18 -07:00
commit 6898ef0dac
3 changed files with 15 additions and 1 deletions

View file

@ -52,13 +52,17 @@ void WavetableVoice::noteStarted()
for (auto& osc : oscillators)
osc.noteOn();
noise.noteOn();
sub.noteOn();
filterADSR.noteOn();
for (auto& a : modADSRs)
a.noteOn();
{
a.reset();
a.noteOn();
}
for (auto& l : modLFOs)
l.noteOn();