Re: [fluid-dev] Loading soundfonts from ram

2008-11-02 Thread Josh Green
Hello, Swami (http://swami.resonance.org) does its own instrument handling using the FluidSynth SoundFont loader API. You could have a look at src/plugins/fluidsynth.c to get an idea of how this works, although it might be difficult to sort out the parts you want versus the rest of the code. All

Re: [fluid-dev] Loading soundfonts from ram

2008-11-02 Thread Antoine Schmitt
Indeed the ramsfont is for creating a soundfont in ram and incrementally adding samples in it. As it is I dont think that fluid can load soundfonts from ram. You'd have to tweak the soundfont loader for that. Actually, such an extension (reading a soundfont from ram) would be interesting in o

[fluid-dev] Loading soundfonts from ram

2008-11-02 Thread thomasg
Hi, 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 t