[SCM] calf/master: + Monosynth: fix portamento for stack-based notes

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:39:14 UTC 2013


The following commit has been merged in the master branch:
commit e7dad7bfb3bdc0ae8b05a164760fd8216572b33c
Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Wed Jan 28 22:52:21 2009 +0000

    + Monosynth: fix portamento for stack-based notes

diff --git a/src/monosynth.cpp b/src/monosynth.cpp
index c6bb2f1..6e919ea 100644
--- a/src/monosynth.cpp
+++ b/src/monosynth.cpp
@@ -472,6 +472,7 @@ void monosynth_audio_module::note_off(int note, int vel)
             last_key = note = stack.nth(stack.count() - 1);
             start_freq = freq;
             target_freq = freq = dsp::note_to_hz(note);
+            porta_time = 0;
             set_frequency();
             if (!(legato & 1)) {
                 envelope.note_on();

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list