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: Sun, 20 Feb 2005 16:10:04 -0500

Could someone show me how to modify the following code so that chord names would appear above the upper staff?

 

Tanks.

 

 

 

\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]