Issue with modulators. #1453
-
Hi everyone, Apologies if this has been asked before! I’m working on an LV2 plugin that wraps FluidSynth in a headless setup. I’ve added LV2 control ports for parameters like Filter Cutoff, Resonance, Volume Attack, Decay, Sustainand Release to introduce variation to the sounds. I’ve encountered some challenges with getting the modulators to respond consistently: Am I correct in thinking that the only way to achieve a “global” filter or amp envelope across all voices is to pre-bake the MIDI CC modulators into the SoundFont? Or is there a more efficient way to handle this? Thanks so much for your time and help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This is one possible option and it is the standard compliant way to achieve this in the Soundfont world. It is the only portable approach across SF2 compliant synth's.
Since you're trying to set up custom default modulators, there is a fluidsynth specific API call for this purpose. Pls. refer to https://github.com/FluidSynth/fluidsynth/wiki/FluidFeatures Setting fluid_gen parameters directly is not appropriate for your use-case. |
Beta Was this translation helpful? Give feedback.
-
appreciate the guidance, thank you. |
Beta Was this translation helpful? Give feedback.
This is one possible option and it is the standard compliant way to achieve this in the Soundfont world. It is the only portable approach across SF2 compliant synth's.
Since you're trying to set up custom default modulators, there is a fluidsynth specific API call for this purpose. Pls. refer to https://github.com/FluidSynth/fluidsynth/wiki/FluidFeatures
Setting fluid_gen parameters directly is not appropriate for your use-case.