[SCM] calf/master: + Organ: make 9x louder, remove test expression pedal support

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:38:41 UTC 2013


The following commit has been merged in the master branch:
commit 357756ae935d54f347f91983a662e5d9c6ebe5e4
Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Thu Nov 27 21:13:55 2008 +0000

    + Organ: make 9x louder, remove test expression pedal support

diff --git a/src/calf/organ.h b/src/calf/organ.h
index 998730d..5d44c98 100644
--- a/src/calf/organ.h
+++ b/src/calf/organ.h
@@ -307,7 +307,7 @@ struct drawbar_organ: public dsp::basic_synth, public calf_plugins::organ_enums
         }
         if (percussion.get_active())
             percussion.render_percussion_to(buf, nsamples);
-        float gain = parameters->master * (1.0 / (9 * 8));
+        float gain = parameters->master * (1.0 / 8);
         for (int i=0; i<nsamples; i++) {
             output[0][i] = gain*buf[i][0];
             output[1][i] = gain*buf[i][1];
@@ -332,10 +332,12 @@ struct drawbar_organ: public dsp::basic_synth, public calf_plugins::organ_enums
     void update_params();
     void control_change(int controller, int value)
     {
+#if 0
         if (controller == 11)
         {
             parameters->cutoff = value / 64.0 - 1;
         }
+#endif
         dsp::basic_synth::control_change(controller, value);
     }
     void pitch_bend(int amt);

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list