How to prevent a double barline when hiding a staff?

• May 8, 2018 - 14:57

I am transcribing a score for voice and piano, and the original score has some passages where the singer is silent. In these cases, the voice staff is hidden.

Before each change from three staffs to two (and vice versa), MuseScore ends the preceding bar with a double barline. However I would like to transcribe the original score exactly, and this edition uses only single barlines as shown in the screenshot.
Single_barline_before_hidden_stave.png

The double barlines can be seen in measures 29 and 41 of the attached test sccore. Is there any way to prevent MuseScore inserting these double barlines? I have tried changing the barline to "Normal", but when the file is closed and re-opened the double barlines are back...
MuseScore_double_barline_before_hidden_stave.png


Comments

There's something very strange going on with this score, it seems to be related to the (apparently unneeded) key sig change in the voice part and the (invisible) courtesy sig. There's also a clef change and a courtesy clef.
Maybe something went wrong during musicxml import?

Your posted image (and also your posted score) show a hidden courtesy key signature (a natural sign) at measure 29 of the voice staff. Does only the singer change key?

See my attachment and compare to your score..

Regards

Attachment Size
Double_barline_2.mscz 48.89 KB

In reply to by Jm6stringer

The hidden courtesy key signature (a natural sign) seems to be inserted by MuseScore in advance of hiding the Voice staff; and the double barline is also enforced by MuseScore each time the file is reopened. So changing the style of the barline to "Normal" doesn't persist.

In reply to by Jm6stringer

@jm6stringer Thank you for the score, which indeed shows no problems at the transition to a hidden staff. What did you do to correct the problem?
<< Does the singer change key? >>
No, the change to a hidden staff occurs when the printed score omits the voice line (because the singer is silent). Per Jojo's suggestion, I agree that the optical music recognition software is probably failing to output correct XML in this situation. And the solution is simply to reach for GIMP: add a blank staff for the voice line before running the pages through OMR...

In reply to by DanielR

Open your score: "Double_barline_when_hiding_voice_staff.mscz" then unhide the empty staves and notice that the voice staff (meas. 30 - 41) has a different key signature than the piano staff below.

So...
1. Click on and delete the invisible courtesy signature at meas. 29. This places the same key signature on all staves.
2. Ctrl click to select the double barlines at meas. 29 and meas. 41 and re-set using Ctrl+R (or use the Inspector).
3. Press delete to turn them (while they are still highlighted) into single barlines.
4. Select the treble clef in the bottom staff of meas. 29 and reset (Ctrl+R).
5. Hide empty staves.

Regards.
P.S. You might also want to clean any unnecessary page break, spacers, etc.

In reply to by Jojo-Schmitz

Sorry, my misunderstanding! What I meant was that in the original score there is no key change for the singer. So iIt's the OMR software which is introducing the mistake when there is no voice stave to recognise.

Thank you both for your comments and help, appreciated!

In reply to by DanielR

You wrote:
What I meant was that in the original score there is no key change for the singer.

Yes indeed, your picture of the original shows no courtesy key signature.
However, both the picture and the attachment of your transcribed score show a key signature change - but only for the singer (kinda weird).
Since fellow MuseScore transcribers sometimes perform their own (weird) editing, I was wondering whether such was your intention. That is why I asked: "Does only the singer change key?"
The answer, as it turns out, is that the courtesy key signature - neither part of the original score, nor your intentional edit - was an OMR anomaly which needed fixing.

Regards.

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