diff options
author | Chris Robinson <[email protected]> | 2013-12-29 03:18:31 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-12-29 03:18:31 -0800 |
commit | 1d41122372c821e85a6f150d6435b9c034365e42 (patch) | |
tree | 38ea001d55848fc19743b9710368a8b34342eff8 /Alc/midi/fluidsynth.c | |
parent | deecbbc55d44a0043c92464949c83c9722d6be00 (diff) |
Add filter properties
Diffstat (limited to 'Alc/midi/fluidsynth.c')
-rw-r--r-- | Alc/midi/fluidsynth.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Alc/midi/fluidsynth.c b/Alc/midi/fluidsynth.c index 35092966..b19cfd03 100644 --- a/Alc/midi/fluidsynth.c +++ b/Alc/midi/fluidsynth.c @@ -166,6 +166,10 @@ static int FPreset_noteOn(fluid_preset_t *preset, fluid_synth_t *synth, int chan fluid_voice_gen_set(voice, 5, sound->ModLfoToPitch); fluid_voice_gen_set(voice, 6, sound->VibratoLfoToPitch); fluid_voice_gen_set(voice, 7, sound->ModEnvToPitch); + fluid_voice_gen_set(voice, 8, sound->FilterCutoff); + fluid_voice_gen_set(voice, 9, sound->FilterQ); + fluid_voice_gen_set(voice, 10, sound->ModLfoToFilterCutoff); + fluid_voice_gen_set(voice, 11, sound->ModEnvToFilterCutoff); fluid_voice_gen_set(voice, 25, sound->ModEnv.DelayTime); fluid_voice_gen_set(voice, 26, sound->ModEnv.AttackTime); fluid_voice_gen_set(voice, 27, sound->ModEnv.HoldTime); |