lilypond-user
[Top][All Lists]
Advanced

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

Re: Next sheet music question - chords and lyrics no melody


From: Trevor Daniels
Subject: Re: Next sheet music question - chords and lyrics no melody
Date: Fri, 20 Aug 2010 08:34:30 +0100


M Watts wrote Friday, August 20, 2010 2:28 AM


On 08/20/2010 11:07 AM, Stephen Nesbitt wrote:

Ok, my next Lilypond stumper (at least to me). Is it possible to generate sheets that comprise lyrics plus chord changes *without* the need to specify
(or display) the melody. Something like this:

   G     D/F# Em7      Am             C
A long, long time ago I can still re-member how


One way is here http://lsr.dsi.unimi.it/LSR/Item?id=536

I think you'll find this generates warnings:

Warning: staff-affinities should only decrease

due to the lack of a printed staff.  You can avoid
these by making the Lyrics context stand as a staff
with
\override VerticalAxisGroup #'staff-affinity = ##f

Alternatively, you can avoid the use of DevNull by
placing the rhythm in the lyrics themselves, like
this:

text = \lyricmode {
 Ho4 ho, ho2 | ho ho. | \times 2/3 { Ha ha, ha. } |
}

harmonies = \chordmode {
 a1:m | d:m | e:7 |
}

\score {
 <<
   \new ChordNames {
     \harmonies
   }
   \new Lyrics {
     \override VerticalAxisGroup #'staff-affinity = ##f
     \text
   }
 >>
 \layout { }
}

Trevor





reply via email to

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