No subject
Tue Jul 7 09:37:32 CEST 2009
<score>
<scoredef key.sig="3s" meter.count="3" meter.unit="4">
<staffdef n="1"/>
</scoredef>
<section>
<measure>
<staff n="1">
<layer n="1">
<tuplet num.place="above" num.format="count" bracket.visible="false">
<note pname="a" oct="4" dur="8"/>
<note pname="c" oct="5"/>
<note pname="e"/>
<note pname="g"/>
<note pname="e"/>
<note pname="g"/>
<note pname="a"/>
</tuplet>
</layer>
<layer n="2">
<tuplet num.place="below" num.format="count" bracket.visible="false">
<note pname="e" oct="4" dur="16"/>
<note pname="d"/>
<note pname="c" dur="8"/>
<note pname="e"/>
<note pname="a"/>
<note pname="g"/>
</tuplet>
</layer>
</staff>
</measure>
</section>
</score>
Either the logical duration of the <tuplet> or the <note> needs to be explicit,
or the tuplet factor needs to be explicit. For example: "7 in the
time of 6" for
the first layer. The "7" can be extracted (painfully) from the data, but the
"6" cannot. Relying on the logical duration of the <measure> will work in
this particular case, but not in the general case. Suppose that you have:
<measure in 3/4 meter>
<tuplet/>
<tuplet/>
</measure>
Who is to say that the first tuplet takes two beats and the second tuplet
takes one beat, or vice-versa?
An unrelated question: you didn't specify oct/dur values for all
notes. Is this just
due to being parsimonious for illustration purposes, or is this an
allowed property
of (note) attributes in MEI to inherit unset attribute values from previous
elements (notes)?
-=+Craig
More information about the mei-l
mailing list