All,
I noticed something odd in a recent arrangement I helped a friend with.
In two places the voices split into divisi (once in the upper two parts,
m.3 in the example, and once in the lower two parts a few measures after
the first time. m. 12-13 in the example). We used the temp polyphonic
context (TPC) to set notes/lyrics. But immediately after the TPC rests
are no longer set correctly, being too high on the staff. In all four
instances \voiceOne *is* indicated following the TPC and \voiceOne
\voiceTwo are used in the TPC.
It looks like the rests are being set for an upper voice as if two
voices were still being set on the same staff. See the attached .ly file
for a snippet of what I mean. I had to use the commented /override to
get the rests back to the staff-centered position.
Should Lilypond do this?
Regards,
Guy S.
--
"There is only love, and then oblivion. Love is all we have
to set against hatred." (paraphrased) Ian McEwan
Guy Stalnaker I2@DOIT jstal...@wisc.edu
1210 West Dayton Street Room 3209 CSS Madison WI 53706
work 608.263.8035 fax 608.265.6681
\version "2.16.2"
\language "english"
\header {
title = "Post-Divisi Rest placement error"
}
global = {
\key bf \major
\time 3/4
\tempo 4 = 110
\clef "treble"
}
sopranoOne = {
\global
ef'' d''4 c'' |
bf'2 r4 \bar "||" \time 4/4
<< { \voiceOne d''1 _~ | d''1 }
\new Voice = "sopOneDiv" { \voiceTwo r1 | a''1 }
>> \voiceOne
\bar "||" \key g \major \tempo 4 = 95
%\override Rest #'staff-position = #0
g''2 d''4 b' |
c'' b' a' r4 |
g'2 b'4 d'' |
g'' e'' d'' c'' |
d''2 e''4 g'' |
fs''2. r4 |
e''4 d'' c'' b' |
a' r4 r2 |
r2 a''4 r4 |
g''2 d''4 b' |
c'' b' a' r4 |
}
sopranoTwo = {
\global
c''8 r8 bf'8 r8 a'8 r8 |
f'4 f' r4 | \time 4/4
<<
{ \voiceOne \stemDown r2 a'2 _~ | a'1 }
\new Voice = "sopTwoDiv" { \voiceTwo \stemUp r4 c''2. ^~ | c''1 }
>> \voiceOne | \key g \major \stemNeutral
%\override Rest #'staff-position = #0
r8 b'8 as'4 b' d'' |
a'8 b' c''4 r ef'' |
d''4 d'' d'' b' |
c''8 b' a'4 r d' |
g' r8 g'8 g' a' b' ( c'' ) |
d''2. d''4 |
c''4 b' a' g' |
a'8 b' c'' d'' ef''2 ~ |
ef''2. r4 |
b' b' b' d'' |
a' b' c'' r |
}
altoOne = {
\global
g'8 r8 f'8 r8 ef'8 r8 |
d'4 d' r4 | \time 4/4
r2 r4 fs'4 ~|
fs'1 | \key g \major
d'2 e'4 e' |
e' f' fs' r |
g' fs' e' e' |
ef' g' fs' a' |
b' b' c'' a' |
b'2. r4 |
g' fs' e' e' |
fs' r r
<< { \voiceOne \stemDown s4 | a'2. }
\new Voice = "altoOneDiv" { \voiceTwo \stemUp c''4 ^~ | c''2 }
>> \voiceOne
%\override Rest #'staff-position = #0
r4 |
d'2 e'4 e' |
e' f' fs' r4 |
}
altoTwo = {
\global
ef'8 r8 f'8 r8 f8 r8 |
bf4 bf r | \time 4/4
r1 |
d'1 | \key g \major
g4 r gs r |
a r d' r |
g r gs r |
a r d' f' |
e' g' f' f' |
e'2. r4 |
a4 b c' cs' |
d' r4 r2 |
<< { \voiceOne \stemDown r2 d'4 }
\new Voice = "altoTwoDiv" { \voiceTwo \stemUp r4 fs'2 }
>> \voiceOne
%\override Rest #'staff-position = #0
r4 |
g r gs r |
a r d' r |
}
sopranoIStaff = {
\new Staff { \sopranoOne }
}
sopranoIIStaff = {
\new Staff { \sopranoTwo }
}
altoIStaff = {
\new Staff { \altoOne }
}
altoIIStaff = {
\new Staff { \altoTwo }
}
\score {
\new ChoirStaff <<
\sopranoIStaff
\sopranoIIStaff
\altoIStaff
\altoIIStaff
>>
\layout { }
\midi { }
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user