From 708221d59cfb995cabb562391189493eebc55b77 Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Sat, 28 Mar 2020 18:16:02 +0100 Subject: [PATCH] Fix for special controller mode. --- config.h | 2 +- controllers.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.h b/config.h index d2f0f77..772e327 100644 --- a/config.h +++ b/config.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_CUTOFF_HZ 3000 // FX-CHAIN ENABLE/DISABLE -//#define USE_FX 1 +#define USE_FX 1 //************************************************************************************************* //* AUDIO SOFTWARE SETTINGS diff --git a/controllers.h b/controllers.h index ccab9e7..e15144d 100644 --- a/controllers.h +++ b/controllers.h @@ -83,7 +83,7 @@ class Controllers { total = (float)(127 - cc) * range; // REVERSE mode break; 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; }