mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-01 00:21:14 +00:00
fix modulator calc for fixed key and vel
This commit is contained in:
parent
c54990540d
commit
68d12491d2
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue