Gregorio and gabc: a tutorial (page 2)
Here we continue the gabc tutorial that began on this page.
The documentation of the gabc notation, the notation we use in this tutorial can be found here.
Kyrie XVII (continued)
Our goal is to typeset this score using Gregorio:
So far we have written this partial gabc file:
name:Kyrie XVII; %% (c4)KY(f)ri(gfg)e(h.) *() e(ixjvIH'GhvF'E)lé(ghg')i(g)son.(f.) <i>bis</i>(::)
And we obtained this result after processing by gregorio and LaTeX:
So let's add the notes, note shapes, flats, ictuses (icti?), and punctum mora for the remainder:
Adding notes for the remainder of the piece
name:Kyrie XVII; %% (c4)KY(f)ri(gfg)e(h.) *() e(ixjvIH'GhvF'E)lé(ghg')i(g)son.(f.) <i>bis</i>(::) Chri(ixj)ste(jv.hijv.) e(ixjvIH'GhvF'E)lé(ghg')i(g)son.(f.) <i>bis</i>(::) Ký(f)ri(hj)e(ixjjkij.) e(ixjvIH'GhvF'E)lé(ghg')i(g)son.(f.) (::) Ký(f)ri(hj)e(ixjjkij.) *() (ixfhjjkij.) **() e(ixjvIH'GhvF'E)lé(ghg')i(g)son.(f.) (::)
Here is the result after processing by gregorio and LaTeX:
Adding the quarter bars
The last Kyrie, on the third line of the score, needs quarter bars above the asterisks. Here's a reminder of the characters for separator bars:
In the gabc file, we place a comma (,) after the asterisks in those two places to represent the quarter bars.
name:Kyrie XVII; %% (c4)KY(f)ri(gfg)e(h.) *() e(ixjvIH'GhvF'E)lé(ghg')i(g)son.(f.) <i>bis</i>(::) Chri(ixj)ste(jv.hijv.) e(ixjvIH'GhvF'E)lé(ghg')i(g)son.(f.) <i>bis</i>(::) Ký(f)ri(hj)e(ixjjkij.) e(ixjvIH'GhvF'E)lé(ghg')i(g)son.(f.) (::) Ký(f)ri(hj)e(ixjjkij.) *(,) (ixfhjjkij.) **(,) e(ixjvIH'GhvF'E)lé(ghg')i(g)son.(f.) (::)
Here is the result after processing by gregorio and LaTeX:
Grouping notes into neumes as desired
In the last Kyrie, I've circled two sets of notes. I'd like the second set to be arranged into the same neume pattern as the first set.
Here's a fragment from the gabc file for those notes:
Ký(f)ri(hj)e(ixjjkij.) *(,) (ixfhjjkij.) **(,)
The sequence (ixfhjjkij.) represents the notes (and the flat) after the first asterisk. If we add an exclamation point (!) and make it into (ixf!hjjkij.), that will tell Gregorio where we want a note grouping to begin. So now that fragment becomes:
Ký(f)ri(hj)e(ixjjkij.) *(,) (ixf!hjjkij.) **(,)
and here is the gabc file:
name:Kyrie XVII; %% (c4)KY(f)ri(gfg)e(h.) *() e(ixjvIH'GhvF'E)lé(ghg')i(g)son.(f.) <i>bis</i>(::) Chri(ixj)ste(jv.hijv.) e(ixjvIH'GhvF'E)lé(ghg')i(g)son.(f.) <i>bis</i>(::) Ký(f)ri(hj)e(ixjjkij.) e(ixjvIH'GhvF'E)lé(ghg')i(g)son.(f.) (::) Ký(f)ri(hj)e(ixjjkij.) *(,) (ixf!hjjkij.) **(,) e(ixjvIH'GhvF'E)lé(ghg')i(g)son.(f.) (::)
And the result after processing by gregorio and LaTeX:
Correcting line breaking problems
Gregorio sometimes does not handle the ends of lines in the ideal way we'd like. However, we can specify some line breaks manually to make the results more attractive.
The start of the third line has a flat a little too close to the clef. Adding an explicit line break before that point can help:
name:Kyrie XVII; %% (c4)KY(f)ri(gfg)e(h.) *() e(ixjvIH'GhvF'E)lé(ghg')i(g)son.(f.) <i>bis</i>(::) Chri(ixj)ste(jv.hijv.) e(ixjvIH'GhvF'E)lé(ghg')i(g)son.(f.) <i>bis</i>(::) Ký(f)ri(hj)e(ixjjkij.) (z) e(ixjvishs'gshvfs'es)lé(ghg')i(g)son.(f.) (::) Ký(f)ri(hj)e(ixjjkij.) *(,) (ixf!hjjkij.) **(,) e(ixjvIH'GhvF'E)lé(ghg')i(g)son.(f.) (::)
Here's the result after processing:
We can do the same at the start of the fourth line as well.
name:Kyrie XVII; %% (c4)KY(f)ri(gfg)e(h.) *() e(ixjvIH'GhvF'E)lé(ghg')i(g)son.(f.) <i>bis</i>(::) (z) Chri(ixj)ste(jv.hijv.) e(ixjvIH'GhvF'E)lé(ghg')i(g)son.(f.) <i>bis</i>(::) Ký(f)ri(hj)(z)e(ixjjkij.) (z) e(ixjvishs'gshvfs'es)lé(ghg')i(g)son.(f.) (::) Ký(f)ri(hj)e(ixjjkij.) *(,) (ixf!hjjkij.) **(,) (z) e(ixjvIH'GhvF'E)lé(ghg')i(g)son.(f.) (::)
Here's the result:
Now we need to add the mode notation "VI" before the first clef and add the annotation "XIV. s." above the first stave. Let's work on that on the next page of the tutorial.