newScore does not generate a bass clef when called with "piano" or "grand-piano"

• Jan 18, 2022 - 16:01
Reported version
3.6
Type
Plugins
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
active
Regression
No
Workaround
No
Project

Using Musescore:
OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.6.2.548021803, revision: 3224f34

Using my self written qml plugin: https://musescore.org/en/project/sight-reading-trainer

in this Plugin you find in line: 652:
var score = newScore("Random.mscz", "x", measures);
//var score = newScore("Random.mscz", "grand-piano", measures);
//var score = newScore("Random.mscz", "violin", measures);

If newScore is called with "grand-piano" or "piano", a bass clef shall be added. At least I'd expect that according to https://github.com/musescore/MuseScore/blob/3.x/share/instruments/instr…


Comments