/MRS-Specification-RFC#4-mrs-s-the-canonical-storage-format
Spans Section
Spans define relationships between events across time. All endpoints use UUID references.Span Types
| Type | Endpoint Style | Description |
|---|---|---|
slur | from/to | Phrasing slur |
tie | from/to | Tie between same pitches |
hairpin | from/to | Crescendo/diminuendo |
beam | events list | Beam grouping |
ottava | from/to | Octave transposition |
pedal | from/to | Piano pedal |
trill-span | from/to | Extended trill line |
gliss | from/to | Glissando line |
volta | from/to | Ending bracket |
Span Attributes
Span Immutability
Once created, span endpoints (:from, :to, :events) are immutable. To change endpoints, delete the span and create a new one.
Boundary Markers
For spans that cross Working Set boundaries:| Marker | Meaning |
|---|---|
:boundary-entry true | Span starts outside, ends inside |
:boundary-exit true | Span starts inside, ends outside |
Directions
Directions are measure-level or instrument-level instructions.Measure-Level Directions
Instrument-Level Directions
Direction Types
| Type | Description |
|---|---|
tempo | Tempo marking |
dynamic | Dynamic marking (score-wide) |
rehearsal | Rehearsal mark |
text | Text instruction |
segno | Segno sign |
coda | Coda sign |
fine | Fine marking |
dc | D.C. (da capo) |
ds | D.S. (dal segno) |
Movements
Multi-movement works use the movements structure:Alternatives (Ossia, Variants)
Alternative Types
| Type | Purpose |
|---|---|
ossia | Alternative passage (usually easier) |
variant | Source variant (editorial) |
editorial | Editorial suggestion |
Layout Hints (Optional)
Layout hints are NON-NORMATIVE suggestions for rendering:Layout Elements
| Element | Description |
|---|---|
break | System or page break |
hide-empty-staves | Hide staves with rests |
condense | Combine instruments on one staff |
spacing | Measure spacing hints |