Invisible triplet rests have a visible '3' above them (even though the rests are correctly not shown at all)
The attached example was created in MuseScore, but I've seen this in musicxml files created by music21 as well.
Attachment | Size |
---|---|
InvisibleTripletRestMeasure.musicxml | 3.79 KB |
Comments
Related to #315611: [MusicXML import] [3.6.0 regression] tuplet attributes bracket and show-number imported but not saved in MuseScore format?
In reply to Relates to #315611: … by Jojo-Schmitz
Vaguely related, but definitely not the same bug.
I would expect that, while Musescore should indeed import and save the tuplet bracket and show-number attributes (#315611), it should also (if all the notes/rests in the tuplet are invisible) ignore those tuplet attributes, and simply not show the bracket or number.
In reply to Vaguely related, but… by gregc@mac.com
In this case the bracket and number should both be present but should be marked as "invisible" (similar to the invisible triplet rests). We certainly would not want Number type = None or Bracket type = None. That would be horribly confusing.
In reply to In this case the bracket and… by DanielR
If you open the attached MusicXML file in Finale, the bracket and number are shown according to the triplet's bracket and number attributes if you "Show Hidden Notes and Rests", and are hidden if you don't. Makes sense to me.
In reply to If you open the attached… by gregc@mac.com
FYI, while MuseScore allows changing the "visible" attribute for notes and tuplets separately, MusicXML has a similar attribute "print-object" which applies to notes only. The effect on a tuplet bracket is not specified.
This means MuseScore's export is correct and the desired behaviour on import is open for discussion. I do agree it would make sense to make the tuplet bracket invisible when all contained notes are invisible, but that has simply not been implemented.