[SCM] calf/master: + Organ: shift foldback point accordingly when pitch bend is used

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


The following commit has been merged in the master branch:
commit 35c1ef3348fb8c0ae8d5e3a34906e074970ca5b9
Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Sun Feb 8 20:26:54 2009 +0000

    + Organ: shift foldback point accordingly when pitch bend is used

diff --git a/src/organ.cpp b/src/organ.cpp
index 28fe4d1..69e3867 100644
--- a/src/organ.cpp
+++ b/src/organ.cpp
@@ -571,7 +571,7 @@ void organ_voice::render_block() {
     inertia_pitchbend.step();
     update_pitch();
     dsp::fixed_point<int, 20> tphase, tdphase;
-    unsigned int foldvalue = parameters->foldvalue;
+    unsigned int foldvalue = parameters->foldvalue * inertia_pitchbend.get_last();
     int vibrato_mode = fastf2i_drm(parameters->lfo_mode);
     for (int h = 0; h < 9; h++)
     {

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list