[MEI-L] Measure 2 of Erlkonig; expanded notation
Johannes Kepper
kepper at edirom.de
Fri Mar 17 16:11:12 CET 2017
There is an XSLT which expands this kind of markup available from https://github.com/Freischuetz-Digital/Tools/blob/develop/11%20Shortcuts/resolveShortCuts.xsl. It's probably tied to Freischütz Digital, but the templates starting in lines 249 (bTrems) and 335 (fTrems) should get you started (they may depend on other templates in that file, though). I never had the time to clean up this thing and make it more accessible, but am certainly willing to do so when there is time…
best,
jo
> Am 17.03.2017 um 16:00 schrieb Craig Sapp <craigsapp at gmail.com>:
>
>
> On 17 March 2017 at 05:10, Byrd, Donald A. <donbyrd at indiana.edu> wrote:
> But Craig, how did you get the "expanded notation"? Is there a tool that expands elements like <bTrem>, or did you create it by hand?
>
> Yes, I created it by hand. But a software solution for converting between the two forms of a measured tremolo should be possible.
>
> Here is my solution for the measure in expanded form:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <?xml-model href="http://music-encoding.org/schema/3.0.0/mei-all.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
> <?xml-model href="http://music-encoding.org/schema/3.0.0/mei-all.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
> <mei xmlns="http://www.music-encoding.org/ns/mei" meiversion="3.0.0">
> <meiHead>
> <fileDesc>
> <titleStmt>
> <title />
> </titleStmt>
> <pubStmt />
> </fileDesc>
> </meiHead>
> <music>
> <body>
> <mdiv>
> <score>
> <scoreDef>
> <staffGrp symbol="brace" barthru="true">
> <staffDef n="1" clef.shape="G" clef.line="2" key.sig="2f" meter.count="4" meter.unit="4" lines="5" />
> <staffDef n="2" clef.shape="F" clef.line="4" key.sig="2f" meter.count="4" meter.unit="4" lines="5" />
> </staffGrp>
> </scoreDef>
> <section>
> <measure>
> <staff n="1">
> <layer n="1">
> <tuplet num="3" numbase="2" num.visible="false" bracket.visible="false" num.format="count">
> <beam>
> <chord dur="8">
> <note oct="3" pname="g" accid.ges="n" />
> <note oct="4" pname="g" accid.ges="n" />
> </chord>
> <chord dur="8">
> <note oct="3" pname="g" accid.ges="n" />
> <note oct="4" pname="g" accid.ges="n" />
> </chord>
> <chord dur="8">
> <note oct="3" pname="g" accid.ges="n" />
> <note oct="4" pname="g" accid.ges="n" />
> </chord>
> </beam>
> </tuplet>
> <tuplet num="3" numbase="2" num.visible="false" bracket.visible="false" num.format="count">
> <beam>
> <chord dur="8">
> <note oct="3" pname="g" accid.ges="n" />
> <note oct="4" pname="g" accid.ges="n" />
> </chord>
> <chord dur="8">
> <note oct="3" pname="g" accid.ges="n" />
> <note oct="4" pname="g" accid.ges="n" />
> </chord>
> <chord dur="8">
> <note oct="3" pname="g" accid.ges="n" />
> <note oct="4" pname="g" accid.ges="n" />
> </chord>
> </beam>
> </tuplet>
> <tuplet num="3" numbase="2" num.visible="false" bracket.visible="false" num.format="count">
> <beam>
> <chord dur="8">
> <note oct="3" pname="g" accid.ges="n" />
> <note oct="4" pname="g" accid.ges="n" />
> </chord>
> <chord dur="8">
> <note oct="3" pname="g" accid.ges="n" />
> <note oct="4" pname="g" accid.ges="n" />
> </chord>
> <chord dur="8">
> <note oct="3" pname="g" accid.ges="n" />
> <note oct="4" pname="g" accid.ges="n" />
> </chord>
> </beam>
> </tuplet>
> <tuplet num="3" numbase="2" num.visible="false" bracket.visible="false" num.format="count">
> <beam>
> <chord dur="8">
> <note oct="3" pname="g" accid.ges="n" />
> <note oct="4" pname="g" accid.ges="n" />
> </chord>
> <chord dur="8">
> <note oct="3" pname="g" accid.ges="n" />
> <note oct="4" pname="g" accid.ges="n" />
> </chord>
> <chord dur="8">
> <note oct="3" pname="g" accid.ges="n" />
> <note oct="4" pname="g" accid.ges="n" />
> </chord>
> </beam>
> </tuplet>
> </layer>
> </staff>
> <staff n="2">
> <layer n="1">
> <tuplet num="3" numbase="2" bracket.visible="false" num.format="count">
> <beam>
> <note xml:id="one" dur="8" oct="2" pname="g" />
> <note dur="8" oct="2" pname="a" accid.ges="n" />
> <note dur="8" oct="2" pname="b" accid.ges="f" />
> </beam>
> </tuplet>
> <tuplet num="3" numbase="2" bracket.visible="false" num.format="count">
> <beam>
> <note dur="8" oct="3" pname="c" accid.ges="n" stem.dir="up" />
> <note dur="8" oct="3" pname="d" accid.ges="n" stem.dir="up" />
> <note xml:id="two" dur="8" oct="3" pname="e" accid.ges="f" stem.dir="up" />
> </beam>
> </tuplet>
> <note dur="4" oct="3" pname="d" accid.ges="n" artic="stacc" stem.dir="up" />
> <note dur="4" oct="2" pname="b" accid.ges="f" artic="stacc" stem.dir="up" />
> </layer>
> </staff>
> <dynam staff="2" tstamp="1">f</dynam>
> <slur staff="2" startid="#one" endid="#two" />
> </measure>
> </section>
> </score>
> </mdiv>
> </body>
> </music>
> </mei>
>
> With the notation result in verovio:
>
> <Screen Shot 2017-03-17 at 7.58.49 AM.png>
>
>
> -=+Craig
>
> _______________________________________________
> mei-l mailing list
> mei-l at lists.uni-paderborn.de
> https://lists.uni-paderborn.de/mailman/listinfo/mei-l
More information about the mei-l
mailing list