Next: , Up: Writing repeats


1.4.1.1 Repeat syntax

LilyPond has one syntactic construct for specifying different types of repeats. The syntax is

\repeat variant repeatcount repeatbody

where repeabody is a music expression.

The following types of repetition are supported

volta
The repeated music is not written out but enclosed in repeat bar lines. If the repeat is at the beginning of a piece, a repeat bar line is only printed at the end. Alternative endings (volte) are printed, left to right with brackets. This is the standard notation for repeats with alternatives.
unfold
The repeated music is fully written out, as many times as specified by repeatcount. This is useful when entering repetitious music.
tremolo
Make tremolo beams.
percent
Make beat or measure repeats. These look like percent signs. Percent repeats must be declared within a Voice context.

Alternative endings are entered with

\alternative {
  alternative1
  alternative2
  alternative3
  ...
}

after a \repeat volta or unfold block, where each alternative is a music expression. If you give less alternatives than repeatcount, the first alternative is assumed to be played more than once.


Next: , Up: Writing repeats

This page is for LilyPond-2.11.40 (development-branch).

Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.

Your suggestions for the documentation are welcome.

Other languages: français, español, deutsch.