mirror of
https://codeberg.org/armin/wavetable.git
synced 2026-09-01 05:50:46 +02:00
Redo last fix correctly
This commit is contained in:
parent
eafadb13c8
commit
7590ad17b8
1 changed files with 1 additions and 4 deletions
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue