[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mid-piece NullVoice creating?
From: |
David Kastrup |
Subject: |
Re: Mid-piece NullVoice creating? |
Date: |
Thu, 10 Sep 2015 13:30:29 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Simon Albrecht <address@hidden> writes:
> Hello,
>
> am I doing anything wrong here?
>
> %%%%%%%%%%%%%
> music = {
> 1
> }
>
> \score {
> \displayMusic {
> \new Staff <<
> \new NullVoice \music
> \new Voice \music
> >>
> \break
> \new GrandStaff <<
> \new Staff <<
> \new NullVoice \music
> \new Voice \music
> >>
> \new Voice \music
> >>
> }
> }
> %%%%%%%%%%%
>
> The second NullVoice (inside the GrandStaff), unlike the first, is not
> included in the same staff as the Voice, but instead gets a staff of
> its own. Bug?
No, just an incorrect analysis of what is happening here. The NullVoice
has nothing to do with it. Remove it and get the same result.
Here is a clue what is really happening.
%%%%%%%%%%%%%
music = {
1
}
\score {
\displayMusic {
\new Staff \with { \override StaffSymbol.color = #red } <<
\new NullVoice \music
\new Voice \music
>>
\break
\new GrandStaff <<
\new Staff <<
% \new NullVoice \music
\new Voice \music
>>
\new Voice \music
>>
}
}
%%%%%%%%%%%
Issue 4579, committed rather recently, tries explaining this phenomenon
somewhat more accurately than before and describes a remedy.
--
David Kastrup