lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sequential_iterator start-up issue


From: Dan Eble
Subject: Sequential_iterator start-up issue
Date: Sat, 2 May 2020 09:41:31 -0400

RFC on Case 3 below.  Thanks.
— 
Dan

\version "2.20.0"

upper = f''1
lower = e'1

%% CASE 1: When the music in each simultaneous element begins with a
%% note, the upper staff is created first.
\score {
  <<
    \upper
    \lower
  >>
}

%% CASE 2: When there are sets preceding the notes in both branches,
%% the upper staff is still created first.
\score {
  <<
    {
      \set Timing.vocalName = "2a"
      \set Timing.vocalName = "2b"
      \upper
    }
    {
      \set Timing.vocalName = "2"
      \lower
    }
  >>
}

%% CASE 3: When only the first branch begins with a set, the staves
%% switch places.  Surprise!
%%
%% To fix this inconsistency, I suggest that as
%% Sequential_iterator::process() currently handles all the music up
%% to a given moment, Sequential_iterator::construct_children() should
%% handle all music at the initial moment--not just the first element.
%%
\score {
  <<
    {
      \set Timing.vocalName = "3"
      \upper
    }
    \lower
  >>
}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]