[MEI-L] Measure 2 of Erlkonig; expanded notation

Byrd, Donald A. donbyrd at indiana.edu
Fri Mar 17 13:10:30 CET 2017


This measure certainly seems like a poor choice for the first measure to encode in a tutorial!

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?

--Don


On Mar 17, 2017, at 2:11 AM, Craig Sapp <craigsapp at gmail.com>
 wrote:

> Hi Morgan & Perry,
> 
> > I tried setting the value of chord/@dur to 4. That produced tremolos as dotted quarter notes (as per the score) but again the Verovio rendering is out of alignment with staff below. See attached file btrem_3_4.png.
> 
> This is a tricky case due to @dots (who is the wize guy/gal who chose this as the first measure to encode in a tutorial? :-).  In Perry's solution:
> 
> <bTrem form="meas" num="3" dur="4">
>   <chord stem.dir="up" stem.mod="1slash" dur="8" dots="1">
>     <note pname="g" oct="3"/>
>     <note pname="g" oct="4"/>
>   </chord>
> </bTrem>
> 
> the @dots cannot occur on the <chord> because the expanded notation does not have any dots (this chord is expanded to triplet eighth notes, not dotted triplet eighth notes):
> 
> <tuplet num="3" numbase="2" bracket.visible="false" num.format="count">
>    <beam stem.dir="up">
>       <chord dur="8">
>          <note oct="3" pname="g"/>
>          <note oct="4" pname="g"/>
>       </chord>
>       <chord dur="8">
>          <note oct="3" pname="g"/>
>          <note oct="4" pname="g"/>
>       </chord>
>       <chord dur="8">
>          <note oct="3" pname="g"/>
>          <note oct="4" pname="g"/>
>       </chord>
>    </beam>
> </tuplet>
> 
> Conversely, the @dots cannot be placed on the <bTrem> because the total duration of the bTrem is a quarter note, not a dotted quarter note.
> 
> A possibility is that this encoding could be used:
> 
> <bTrem form="meas" num="3" dur="4">
>   <chord stem.dir="up" stem.mod="1slash" dur="8">
>     <note pname="g" oct="3"/>
>     <note pname="g" oct="4"/>
>   </chord>
> </bTrem>
> 
> i.e., the duration of the entire group is a quarter note according to bTrem @dur, but there are three eighth note chords in the expanded version, so these are therefore triplet eighth notes, and three triplet eight notes compress into a single triplet dotted quarter note.  In other words, the visual dot is implicitly encoded and pops out of the math necessary to fit three eighth notes in the time of a quarter note.
> 
> But the only other way that I can see that this can be encoded properly, particularly with an explicit dot, would be to wrap the bTrem inside of a tuplet:
> 
> <tuplet num="3" numbase="2" num.visible="false" bracket.visible="false">
>    <bTrem form="meas" num="3" dur="4" dots="1">
>      <chord stem.dir="up" stem.mod="1slash" dur="8">
>        <note pname="g" oct="3"/>
>        <note pname="g" oct="4"/>
>      </chord>
>    </bTrem>
> </tuplet>
> 
> And the @dots="1" would be placed on the <bTrem> which now represents a triplet dotted quarter note.
> 
> The alignment duration of the <bTrem> should now be correct: a dotted triplet quarter note (i.e., a plain quarter note).  The duration of the chord inside the bTrem would also be correct: a triplet eighth note, and three of them match the duration of the bTrem, so no extra tupletization.
> 
> I have not used bTrem yet, but I am wondering why @stem.mod="1slash" is inside of bTrem rather than on bTrem directly?  It seems better for expanding into uncompressed regular notation, it would be easier if the styling of the bTrem were not on the contents that is to be repeated.
> 
> 
> -=+Craig
> 
> 
> _______________________________________________
> mei-l mailing list
> mei-l at lists.uni-paderborn.de
> https://lists.uni-paderborn.de/mailman/listinfo/mei-l

---
Donald Byrd
Woodrow Wilson Indiana Teaching Fellow
Adjunct Associate Professor of Informatics
Visiting Scientist, Research Technologies
Indiana University Bloomington









More information about the mei-l mailing list