Optimize sfz sound fonts loading process

• Aug 14, 2018 - 05:41
Reported version
2.3
Priority
P1 - High
Type
Functional
Severity
S3 - Major
Status
PR created
Regression
No
Workaround
No
Project

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