[MEI-L] showing change of mensuration in new section

Cashner, Andrew andrew.cashner at rochester.edu
Thu Jul 8 15:01:06 CEST 2021


Dear colleagues,

I cannot get changes of mensuration to show at the beginning of new sections. I am encoding 17th-century music in mensural style, putting <staff> and <layer> directly within <section> elements, and not using <measure> at all. I'm rendering with Verovio.

If I put the mensuration change inside a <scoreDef> within the <section>, no new mensuration shows at all. If I put <mensur> and <proport> elements directly into the <layer>, then it does show, but the proportion number is placed incorrectly (after or overlapping the first note). Example 1 below shows the scoreDef approach, and example 2 shows the layer approach. The first mensuration signature in this example should be "C3" and the second should be "cutC 3".

I will be grateful for any help you can provide, and my apologies if there is something I missed in the documentation.

Best,
Andrew

Example 1:
<?xml version="1.0" encoding="UTF-8"?>
<mei xmlns=https://www.music-encoding.org/ns/mei meiversion="4.0.1">
  <meiHead>
    <fileDesc>
      <titleStmt>
        <title />
      </titleStmt>
      <pubStmt />
    </fileDesc>
    <encodingDesc />
  </meiHead>
  <music>
    <body>
      <mdiv>
        <score>
          <scoreDef>
            <staffGrp xml:id="chorus" n="1" bar.thru="false" symbol="bracket">
              <staffDef xml:id="soprano" n="1"
                lines="5" clef.line="2" clef.shape="G"
                mensur.sign="C" mensur.tempus="2" proport.num="3" key.sig="0" />
              <staffDef xml:id="bass" n="4"
                lines="5" clef.line="4" clef.shape="F" xml:id="midi.P4"
                mensur.sign="C" mensur.tempus="2" proport.num="3" key.sig="0" />
            </staffGrp>
          </scoreDef>
          <section>
            <staff xml:id="soprano" n="1">
              <layer n="1">
                <note pname="a" oct="4" dur="2" />
                <note pname="a" oct="4" dur="2" />
                <note pname="b" oct="4" dur="2" accid="f" />
                <note pname="a" oct="4" dur="1" />
                <note pname="a" oct="4" dur="2" />
                <barLine form="dbl"/>
              </layer>
            </staff>
            <staff xml:id="bass" n="4">
              <layer n="1">
                <note pname="d" oct="3" dur="2" />
                <note pname="d" oct="3" dur="2" />
                <note pname="g" oct="3" dur="2" />
                <note pname="a" oct="3" dur="1" />
                <note pname="d" oct="3" dur="2" />
                <barLine form="dbl"/>
              </layer>
            </staff>
          </section>
          <section>
            <scoreDef>
              <staffGrp xml:id="chorus" n="1">
                <staffDef xml:id="soprano" n="1"
                  mensur.sign="C" slash="1" tempus="2" proport.num="3" />
                <staffDef xml:id="alto" n="2"
                 mensur.sign="C" slash="1" tempus="2" proport.num="3" />
                <staffDef xml:id="tenor" n="3"
                  mensur.sign="C" slash="1" tempus="2" proport.num="3" />
                <staffDef xml:id="bass" n="4"
                  mensur.sign="C" slash="1" tempus="2" proport.num="3" />
              </staffGrp>
            </scoreDef>
            <staff xml:id="soprano" n="1">
              <layer n="1">
                <note pname="a" oct="4" dur="1" dots="1" />
                <note pname="a" oct="4" dur="2" />
                <note pname="g" oct="4" dur="1" />
                <note pname="a" oct="4" dur="breve" />
                <note pname="a" oct="4" dur="1" />
                <barLine form="end"/>
              </layer>
            </staff>
            <staff xml:id="bass" n="4">
              <layer n="1">
                <note pname="d" oct="3" dur="1" dots="1" />
                <note pname="c" oct="3" dur="2" accid="s" />
                <note pname="b" oct="2" dur="1" accid="f" />
                <note pname="a" oct="2" dur="breve" />
                <note pname="d" oct="3" dur="1" />
                <barLine form="end"/>
              </layer>
           </staff>
          </section>
        </score>
      </mdiv>
    </body>
  </music>
</mei>

Example 2:
<?xml version="1.0" encoding="UTF-8"?>
<mei xmlns=https://www.music-encoding.org/ns/mei meiversion="4.0.1">
  <meiHead>
    <fileDesc>
      <titleStmt>
        <title />
      </titleStmt>
      <pubStmt />
    </fileDesc>
    <encodingDesc />
  </meiHead>
  <music>
    <body>
      <mdiv>
        <score>
          <scoreDef>
            <staffGrp xml:id="chorus" n="1" bar.thru="false" symbol="bracket">
              <staffDef xml:id="soprano" n="1"
                lines="5" clef.line="2" clef.shape="G"
                mensur.sign="C" mensur.tempus="2" proport.num="3" key.sig="0" />
              <staffDef xml:id="bass" n="4"
                lines="5" clef.line="4" clef.shape="F" xml:id="midi.P4"
                mensur.sign="C" mensur.tempus="2" proport.num="3" key.sig="0" />
            </staffGrp>
          </scoreDef>
          <section>
            <staff xml:id="soprano" n="1">
              <layer n="1">
                <note pname="a" oct="4" dur="2" />
                <note pname="a" oct="4" dur="2" />
                <note pname="b" oct="4" dur="2" accid="f" />
                <note pname="a" oct="4" dur="1" />
                <note pname="a" oct="4" dur="2" />
                <barLine form="dbl"/>
              </layer>
            </staff>
            <staff xml:id="bass" n="4">
              <layer n="1">
                <note pname="d" oct="3" dur="2" />
                <note pname="d" oct="3" dur="2" />
                <note pname="g" oct="3" dur="2" />
                <note pname="a" oct="3" dur="1" />
                <note pname="d" oct="3" dur="2" />
                <barLine form="dbl"/>
              </layer>
            </staff>
          </section>
          <section>
            <staff xml:id="soprano" n="1">
              <layer n="1">
                <mensur sign="C" slash="1" tempus="2"/>
                <proport num="3"/>
                <note pname="a" oct="4" dur="1" dots="1" />
                <note pname="a" oct="4" dur="2" />
                <note pname="g" oct="4" dur="1" />
                <note pname="a" oct="4" dur="breve" />
                <note pname="a" oct="4" dur="1" />
                <barLine form="end"/>
              </layer>
            </staff>
            <staff xml:id="bass" n="4">
              <layer n="1">
                <mensur sign="C" slash="1" tempus="2"/>
                <proport num="3"/>
                <note pname="d" oct="3" dur="1" dots="1" />
                <note pname="c" oct="3" dur="2" accid="s" />
                <note pname="b" oct="2" dur="1" accid="f" />
                <note pname="a" oct="2" dur="breve" />
                <note pname="d" oct="3" dur="1" />
                <barLine form="end"/>
              </layer>
            </staff>
          </section>
        </score>
      </mdiv>
    </body>
  </music>
</mei>

***
Andrew A. Cashner, PhD
Assistant professor of music, University of Rochester

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-paderborn.de/pipermail/mei-l/attachments/20210708/3737e2a6/attachment.htm>


More information about the mei-l mailing list