Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| en:mei-friend-compendium [2026/04/14 04:46] – angelegt egorpoly | en:mei-friend-compendium [2026/04/14 13:32] (aktuell) – [Generalbass] egorpoly | ||
|---|---|---|---|
| Zeile 13: | Zeile 13: | ||
| * [[mei|Introduction to MEI and XML schema]] | * [[mei|Introduction to MEI and XML schema]] | ||
| - | ==== Tools ==== | + | ===== Current corpus status ===== |
| - | * [[https:// | + | tba |
| - | * [[https:// | + | |
| - | * [[https:// | + | |
| - | ===== Current corpus | + | ===== Current corpus |
| tba | tba | ||
| Zeile 25: | Zeile 23: | ||
| ===== Open bugs ===== | ===== Open bugs ===== | ||
| - | mei-friend | + | * mei-friend |
| + | * **Always check which branch you are saving your work on.** | ||
| ==== Requested features / improvements ==== | ==== Requested features / improvements ==== | ||
| Zeile 42: | Zeile 41: | ||
| * ''< | * ''< | ||
| - | ===== When do we use ''< | + | === When do we use ''< |
| Use ''< | Use ''< | ||
| Zeile 62: | Zeile 61: | ||
| </ | </ | ||
| - | ===== When do we use ''< | + | === When do we use ''< |
| Use ''< | Use ''< | ||
| - | This is the preferred encoding for a complete measure rest because it does not depend on the current meter. | + | This is the preferred encoding for a complete measure rest because it does not depend on the current meter. |
| Example: | Example: | ||
| Zeile 80: | Zeile 79: | ||
| </ | </ | ||
| - | ===== Local recommendation | + | === Local recommendation === |
| For our corpus work: | For our corpus work: | ||
| Zeile 87: | Zeile 86: | ||
| * use ''< | * use ''< | ||
| * do **not** replace a full-bar rest with a duration-based ''< | * do **not** replace a full-bar rest with a duration-based ''< | ||
| - | * prefer ''< | + | * prefer ''< |
| - | ===== Important restriction | + | === Important restriction === |
| - | MEI states that it is a semantic error to mix ''< | + | A layer containing ''< |
| - | So a layer containing ''< | + | Control events such as fermatas may still occur alongside it. |
| - | ===== Full-bar silence in different meters | + | === Full-bar silence in different meters === |
| A full-bar rest should usually still be encoded as: | A full-bar rest should usually still be encoded as: | ||
| Zeile 110: | Zeile 109: | ||
| * etc. | * etc. | ||
| - | The point of ''< | + | The point of ''< |
| - | ===== What about multi-measure rests? | + | === What about multi-measure rests? === |
| Use ''< | Use ''< | ||
| Zeile 124: | Zeile 123: | ||
| </ | </ | ||
| - | MEI describes ''< | + | === Local recommendation for multi-measure rests === |
| - | + | ||
| - | ===== Local recommendation for multi-measure rests ===== | + | |
| For our project: | For our project: | ||
| Zeile 134: | Zeile 131: | ||
| * if consecutive silent measures are shown individually in the source, encode them as separate measures with separate ''< | * if consecutive silent measures are shown individually in the source, encode them as separate measures with separate ''< | ||
| - | ===== Empty measure vs. rest ===== | + | === Empty measure vs. rest === |
| Do not confuse: | Do not confuse: | ||
| Zeile 141: | Zeile 138: | ||
| * ''< | * ''< | ||
| - | Use ''< | + | Use ''< |
| - | ===== Practical examples | + | === Practical examples === |
| - | ===== Example 1: ordinary rest ===== | + | ==== Example 1: ordinary rest ==== |
| <code xml> | <code xml> | ||
| Zeile 159: | Zeile 156: | ||
| </ | </ | ||
| - | ===== Example 2: full-bar rest ===== | + | ==== Example 2: full-bar rest ==== |
| <code xml> | <code xml> | ||
| Zeile 171: | Zeile 168: | ||
| </ | </ | ||
| - | ===== Example 3: multiple-rest in a part ===== | + | ==== Example 3: multiple-rest in a part ==== |
| <code xml> | <code xml> | ||
| Zeile 183: | Zeile 180: | ||
| </ | </ | ||
| - | ===== Project rule of thumb ===== | + | === Project rule of thumb === |
| Ask: | Ask: | ||
| Zeile 192: | Zeile 189: | ||
| ==== Voice handling ==== | ==== Voice handling ==== | ||
| - | In MEI, a ''< | + | In MEI, a ''< |
| - | ===== What is a layer? | + | === What is a layer? === |
| A layer is best understood as a single rhythmic and event stream within one staff. | A layer is best understood as a single rhythmic and event stream within one staff. | ||
| Zeile 203: | Zeile 200: | ||
| * multiple layers are usually used when distinct voices must be represented independently | * multiple layers are usually used when distinct voices must be represented independently | ||
| - | ===== When does one staff need more than one ''< | + | === When does one staff need more than one ''< |
| Use more than one layer when the notation clearly contains multiple independent voices on the same staff. | Use more than one layer when the notation clearly contains multiple independent voices on the same staff. | ||
| Zeile 211: | Zeile 208: | ||
| * tenor and bass on one staff | * tenor and bass on one staff | ||
| * independent rhythms in upper and lower voices | * independent rhythms in upper and lower voices | ||
| - | * overlapping note values that cannot be represented cleanly in one single stream | + | * overlapping note values that cannot be represented cleanly in a single stream |
| * voice-specific ties, rests, slurs, or cues that belong to different voices | * voice-specific ties, rests, slurs, or cues that belong to different voices | ||
| - | In contrast, do **not** create extra layers just because stems point in different directions once or twice if the passage is still best understood as one continuous voice. That last point is a local editorial recommendation rather than a strict MEI rule. | + | Do **not** create extra layers just because stems point in different directions once or twice if the passage is still best understood as one continuous voice. |
| - | ===== How do we distinguish voices clearly? | + | === How do we distinguish voices clearly? === |
| At minimum: | At minimum: | ||
| Zeile 238: | Zeile 235: | ||
| </ | </ | ||
| - | ===== Local project policy for layer numbering | + | === Local project policy for layer numbering === |
| Recommended local convention: | Recommended local convention: | ||
| Zeile 247: | Zeile 244: | ||
| * only add '' | * only add '' | ||
| - | This is not imposed by MEI itself; it is a local consistency rule. | + | === Shared stems and polyphonic overlap === |
| - | + | ||
| - | ===== Shared stems and polyphonic overlap | + | |
| Shared stems and polyphonic overlap are often visually complex, but the encoding priority should be: | Shared stems and polyphonic overlap are often visually complex, but the encoding priority should be: | ||
| Zeile 261: | Zeile 256: | ||
| * if the notation is only visually compressed but musically still one stream, keep one layer | * if the notation is only visually compressed but musically still one stream, keep one layer | ||
| - | ===== Why this matters for ties and other relations | + | === Why this matters for ties and other relations === |
| - | This is especially important | + | This matters |
| - | For example, the Guidelines state that the scope of the '' | + | |
| + | For example: | ||
| + | * a tie that starts | ||
| So unstable or inconsistent layer assignment can create problems later. | So unstable or inconsistent layer assignment can create problems later. | ||
| - | ===== Recommended workflow | + | === Recommended workflow === |
| When deciding whether to split into layers, ask: | When deciding whether to split into layers, ask: | ||
| Zeile 275: | Zeile 272: | ||
| - are there overlapping note values that imply separate voices? | - are there overlapping note values that imply separate voices? | ||
| - are rests voice-specific? | - are rests voice-specific? | ||
| - | - do ties/slurs belong to separate voices? | + | - do ties or slurs belong to separate voices? |
| - would one-layer encoding become confusing? | - would one-layer encoding become confusing? | ||
| Zeile 282: | Zeile 279: | ||
| ==== Generalbass ==== | ==== Generalbass ==== | ||
| - | MEI supports figured bass through harmonic indication markup. The key elements are: | + | MEI supports figured bass through harmonic indication markup. |
| + | |||
| + | The key elements are: | ||
| * ''< | * ''< | ||
| * ''< | * ''< | ||
| - | * ''< | + | * ''< |
| - | ===== Which elements do we use? ===== | + | === Which elements do we use? === |
| For our corpus, the default pattern should be: | For our corpus, the default pattern should be: | ||
| Zeile 304: | Zeile 303: | ||
| * '' | * '' | ||
| - | ===== How do we align figured bass with notes or harmonic events? | + | === How do we align figured bass with notes or harmonic events? === |
| - | The Guidelines state that '' | + | '' |
| * '' | * '' | ||
| * '' | * '' | ||
| Zeile 312: | Zeile 311: | ||
| * '' | * '' | ||
| - | The most common attachment methods are '' | + | The most common attachment methods are '' |
| For practical work, I recommend: | For practical work, I recommend: | ||
| Zeile 320: | Zeile 319: | ||
| * prefer '' | * prefer '' | ||
| - | ===== Example with '' | + | === Example with '' |
| <code xml> | <code xml> | ||
| Zeile 338: | Zeile 337: | ||
| </ | </ | ||
| - | ===== Example with '' | + | === Example with '' |
| <code xml> | <code xml> | ||
| Zeile 357: | Zeile 356: | ||
| </ | </ | ||
| - | ===== Ordering of figures | + | === Ordering of figures === |
| - | The Guidelines note that encoding | + | The order of '' |
| So this: | So this: | ||
| Zeile 372: | Zeile 371: | ||
| is not just an arbitrary list; the order carries meaning. | is not just an arbitrary list; the order carries meaning. | ||
| - | ===== Accidentals in figured bass ===== | + | === Accidentals in figured bass === |
| - | The Guidelines show accidentals | + | Accidentals can be encoded directly in the figure content. |
| Example: | Example: | ||
| Zeile 386: | Zeile 385: | ||
| </ | </ | ||
| - | ===== Uncertain or editorially supplied figures ===== | + | === Recommended local policy === |
| - | + | ||
| - | For local corpus policy, I recommend the following distinction: | + | |
| - | + | ||
| - | * source-visible figures: encode directly in '' | + | |
| - | * editorially supplied figures: encode them, but mark editorial responsibility explicitly using MEI editorial mechanisms or clear local documentation | + | |
| - | * uncertain readings: record the uncertainty in a way that remains visible in project documentation | + | |
| - | + | ||
| - | The official figured-bass section emphasizes semantic capture over exact visual imitation and also allows links to user-defined symbols via '' | + | |
| - | + | ||
| - | Because editorial treatment varies by project, I would write your local policy explicitly, for example: | + | |
| - | * supplied figures must be marked as editorial | + | |
| - | * uncertain figures must be noted in comments or project documentation | + | |
| - | * do not silently normalize ambiguous source notation | + | |
| - | + | ||
| - | ===== Recommended local policy | + | |
| * use '' | * use '' | ||
| Zeile 411: | Zeile 395: | ||
| ==== Ties ==== | ==== Ties ==== | ||
| - | In CMN, the Guidelines define a tie as a curved line connecting | + | A tie connects |
| - | ===== Basic principle | + | === Basic principle === |
| Use ties only when: | Use ties only when: | ||
| Zeile 420: | Zeile 404: | ||
| * the sounding duration is continued across noteheads | * the sounding duration is continued across noteheads | ||
| - | ===== How are ties encoded? | + | === How are ties encoded? === |
| The simplest MEI method uses the '' | The simplest MEI method uses the '' | ||
| Zeile 438: | Zeile 422: | ||
| </ | </ | ||
| - | ===== Ties across barlines | + | === Ties across barlines === |
| A tie may continue into the following measure. | A tie may continue into the following measure. | ||
| Zeile 462: | Zeile 446: | ||
| </ | </ | ||
| - | The Guidelines explicitly state that the tie-terminating event may lie in the following measure. : | + | === Ties and layers === |
| - | + | ||
| - | ===== Ties and layers | + | |
| This point is crucial for corpus consistency: | This point is crucial for corpus consistency: | ||
| - | The scope of the '' | + | * a tie that starts in one layer must end in the same layer |
| - | A tie that starts in one layer must end in the same layer. : | + | |
| So for local practice: | So for local practice: | ||
| Zeile 477: | Zeile 458: | ||
| * check layer assignment before debugging a “broken” tie | * check layer assignment before debugging a “broken” tie | ||
| - | ===== Ties on chords | + | === Ties on chords === |
| - | The Guidelines also allow the '' | + | The '' |
| - | When used on a chord, it acts as shorthand for multiple ties on all unchanged pitches in the chord. | + | |
| + | When used on a chord, it acts as shorthand for multiple ties on all unchanged pitches in the chord. | ||
| Example: | Example: | ||
| Zeile 497: | Zeile 479: | ||
| </ | </ | ||
| - | ===== Local recommendation | + | === Local recommendation === |
| For our project: | For our project: | ||
| Zeile 506: | Zeile 488: | ||
| * check pitch identity carefully before calling something a tie | * check pitch identity carefully before calling something a tie | ||
| - | ===== Tie vs slur ===== | + | === Tie vs slur === |
| Do not confuse: | Do not confuse: | ||
| * tie = same pitch, sustained duration | * tie = same pitch, sustained duration | ||
| - | * slur = phrasing | + | * slur = phrasing |
| This distinction matters both musically and computationally. | This distinction matters both musically and computationally. | ||
| - | ===== Minimal checklist | + | === Minimal checklist === |
| Before encoding a tie, ask: | Before encoding a tie, ask: | ||
| Zeile 521: | Zeile 503: | ||
| * does the tied continuation stay in the same layer? | * does the tied continuation stay in the same layer? | ||
| * if the notes are in a chord, are all pitches tied or only some? | * if the notes are in a chord, are all pitches tied or only some? | ||
| - | |||