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

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


>From an MEI-only perspective, then, is the first example correctly encoded?
Best,
Andrew
________________________________
From: mei-l <mei-l-bounces at lists.uni-paderborn.de> on behalf of Klaus Rettinghaus <klaus.rettinghaus at gmail.com>
Sent: Thursday, July 8, 2021 9:29:06 AM
To: Music Encoding Initiative <mei-l at lists.uni-paderborn.de>
Subject: [EXT] Re: [MEI-L] showing change of mensuration in new section

Dear Andrew,

maybe this question is better to address directly to the Verovio developers than the entire community?

Best,
Klaus

Am 08.07.2021 um 15:01 schrieb Cashner, Andrew <andrew.cashner at rochester.edu<mailto:andrew.cashner at rochester.edu>>:

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<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.music-2Dencoding.org_ns_mei&d=DwMFaQ&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=PlIlpVsx8a9gvc2u7VBKWNJQNqwxKYbgOaGEDg3C1Fs&m=Zvns5_hm7SMMfQiZgTBFa4uQPh-Z5Np4aTo7nv-s-zc&s=shhxE-TH2pwYq66tnCIpb6qy1d_HZmODFQCW7Vtmyvg&e=> 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<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.music-2Dencoding.org_ns_mei&d=DwMFaQ&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=PlIlpVsx8a9gvc2u7VBKWNJQNqwxKYbgOaGEDg3C1Fs&m=Zvns5_hm7SMMfQiZgTBFa4uQPh-Z5Np4aTo7nv-s-zc&s=shhxE-TH2pwYq66tnCIpb6qy1d_HZmODFQCW7Vtmyvg&e=> 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

_______________________________________________
mei-l mailing list
mei-l at lists.uni-paderborn.de<mailto:mei-l at lists.uni-paderborn.de>
https://lists.uni-paderborn.de/mailman/listinfo/mei-l<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.uni-2Dpaderborn.de_mailman_listinfo_mei-2Dl&d=DwMFaQ&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=PlIlpVsx8a9gvc2u7VBKWNJQNqwxKYbgOaGEDg3C1Fs&m=Zvns5_hm7SMMfQiZgTBFa4uQPh-Z5Np4aTo7nv-s-zc&s=jib2I8ctV972TbSWSbr8ldx6aD26k5Y2-cv6mZmGo9E&e=>

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


More information about the mei-l mailing list