This sample demonstrates the following repeat techniques:
1 - An initial repeated section using master repeats. Master repeats use special endings to control the number of repeats that will be performed. Master repeats are ignored after a Dal Segno has been performed, and only special endings marked with the 'D' ending are performed.
The "Segno" and "To Coda" marks are used after the "D.S. al Coda" item has been performed.
2 - A "D.S. al Coda" at measure 11 is used to send play back to the "Segno" mark that appears at measure 2. The special ending at measure 6 is used because it is marked as the Default. The "To Coda" instruction at the end of measure 8 sends play to the coda mark at measure 11.
3. New master repeats are used in the Coda section. Master repeats are accepted again after the "To Coda", so this kind of repeated section will work. Note, however, that master repeats are ignored after a "D.S. al Coda" but before the "To Coda" has been encountered.