Tag Events
TL;DR (though this one is worth a look—it's only a few lines)
Tags cover musical events beyond harmony, such as tonality, mode, cadences, and formal structure.
There are three tag types:
Type 1 is a one-off tag: it appears at one event and that's it. Cadences are a good example. The usual form is </tag>.
Type 3 covers a range, from one event to another. It usually starts with <tag> and ends with </tag>.
Type 2 can work either way. To use it as a one-off tag, just write </tag>.
Type 2 and 3 tag ranges have a connecting line underneath the corresponding score region. You can close an active range in duration mode 2 or 3 with a detached endpoint (<*/tag>). This separates the start and end labels and removes the connecting line.
Tag spelling and duration modes
Syntax / fields:
<name> ... </name> / </name>An analytical tag (<name> or </name>) names a musical feature at a slot.
The slot must also contain a musical event.
A tag range begins with an opening tag (<name>) and ends with its matching closing tag (</name>).
The range is active from its opening through its closing slot.
The ordinary-tag configuration assigns each tag a duration mode: 1, 2 or 3.
Mode 1 uses only a one-shot tag (</name>) that applies at one position.
Mode 2 allows a paired range, and its closing form acts as a one-shot tag when no range of that name is active.
Mode 3 requires a paired range.
Each active range must close before the same tag opens again and before the document ends.
Tag names and parameters are case sensitive.
Examples
{BN:1}{TS:4/4}{D:1}{TC:C}
</Tonality>C|I;{BN:1}{TS:4/4}{D:1}{TC:C}
<Constant_Structure>CM7|;FM7|</Constant_Structure>;Detached visual ending
Syntax / fields:
<*/name>A detached ending (<*/name>) closes an active tag range in duration mode 2 or 3.
The score displays separate opening and closing labels in place of a continuous line.
The range remains active for search and playback through the closing slot.
Ordinary tags use their configured name, as in <*/Constant_Structure>.
Mode and Scale use their family name without the tonic parameter, as in <*/Mode_Dorian> and <*/Scale_WholeTone>.
pedal and Centricity use <*/pedal> and <*/Centricity>, also without parameters.
A detached ending requires a matching active range and cannot act as a one-shot tag.
Mode-1 tags, including cadences and implicit forms, have no paired range to close this way.
DTC uses its own clearing command (</DTC>).
The entries for sequences and explicit forms below describe their support for detached endings.
Examples
{BN:1}{TS:4/4}{D:1}{TC:C}
<Constant_Structure>CM7|;FM7|<*/Constant_Structure>;