Fix for special controller mode.

pull/32/head
Holger Wirtz 5 years ago
parent 5dac0ff9dc
commit 708221d59c
  1. 2
      config.h
  2. 2
      controllers.h

@ -94,7 +94,7 @@
#define MOD_FILTER_OUTPUT MOD_NO_FILTER_OUTPUT // MOD_LINKWITZ_RILEY_FILTER_OUTPUT MOD_BUTTERWORTH_FILTER_OUTPUT MOD_NO_FILTER_OUTPUT #define MOD_FILTER_OUTPUT MOD_NO_FILTER_OUTPUT // MOD_LINKWITZ_RILEY_FILTER_OUTPUT MOD_BUTTERWORTH_FILTER_OUTPUT MOD_NO_FILTER_OUTPUT
#define MOD_FILTER_CUTOFF_HZ 3000 #define MOD_FILTER_CUTOFF_HZ 3000
// FX-CHAIN ENABLE/DISABLE // FX-CHAIN ENABLE/DISABLE
//#define USE_FX 1 #define USE_FX 1
//************************************************************************************************* //*************************************************************************************************
//* AUDIO SOFTWARE SETTINGS //* AUDIO SOFTWARE SETTINGS

@ -83,7 +83,7 @@ class Controllers {
total = (float)(127 - cc) * range; // REVERSE mode total = (float)(127 - cc) * range; // REVERSE mode
break; break;
case 2: case 2:
total = 100 - range + (float)cc * range / 100; // Special BC mode by opus.quattre total = 100.0 - range + (float)cc * range / 100.0; // Special BC mode by Thierry (opus.quatre)
break; break;
} }

Loading…
Cancel
Save