From ca3b8b32165d03f53e606b265dc1e67b36e62aa5 Mon Sep 17 00:00:00 2001 From: derselbst Date: Sat, 19 Mar 2022 12:39:01 +0100 Subject: [PATCH] Cleanup --- src/synth/fluid_mod.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/synth/fluid_mod.c b/src/synth/fluid_mod.c index 87130843..c3c1dc6f 100644 --- a/src/synth/fluid_mod.c +++ b/src/synth/fluid_mod.c @@ -429,19 +429,18 @@ fluid_mod_get_value(fluid_mod_t *mod, fluid_voice_t *voice) * */ if(fluid_mod_test_identity(mod, &default_vel2filter_mod)) { -// S. Christian Collins' mod, to stop forcing velocity based filtering /* if (voice->vel < 64){ return (fluid_real_t) mod->amount / 2.0; } else { return (fluid_real_t) mod->amount * (127 - voice->vel) / 127; } + return (fluid_real_t) mod->amount / 2.0; */ - return 0; // (fluid_real_t) mod->amount / 2.0; + // S. Christian Collins' mod, to stop forcing velocity based filtering + return 0; } -// end S. Christian Collins' mod - /* get the initial value of the first source */ if(mod->src1 > FLUID_MOD_NONE) {