Optimize sfz sound fonts loading process
When Musescore loads a sfz sound font, it will load all samples into memory. If samples are too large, it may fail to load because memory allocation exceeds 4 Gb (32 bit application has a limit of 4 Gb memory allocation).
But I found a app called "sforzando" which could load these soundfont successfully and only has 700Mb memory allocation, and doesn't affect midi playback quality.
I hope that Musescore can optimize sfz sound fonts loading process and reduce memory allocation. Thanks!
The sound font I'm using (Steinway & Sons D-274): https://github.com/KaleidonKep99/Steinway-D-274
And the missing pedal.wav can be found here: https://github.com/KaleidonKep99/Steinway-B-211/blob/master/Samples/ped…
sforzando: https://www.plogue.com/products/sforzando
Thanks!
Comments
See https://github.com/musescore/MuseScore/pull/2782, which IIRC enables loading SZF on demand
I take it, though, that this isn't ready for prime time.