mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 06:51:54 +00:00
Cleanup
This commit is contained in:
parent
35212c55b8
commit
ca3b8b3216
1 changed files with 3 additions and 4 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue