lilypond-user
[Top][All Lists]
Advanced

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

Showing Chord Names


From: Claude Lord
Subject: Showing Chord Names
Date: Tue, 22 Feb 2005 20:49:54 -0500

This is a repeat of a question I sent last Sunday.

Could someone show me how to modify the following code so that chord names would appear above the upper staff? I have been unable to find the answer to this in the online documentation.

If my question is not clear, I would appreciate somebody to tell me so that I can try to clarify it.

If my question is too trivial, I would also appreciate knowing about it.

Thanks.

 

\version "2.4.0"

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

c1 ~

c4. c8~c d4 e8

e4. d8 d2 ~

d4 r4 a'2

}

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

<g' c e>1 ~

<a c e>1 

<a c d fis>1 ~

<a c d fis>1 ~

}

text = \lyricmode { Love __ look __ at the two of us }

\score {

       \context GrandStaff <<

           \set PianoStaff.instrument = "Piano  "

        \context Staff = upper {

             \context Voice = singer \upper }

         \lyricsto "singer" \new Lyrics \text

         \context Staff = lower <<

           \clef bass

           \lower

         >>

       >>

       \layout {

         \context { \GrandStaff \accepts "Lyrics" }

         \context { \Lyrics \consists "Bar_engraver" }

       }

       \midi { \tempo 4=180 }

     }

 

 

 

 


reply via email to

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