SFZ with space in sample paths cannot be loaded

• Jul 17, 2013 - 16:18
Reported version
2.1
Type
Functional
Severity
S4 - Minor
Status
closed
Project

Musescore 2.0, July 16th nightly build

Symptom: Placed new SFZ (Sonatina) in the correct SFZ directory as specified in my preferences. Successfully used the synthesizer panel to load selected instruments (Grand Piano). I was then able to select those sounds in the mixer panel to play a part, but no sound came out.

Solution: As murphy would have it, the samples for this particular instrument in the SFZ had spaces in the directory name - and so on Windows 7 - it won't find the samples. You could argue that it's not Musescore's fault. I modified the SFZ files and sample directories to not have spaces in the name, and it now works perfectly.

But I thought I should document this for the next person who has the same problem. I also thought that the musescore team might be able to add quotes around the sample path before it attempts to load the samples, as it might enable more SFZ files to be used. BTW - may I say - awesome job. I know that having better sounds for audio playback was not the highest priority, but its just way more FUN when it sounds good. And I think it DOES affect the composer, as I tend to change thing that sound awkward on playback - even if I know its partly (or mostly) the playback system that I'm reacting to.


Comments

Title SFZ with space in sample paths cannot be loaded on Windows SFZ with space in sample paths cannot be loaded

I removed mention about WIndows in the title because I can reproduce this bug on Xubuntu 14.10 (MuseScore commit 5f30234). The soundbank Sonatina Symphonic Orchestra doesn't work by default (no sound), but if I remove spaces, it works.