diff options
author | Florian Jung <florian.a.jung@web.de> | 2012-04-04 20:17:50 +0200 |
---|---|---|
committer | Florian Jung <florian.a.jung@web.de> | 2012-04-04 20:17:50 +0200 |
commit | 829c7f8da9aa285029b9d636edda191b5c2b507b (patch) | |
tree | f82649301e827278a1e8c1a49022b86b82b03641 /synth/note.cpp | |
parent | 531a6e90cbf1cc2afd8eae7683bda48c5cf4506a (diff) |
reset filter-envelopes instead of reattacking
Diffstat (limited to 'synth/note.cpp')
-rw-r--r-- | synth/note.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synth/note.cpp b/synth/note.cpp index d208ae8..54267a8 100644 --- a/synth/note.cpp +++ b/synth/note.cpp @@ -289,7 +289,7 @@ void Note::reattack() for (int i=0;i<n_oscillators;++i) { envelope[i]->reattack(); - factor_env[i]->reattack(); + factor_env[i]->reset(); } if (filter_params.enabled) |