Exported audio doesn't play loaded soundfont

• Jun 19, 2013 - 16:27
Type
Functional
Severity
S4 - Minor
Status
closed
Project
Tags

1. Open attached score.
2. 'Synthesiser'.
3. 'Add'.
4. Choose a soundfont that isn't Fluid (e.g. GeneralUser GS.sf2).
5. 'Export...'.
6. Choose 'WAV'.
7. 'Save'.
8. Play WAV.

Result: Fluid soundfont sounds.

Using MuseScore 2.0 Nightly Build (cf32380) - Mac 10.7.5.


Comments

It's complicated...

When a score is played in MuseScore, the score is played using the Master synthesizer settings. These settings are global to MuseScore and every score will play with this settings.

Currently, MuseScore doesn't save synthesizer settings (soundfont etc...) in the score by default. But it's possible to save them in a score by pressing the Save button in synthesizer. When a score is loaded, the master synthesizer settings are NOT changed but if the user presses the Load button in the synthesizer, the score settings are loaded in the synthesizer. And they will be used to play all the opened scores.

I would be ideal to change the synthesizer settings for every loaded score and switch them if the score tab is switched. Unfortunately loading synthesizer settings can take a long time, mainly because of SFZ loading time.

When exporting to audio, MuseScore currently uses the score settings, even if they are not loaded in the main synthesizer. If the score doesn't have any settings, default settings are used (so default soundfont). The MuseScore master synthesizer settings are not used, and that's why we don't hear the "correct" soundfont.
A simple workaround would be to Save the current master synth settings in the score by pressing the Save button before exporting to audio. Question is: Is that the expected behavior?