en:mei

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
en:mei [2026/04/02 07:58] egorpolyen:mei [2026/04/02 08:09] (aktuell) egorpoly
Zeile 634: Zeile 634:
           <scoreDef keysig="1s" meter.count="4" meter.unit="4">           <scoreDef keysig="1s" meter.count="4" meter.unit="4">
             <staffGrp>             <staffGrp>
-              <staffDef n="1" clef.shape="G" clef.line="2"/>+              <staffDef n="1" lines="5" clef.shape="G" clef.line="2"/>
             </staffGrp>             </staffGrp>
           </scoreDef>           </scoreDef>
Zeile 657: Zeile 657:
 </mei> </mei>
 </code> </code>
 +
 +**Important:** In a normal five-line staff, ''<staffDef>'' should usually include ''lines="5"''.
 +Without this, some renderers may not display the staff correctly.
 +
 +You can try to render this score yourself via [[https://editor.verovio.org/|Verovio Editor]]
  
 ===== How to read this complete example ===== ===== How to read this complete example =====
Zeile 671: Zeile 676:
  
 Only inside this larger wrapper do we get to the actual note material. Only inside this larger wrapper do we get to the actual note material.
- 
-===== Why this matters for beginners ===== 
- 
-A common beginner confusion is this: 
- 
-  * a ''<note>'' example teaches one element 
-  * a ''<score>'' example teaches score structure 
-  * but neither of these alone is necessarily a full MEI file 
- 
-So it is useful to distinguish between: 
- 
-  * **example fragment** = a short snippet for learning one idea 
-  * **complete MEI document** = a file with the required outer structure 
  
 ===== The role of ''meiHead'' ===== ===== The role of ''meiHead'' =====
  • en/mei.1775116682.txt.gz
  • Zuletzt geändert: 2026/04/02 07:58
  • von egorpoly