Open mrbumpy409 opened 11 months ago
hm, didn't realise there was a setting for this. would solve https://github.com/Birch-san/juicysfplugin/issues/15 too.
not sure if it'd make it easier/harder to implement multichannel support (https://github.com/Birch-san/juicysfplugin/issues/17).
but I'm not myself planning any further development on this. I'm spending all my time on AI nowadays.
Currently, juicysfplugin loads the entire SoundFont into RAM. This can waste a lot of RAM in cases where a single preset is used from a large SoundFont containing many presets, such as a GM bank.
FluidSynth has a setting "synth.dynamic-sample-loading" which loads only the samples from the selected preset into RAM. It would make sense to use this feature with juicysfplugin since it is designed to only load one preset at a time.