diff options
author | Chris Robinson <[email protected]> | 2013-12-29 02:25:40 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-12-29 02:25:40 -0800 |
commit | d9aedc14167c7f5c4fc02f95de6be89ef8db63c2 (patch) | |
tree | c484a1e0cb9928df7873b03221f2f3bf4b6a1cfa /Alc/midi/fluidsynth.c | |
parent | fc928bb75a8b677e101785e50b8c4cf0d39a62aa (diff) |
Add a few more pitch properties
Diffstat (limited to 'Alc/midi/fluidsynth.c')
-rw-r--r-- | Alc/midi/fluidsynth.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Alc/midi/fluidsynth.c b/Alc/midi/fluidsynth.c index d5174887..7855132a 100644 --- a/Alc/midi/fluidsynth.c +++ b/Alc/midi/fluidsynth.c @@ -163,6 +163,9 @@ static int FPreset_noteOn(fluid_preset_t *preset, fluid_synth_t *synth, int chan if(voice == NULL) return FLUID_FAILED; + 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, 33, sound->VolEnv.DelayTime); fluid_voice_gen_set(voice, 34, sound->VolEnv.AttackTime); fluid_voice_gen_set(voice, 35, sound->VolEnv.HoldTime); |