Skip to content
All documentation

Repeats & endings

Repeat signs, D.C. and D.S. with Fine and Coda, and first and second endings, and how playback follows them.

Last updated · November 15, 2026

Repeat signs

The simplest repeat is the pair of repeat barlines from printed music. Type |: where the repeated section starts and :| where it ends. :|: ends one section and starts the next.

Sing the first two bars twice
S:|: drmfsltd' :| r'm'f's'
  • The section is sung twice. There is no way to ask for three or more times with these signs; use endings for that.
  • A :| with no |: before it goes back to the start of the song.
  • You can also write the signs in braces, {!repeat start} and {!repeat end}. Like the D.C. signs below, write {!repeat end} just before the last note of the section: that note is sung to its end, holds included, and then the section repeats. {!repeat end} f--- is the same as f--- :|.
  • The sheet draws the signs through the note rows of every part, but not through the lyric lines.
  • A colon followed by a barline is always read as a repeat sign. If you write beats with colons, do not end a bar with an empty beat like d :r :|.

First and second endings

Endings are the brackets over the last bars of a repeated section, marked "1." and "2.". The first time through, the choir sings the first ending; the second time, they skip it and sing the second.

Write ]1. before the first note of the first ending, followed by one underscore for each beat of the ending, and ]2. before the second ending. Each bracket covers the whole bar it starts in, or up to the next ending when two share a bar.

First and second endings
S:drmfsltd' ]1.____ s--- ]2. d'---
The printed endings: a bracket marked 1. over the first ending and one marked 2. over the second.
What the sheet prints for this example.
  • When the same ending is used for several passes, list the numbers: ]1,2.____ draws one bracket labelled "1., 2.".
  • You can also write {!end 1} before the first note of an ending, and its bracket covers the bar in the same way. {!end 1, 2, 3} draws one bracket labelled "1., 2., 3.".
  • A bracket never runs into the next bar, and a line of music never breaks inside one: the whole bracket moves to the next line with its notes.
  • The underscores don't change what is sung. Playback sings the first ending up to its :|, or up to the second ending, so a note held at the end of the first ending is sung to its end before the repeat.

Endings repeat by themselves. With no D.C. or D.S., the music before the first ending is sung once for each ending number, each time with its own ending, and the last ending goes on to the end of the song. Each repeat goes back to the |: that opens the section, or to the beginning when there is none, so an introduction before the |: is sung once.

An introduction, then a repeated section with endings
S:drmf |: sltd' ]1.____ r'm'f's' :| ]2. d'---
  • A song can have several repeated sections, each with its own first and second endings. Each section repeats on its own.
  • When a D.C. or D.S. later in the song comes back over the endings, the choir sings only the last ending, as printed music is read. A {Fine} in the second ending stops the song there.
One ending shared by the first three verses
S:drmf {!end 1, 2, 3} sltd' {!end 4} sfmd

D.C. and D.S. with brackets

D.C. (da capo) means "go back to the beginning". D.S. (dal segno) means "go back to the sign 𝄋". You can write both with square brackets.

For a D.S., put [ before the first note of the passage to go back to. The sign 𝄋 appears there. Then close with ] on the last note before the jump. The number of closing brackets picks the instruction:

  • ] after a [: D.S.
  • ]] after a [: D.S. al Coda.
  • ]]] after a [: D.S. al Fine.

For a D.C., use the same closing brackets with no [ before them:

  • ] with no [: D.C.
  • ]] with no [: D.C. al Coda.
  • ]]] with no [: D.C. al Fine.
Go back to the sign, then stop at Fine
S:drmf [ slt {Fine} d'fmrd ]]]

When a score has more than one sign, number them: [1 puts sign 1 on a note and ]1 jumps back to it; [2 … ]]2 gives "D.S.2 al Coda".

D.C., D.S., Fine and Coda as signs

You can also write these instructions as signs in braces with an exclamation mark. Write the sign just before the note where it belongs:

  • {!D.C.}, {!D.C. al Fine}, {!D.C. al Coda}
  • {!D.S.}, {!D.S. al Fine}, {!D.S. al Coda}
  • {!segno} (the 𝄋 sign to go back to), {!Fine} or {Fine} (where to stop), {!coda} (the coda sign)
D.C. al Fine written as signs
S:drm {Fine} fsltd' {!D.C. al Fine} d'---

Plain words without braces, such as D.C. al Fine, are read as notes, so always use the braces. The note after the sign is sung to its end, holds included, before the jump: {!D.C.} f--- sings fah for all four beats, then goes back.

How playback follows repeats

Playback, MIDI and MusicXML export follow the repeats as a choir would sing them:

  • Each D.C. or D.S. is taken once. On the way through the second time, it is ignored.
  • al Fine: go back, and stop at the {Fine} mark.
  • al Coda: go back, sing to the first coda sign inside the repeated section (the "To Coda"), then jump to the next coda sign after the D.C. or D.S. and carry on from there.
  • A section between repeat signs, written with a D.C. later on, is sung only once when the D.C. takes you back through it.
  • An "al Fine" with no {Fine}, or an "al Coda" with no coda sign, is printed, but playback simply carries on.

If playback does not follow the order you expect, check that each {Fine} and {!coda} stands just before the right note, then press play again and watch the highlighted notes on the sheet.