fix modulator calc for fixed key and vel

This commit is contained in:
derselbst 2017-09-03 00:56:32 +02:00
parent c54990540d
commit 68d12491d2

View file

@ -179,10 +179,10 @@ fluid_mod_get_source_value(const unsigned char mod_src,
val = *range; val = *range;
break; break;
case FLUID_MOD_VELOCITY: case FLUID_MOD_VELOCITY:
val = fluid_voice_get_velocity(voice); val = fluid_voice_get_actual_velocity(voice);
break; break;
case FLUID_MOD_KEY: case FLUID_MOD_KEY:
val = fluid_voice_get_key(voice); val = fluid_voice_get_actual_key(voice);
break; break;
case FLUID_MOD_KEYPRESSURE: case FLUID_MOD_KEYPRESSURE:
val = fluid_channel_get_key_pressure (chan); val = fluid_channel_get_key_pressure (chan);