bug-lilypond
[Top][All Lists]
Advanced

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

Learning Manual – simplify piano centered lyrics example?!


From: pls
Subject: Learning Manual – simplify piano centered lyrics example?!
Date: Sat, 25 Apr 2015 12:31:20 +0200

Hey all,

yesterday I stumbled across this example in the Learning Manual:  
http://lilypond.org/doc/v2.19/Documentation/learning/piano-centered-lyrics. In 
my opinion it can and should be simplified.  Obviously there’s no need anymore 
for a GrandStaff to accept Lyrics. \consists “Bar_engraver” has also become 
unnecessary, here. To make the example more consistent with the text I’d use a 
PianoStaff instead of a GrandStaff like so:


\version "2.19.15"
upper = \relative c'' {
  \clef treble
  \key c \major
  \time 4/4

  a4 b c d
}

lower = \relative c {
  \clef bass
  \key c \major
  \time 4/4

  a2 c
}

text = \lyricmode {
  Aaa Bee Cee Dee
}

\score {
  \new PianoStaff <<
    \new Staff = upper { \new Voice = "singer" \upper }
    \new Lyrics \lyricsto "singer" \text
    \new Staff = lower { \lower }
  >>
  \layout {}
  \midi { }
}

hth,
patrick


reply via email to

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