commit 7861d85c91fda0c016d9e3d92cf893eb2175e0fb
parent 264341ac588cea186b82a598451a3ef33a7dbfe9
Author: Daniel Sheeler <dsheeler@pobox.com>
Date: Sun, 9 Sep 2018 11:27:22 -0500
fix pop in legato notes
do not reset filters for legato notes.
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/Synth/SUBnote.cpp b/src/Synth/SUBnote.cpp
@@ -168,9 +168,8 @@ void SUBnote::setup(float freq,
}
//how much the amplitude is normalised (because the harmonics)
- float reduceamp = setupFilters(pos, false);
+ float reduceamp = setupFilters(pos, legato);
oldreduceamp = reduceamp;
-
volume /= reduceamp;
oldpitchwheel = 0;