lilypond-user
[Top][All Lists]
Advanced

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

Re: repeats


From: Reinhold Kainhofer
Subject: Re: repeats
Date: Sun, 5 Sep 2010 13:51:31 +0200
User-agent: KMail/1.13.5 (Linux/2.6.32-24-generic; KDE/4.5.1; i686; ; )

Am Sonntag, 5. September 2010, um 00:49:02 schrieb Peter Buhr:
> I cannot figure out how to indicate the following repeat pattern for this
> music.  I want the player to repeat the first line 4 times, repeat the
> second line 2 times, play the last line, and then start this pattern over
> again (until they get bored). Any help would be appreciated.

I would simply use a mark "Da capo (ad infinitum) ad lib.", i.e.
instead of \bar"||":

DCAlFineAdLib = {
  \once \override Score.RehearsalMark #'self-alignment-X = #RIGHT
  \once \override Score.RehearsalMark #'break-visibility = #begin-of-line-
invisible
  \mark "Da capo (ad inf.) ad lib."
}

melody = \relative ... {
  ...
  \repeat volta 4 { \mark "4 times" ... }
  \repeat volta 2 { \mark "2 times" ... }
  ...
  \DCAlFineAdLib \bar "||"
}

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]