mirror of
https://codeberg.org/armin/wavetable.git
synced 2026-09-01 05:50:46 +02:00
Fixed envelopes not reseting
This commit is contained in:
parent
138c2ab433
commit
6898ef0dac
3 changed files with 15 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue