lilypond-user
[Top][All Lists]
Advanced

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

Re: show chord symbol in each bar


From: Reinhold Kainhofer
Subject: Re: show chord symbol in each bar
Date: Wed, 27 Jan 2010 18:36:40 +0100
User-agent: KMail/1.12.4 (Linux/2.6.31-18-generic; KDE/4.3.4; i686; ; )

Am Mittwoch, 27. Januar 2010 18:06:50 schrieb Susan Dittmar:
> Quoting James Bailey (address@hidden):
> > Similarly, if you melody consists of the same chord repeated once per
> > bar for four bars, you have to write out the same chord repeated once
> > per bar for four bars.
> 
> It's not that simple. Lilypond per default is so smart as to not repeat
> chords if they are the same as before.

No, that's not true. LilyPond by default (at least it does in 2.12.2 and 
2.13.11) prints out every chord that you explicitly name... E.g.:

\score {
  <<
    \new ChordNames \chordmode {
      c1 c1 c1 c1
    }
    \new Staff  \relative c' {
      c1 e1 g1 c1
    }
  >>
}

Of course, if you only use c1*4, then you explicitly tell LilyPond: "Here is 
one C chord lasting for 4 measures, but print it only once". If you want it 
printed, you have to explicitly give it, like c1 c1 c1 c1.

Cheers,
Reinhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org




reply via email to

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