Replies: 4 comments
-
I've converted this to a discussion because your request is currently way too vague. Firstly: Pls. describe your use case! So far, you have only argued: "Others have it so fluidsynth needs to have it as well." - I do not support this way of arguing. Secondly: I have no idea, what these "global ADSR volume" parameters should behave like nor influence on a technical level nor add up with the already existing ADSR logic of the SF2 spec. Perhaps I could derive it from your use case if you had provided one. And after that, we can think about if / how to implement or support this case. |
Beta Was this translation helpful? Give feedback.
-
@derselbst If what I am saying does not make sense, you can think of it somewhat similar to the “legato / glide” parameters offered by Fluidsynth (which is another parameter that I wish developers of GUIs for Fluidsynth would make available in their GUIs) |
Beta Was this translation helpful? Give feedback.
-
Sorry, I accidentally dropped by and can't help wondering: What are you even arguing about? Those global envelope parameters are in the spec (see http://www.synthfont.com/SFSPEC21.PDF, page 48, parameters # 25 thru 30) and in the fluid_gen_type enum , so they should be modifiable with fluid_synth_set_gen(), no? Or am I missing something here? |
Beta Was this translation helpful? Give feedback.
-
Right. I am indeed not amused if someone bypasses the community by directly opening a feature-ticket, ignoring that it says "Feature requests should be discussed by the community, either on the mailing list or via a GitHub Discussion. Please bring up your ideas there before opening tickets." And even less amused when the first sentence I read is "Have seen some stuff mentioned about this here and there...". Back to topic. All the parameters, like modulation, ADSR, vibrato, etc. can be manipulated in realtime by using modulators. This is the way the SoundFont specification wants people to do things. And this is what's written in our wiki. E.g. you can set up a modulator for a particular instrument that allows you to e.g. let CC23 control the release time. If you want this handling to be "global" you just need to add this modulator to all instruments in the SoundFont (with a SoundFont editor). This way, the realtime-manipulation would be even fully portable among SF2-compliant players. Alternatively, you can use fluid_synth_add_default_mod() to do this programmatically when targeting fluidsynth specifically. I have done this to properly play back N64 Tunes, just like Brich-san has done it for JuicySF. Or you can use the function mentioned by Albert. Though this would apply to MIDI channels and not instruments (tiny difference that will matter when rapidly changing instruments on channels). Or you can use the synth's API to retrieve and manipulate individual voices. Controls are possible on so many levels that I currently don't see what you are missing in fluidsynth, sry. |
Beta Was this translation helpful? Give feedback.
-
Have seen some stuff mentioned about this here and there in the past but was wondering if it would be possible to add global volume envelope ADSR parameters.
Fluidsynth seems to offer tons of parameters to the developers who build from it but as far as I know it does not contain global parameters for this currently.
I have seen many Soundfont players in Windows (that are not Fluidsynth based) offer these global ADSR parameters, so it is possible to achieve with the Soundfont format.
In Linux especially I have noticed that Fluidsynth is the base for literally all software that provides Soundfont support.
Every GUI created with the software produces the same / similar interface that contains two effects chorus and reverb with four parameter knobs a piece.
Without this feature this means that the Linux platform will never have a Soundfont player that has these controls available.
If feel that it is needed can also add an on/off parameter to be able to turn this envelope on and off so that user does not have to set the four ADSR knobs back to achieve the same results.
The next challenge will be getting a developer of a Soundfont player built off of Fluidsynth to actually add the parameters to their GUI but at least they will be there if they agree to do so.
I apologize for bringing this topic up again.
Even if an answer is provided that the developers of Fluidsynth are not interested in this feature would be helpful to know.
Thank You to anyone working on the project.
Beta Was this translation helpful? Give feedback.
All reactions