I'm currently using a fluidsynth instance in a application (using the midi api) and load the soundfront directly from a sf2-file (using fluid_synth_sfload). Now I want to change that and load a file directly out of the ram. I have soundfonts in a kind of db and get a void-pointer (+ size) to the data of every file in the db.
Is there a possibility to use the soundfonts like I did until now and only change the way of loading? The ramsfont api didn't look appropriate.