This commit is contained in:
derselbst 2022-03-19 12:39:01 +01:00
parent 35212c55b8
commit ca3b8b3216

View file

@ -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)
{