MING TSANG wrote Sunday, May 03, 2015 11:48 AM
> I coded soprano staff to bar 20 ---- compile in v2.19.19 and no notes
> displayed.
> Then I continue to code piano-right staff to bar 6 ---- compile in v2.19.19
> and I can see notes appear on soprano staff but only up to bar 7 's first
> g'2. Partial bar 7 to bar 20 disapear. Piano-right display bar 1-6 as
> expected. However, bar 7 -20 also displayed with staff lines. Piano-left
> staff display bar 1 as expected because only bar 1 is coded.
> Then I switch to compile v2.18 all 20 bar of soprano staff appears, however
> piano-right staff display all 6 bars that is coded. Bar 7 - 20 display staff
> lines (no notes are expected - not coded yet). piano-left display as
> expected. Strange .....
This is a consequence of Issue 2010, I believe, applied to version 2.19.16,
which seems to do strange things when contexts terminate before others. In
developing the satb.ly built-in template I found I had to ensure all contexts
which run out of notes prematurely had to be kept alive to avoid strange
effects like this.
I suggest you consider using the built-in template for simple vocal pieces
(see
http://www.lilypond.org/doc/v2.19/Documentation/learning/built_002din-templates)
which you may find easier to use anyway and which avoids this effect. I've
attached your source code converted to use it, as a teaser.
Trevor
\version "2.19.19"
\language "english"
\header {
title = "æ±ä¸»ææå¦ä½ç¦±å"
subtitle = "Lord, Teach Me How To Pray"
composer = "æ²: é»æ¥¨è"
poet = "è© : é³ä¾ç"
% Remove default LilyPond tagline
tagline = ##f
}
\paper {
#(set-paper-size "letter")
}
Layout = \layout {
\context {
\Voice
\consists "Melody_engraver"
\override Stem #'neutral-direction = #'()
}
}
Time = {
\key ef \major
\time 4/4
\tempo "Moderato" 4=100
}
SopranoMusic = {
\dynamicUp
r1 r1 r1 r1 \break %m01-04
r2 r4 bf4 |%m05
ef'4. f'8 g'8 ef'8 ef'8. f'16 |%m06
g'2. bf4 |%m07
c'4. d'8 ef'8 f'8 e'8. c'16 |\break %m08
bf2. g'8 g'8 |%m09
af'4. c''8 af'8 g'8 f8( g'8)|%m10
af'2. af'8 g' |%m11
f'4. g'8 g'8 f'4 ef'8 |\break %m12
bf'2. bf4 |%m13
ef'4. g'8 bf'4 \tuplet 3/2{c''8 bf' g'} |%m14
af2. af'4 |%M15
af4. g'8 f'4 \tuplet 3/2{g'8 f' ef'} |\break %m16
f'2. bf8 bf8 |%m17
ef'4. f'8 g'8 bf'4 ef'8 |%m18
c''2. ef'8 f' |%m19
g'8 bf'4 g'8 f'4. ef'8 |\break %m20
}
SopranoLyrics = \lyricmode {
æ½ æ© åº§ å å 主 æ± å, æ æ å·± æ è® ä¸» é
æ, æ ç è² é³ å·² å¨ å¼ å¬, è¦ æ å ç¥ é æ æ
}
PianoRHMusic = {
r2 r4 bf4|%m01
<g ef'>4. <bf f'>8 <<{g'8 bf'8}\\{ef'4}>> <c'ef'>8. <c'f'>16 |%m02
<bf ef'g'>2. bf4 |%m03
<<{c'4. d'8 ef'8 g'8}\\{g2 c'4}>> <bf g'>8. <af f'>16 |%m04
<g bf ef'>2. bf4 |%m05
<g ef'>4. <bf f'>8 <<{g'8 bf'8}\\{ef'4}>> <c'ef'>8. <cf'f'>16 |%m06
}
PianoLHMusic = {
r1 %m01
}
SopranoInstrumentName = "S."
SopranoShortInstrumentName = "S."
SopranoMidiInstrument = "choir aahs"
PianoInstrumentName = "Pno."
PianoShortInstrumentName = "Pno."
\include "satb.ly"
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user