Codas

You can create codas in your music by splitting it up into sections:

Pluma Screenshot 1

The "To Coda" text can be made with a \markup command:

Pluma Screenshot 2

The "D.C. al Coda" text can be made with \markup as well, and we can also insert a coda symbol:

Pluma Screenshot 3

For the score (I named it "music"), you can include each section once:

Pluma Screenshot 4

For the MIDI file (I named it "musicMidi"), you can include each section as it is played:

Pluma Screenshot 5

As usual, we have two \score blocks, one for the score and one for the MIDI file:

Pluma Screenshot 6

Similarly, a D.S. al Coda can be made aswell, but using the "segno" glyph:

Pluma Screenshot 7 Pluma Screenshot 8 Pluma Screenshot 9

Then include the sections once in the score:

Pluma Screenshot 10

Then you can include the sections as they are played in the MIDI file:

Pluma Screenshot 11

Again, we have two \score blocks, one for the score and one for the MIDI file:

Pluma Screenshot 12