SATB User Template with C-clefs: auto adding wrong bars

• May 19, 2025 - 12:27

Hello. I have two problems in 4.5.2:
FIRST PROBLEM.
When I construct my SATB 4-staff templates with Soprano, Alto, Tenor C-clefs, there are no problems.
But when I apply it from "My Templates", my score acquires ten bars with 2 Treble clefs (Soprano, Alto voices) and 1 Treble clef an octave lower (Tenor voice). This tempate was saved in folder "Templates", and it has no problems with directory.
Is it bug of MuseScore? Or some of my actions are wrong when I create my Template (or apply it)?

SECOND PROBLEM (with default style and font settings).
When I add alto C-clef to my staff, the symbol of clef is too short. How to fix it?

Attachment Size
Applying the Template.png 185.79 KB
Result of Applying.png 176.64 KB
Short Alto clef.png 156.39 KB

Comments

Curious indeed. I'm getting the same result as you (version 4.5.2). As in your second image, the "new" clefs appear correctly everywhere... except in the first system (which displays the original clefs)
clés.png

In reply to by Jojo-Schmitz

I don't know who you're talking to. Have you tried it yourself? Whether by the SATB Model already in place, or by choosing instruments, Soprano, Alto, etc. then changing clefs, the customized template opens with the original clefs on the first system, then the modified clefs on all the rest of the score.
Example: template2.mscz

In reply to by Jojo-Schmitz

I don't understand your reasoning. Both the OP and myself have opened the SATB template (or chosen the same instruments, as said the result is the same), before changing clefs, saving the score, and dropping it in Documents/MuseScore4/Templates.
When I reopen the program, in “My templates”, I expect to receive the score I saved. Is "our" expectation correct or not?
So, now tell us what you did in particular to get the “Template 2” file?

In reply to by cadiz1

That's what doesn't work. Scores created from a template delete all measures from that template, and that os where you change the clefs, the new score then takes the default clef of the instrument definitions in the score.
And those are the ones I changed (manually, extract the mscx from the mscz and editing it with a plain text editor).

    <Part id="1">
      <Staff id="1">
        <StaffType group="pitched">
          <name>stdNormal</name>
          </StaffType>
        <defaultClef>C1</defaultClef>  <----------added this line
        <bracket type="0" span="4" col="0" visible="1"/>
        </Staff>
 ...
    <Part id="2">
      <Staff id="2">
        <StaffType group="pitched">
          <name>stdNormal</name>
          </StaffType>
        <defaultClef>C3</defaultClef>  <----------added this line
        </Staff>
 ...
    <Part id="3">
      <Staff id="3">
        <StaffType group="pitched">
          <name>stdNormal</name>
          </StaffType>
        <defaultClef>C4</defaultClef>  <----------changed this line
        </Staff>
...
    <Part id="4">
      <Staff id="4">
        <StaffType group="pitched">
          <name>stdNormal</name>
          </StaffType>
        <defaultClef>F</defaultClef>  <----------left this line
        </Staff>
 

No bug in sight it is how templaletrs worked ever since.

In reply to by Jojo-Schmitz

  1. As already mentioned, I didn't create the score from the embedded SATB Template, but by choosing the instruments individually, as for any other score creation: Soprano, Alto, Tenor, Bass, before changing the clefs.
  2. And so in your opinion this isn't a bug, it's the expected result, i.e. the first system with certain clefs, and the following systems with other clefs?
    clés.png

In the meantime, go to you Template folder and open it from there. It opens correctly.
Of course it should open correctly from My Templates. Should be reported. But until it gets fixed, you can open it directly like any score.

In reply to by bobjp

MuseScore can open templates. And in the way cou craeted them: as a set of instruments and style settings.
If yoiu do chanmges to the instruments later in the score (like in measure 1) those are not part of the data that is taken, not part of the style settings nor the list of instruments. That is by design.

In reply to by djaccord1995

As Jojo said, I quote: "A template is a set of instruments and style settings, nothing more "
I knew it, I'm sure, but I needed to be reminded...
So don't expect changes for key signatures, time signatures and clefs to be respected.
Take an example (it's really just an example...) of a score created before it was placed to Documents/MuseScore4/Templates template7.png

Once opened via "My templates", you get this! (image below)
Except, as I pointed out, the change of clefs is preserved in all systems other than the first! Which is completely inconsistent. This is the issue. If we follow the logic of a Template, the original clefs of the instruments should appear in all systems.
In fact, it's perfectly possible to create your own score, just as you like it (with the clefs you want), and leave it in a folder, on your desktop for example. When you use it, just save it under a different name, and your "Template" will still be there for reuse.

templates7bis.png

Do you still have an unanswered question? Please log in first to post your question.