en:mei-friend-compendium

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
en:mei-friend-compendium [2026/05/03 15:53] egorpolyen:mei-friend-compendium [2026/05/12 00:57] (aktuell) egorpoly
Zeile 610: Zeile 610:
   * are dotted values encoded with ''dots''?   * are dotted values encoded with ''dots''?
   * have ''dur.ppq'' and ''ppq'' been removed?   * have ''dur.ppq'' and ''ppq'' been removed?
 +
 +==== Cross-staff notation ====
 +
 +For cross-staff chords encode it as one logical ''<chord>'' in a single ''<layer>'', and place the low (or high) note on the other staff with ''staff="5"'' (use the number of corresponding staff). The lower (or higher) staff's time is then filled with ''<space/>'' so that the rhythmic alignment remains complete.
 +
 +The MEI guidelines explicitly give this as an alternative for cross-staff chords. Some software handles this method better than separate cross-staff notes connected only by ''stem.with''.
 +
 +Example:
 +
 +<code xml>
 +<staff xml:id="j138ax0t" n="4">
 +  <layer xml:id="lie03m1" n="1">
 +    <chord xml:id="n1v09lce" dur="8" stem.dir="up">
 +      <note xml:id="m11lbwz8" oct="4" pname="f"/>
 +      <note xml:id="ooukl9j" oct="4" pname="d"/>
 +      <note xml:id="dgfh734" oct="3" pname="b" staff="5"/>
 +    </chord>
 +    ...
 +  </layer>
 +</staff>
 +
 +<staff xml:id="k10lc1io" n="5">
 +  <layer n="2">
 +    <space dur="8"/>
 +    <note xml:id="dfj82467" dur="4" oct="3" pname="g" stem.dir="up"/>
 +    <note xml:id="dfj82d467" dur="4" oct="3" pname="a" stem.dir="up"/>
 +  </layer>
 +</staff>
 +</code>
 +
 +For mei-friend / Verovio-style workflows, this second version is often the more robust semantic encoding because it represents one chord rather than two separate events that merely share a stem.
 +
 +Local recommendation:
 +
 +  * use a single ''<chord>'' with note-level ''staff'' when the source clearly shows one chord split across staves
 +  * fill the destination staff's elapsed time with ''<space/>'' when that staff has no independent sounding event at that moment
 +  * keep the written duration on the ''<chord>'' with ''dur''
  • en/mei-friend-compendium.1777823634.txt.gz
  • Zuletzt geändert: 2026/05/03 15:53
  • von egorpoly