diff --git a/fluidsynth/src/synth/fluid_mod.c b/fluidsynth/src/synth/fluid_mod.c index bdde506c..fb14cab6 100644 --- a/fluidsynth/src/synth/fluid_mod.c +++ b/fluidsynth/src/synth/fluid_mod.c @@ -179,10 +179,10 @@ fluid_mod_get_source_value(const unsigned char mod_src, val = *range; break; case FLUID_MOD_VELOCITY: - val = fluid_voice_get_velocity(voice); + val = fluid_voice_get_actual_velocity(voice); break; case FLUID_MOD_KEY: - val = fluid_voice_get_key(voice); + val = fluid_voice_get_actual_key(voice); break; case FLUID_MOD_KEYPRESSURE: val = fluid_channel_get_key_pressure (chan);