Hi Majohannes & JoMaja,<div><br></div><div>I had Perry encode a similar example on page 3 of:</div><div> <a href="http://wiki.ccarh.org/mediawiki/images/c/cb/30_short_mei_encoding_examples.pdf">http://wiki.ccarh.org/mediawiki/images/c/cb/30_short_mei_encoding_examples.pdf</a></div>
<div><br></div><div><br></div><div><img src="cid:ii_13dfeb73bbf03bf2" alt="Inline image 2" width="200" height="89"></div><div><br></div><div>which was done</div><div> <beam></div><div> <grace note 1></div>
<div> <grace note 2></div><div> </beam></div><div> <beam></div><div> <note 1></div><div> <note 2></div><div> <beam></div><div> <grace note 3></div>
<div> <grace note 4></div><div> </beam></div><div> <note 3></div><div></beam></div><div><br></div><div>Grace notes should never be beamed with regular notes so the second graphical example you gave would be an incorrect rendering of this data. The beat span should not be necessary in this case. Programmatically it takes work to determine if a beam is regular or grace: you must look inside the beam to see if the first note is regular or grace. With a beam span, to determine if it is regular or grace type, you would have to look at the next note which follows it.</div>
<div><br></div><div>Also here is the other example on the above link (page 3) with a similar case:</div><div><br></div><div><img src="cid:ii_13dfebe1bdf12529" alt="Inline image 3" width="200" height="66"><br></div><div><br>
</div><div>which is encoded as:</div><div><br></div><div><beam></div><div> <note 1></div><div> <grace note 1></div><div> <note 2></div><div> <grace note 2></div><div> <note 3></div>
<div> <note 4></div><div></beam></div><div><br></div><div>Note that the grace notes are not attached to the beam of the regular notes even though they are not in grace-note beams.</div><div><br></div><div>The only two cases that I can think of for beam spanning would be across barlines and in some sort of string notation to alternate playing on two different strings:</div>
<div><br></div><div><img src="cid:ii_13dfecca937251e2" alt="Inline image 4" width="420" height="61"><br></div><div><br></div><div>-=+Craig</div><div><br></div><div><br><div class="gmail_quote">On Fri, Apr 12, 2013 at 3:21 AM, TW <span dir="ltr"><<a href="mailto:zupftom@googlemail.com" target="_blank">zupftom@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Dear Majohannes,<br><br></div>I think grace notes could still explicitly be made part of a beam using the method you described above, using <beamSpan> and @plist. (Or is this now called @members?)<br>
</div> I think being forced to resort to <beamSpan> is more than justified for the very rare or even non-existing case of grace-notes that are under the same beam with normal notes.<br><br></div>Thomas<br><div><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/12 Maja Hartwig <span dir="ltr"><<a href="mailto:maja.hartwig@gmx.de" target="_blank">maja.hartwig@gmx.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
Dear MEIers,<br>
<br>
while working on a revised version of the MusicXML to MEI stylesheets, we noticed a situation that is not absolutely clear in MEI, or that could be improved by better documentation. We have an MusicXML file that has beamed chords with a leading grace note each. Those grace notes are not part of the beam (look at colored sample). While the old converter produces a single <beam> element which holds all chords, but also the grace notes (beginning with the second). This results in the rendition you see in the black&white sample.<br>
<br>
<grace1/><br>
<beam><br>
<chord/><br>
<grace2/><br>
<chord/><br>
…<br>
</beam><br>
<br>
Of course MEI allows to avoid the beam element and use a beamSpan, which connects all chords to a beam from an external point, leaving out the grace notes. However, this markup seems slightly more complicated.<br>
<br>
<grace1/><br>
<chord1/><br>
<grace2/><br>
<chord2/><br>
<grace3/><br>
<chord3/><br>
<br>
…<br>
<beamSpan members="chord1 chord2 chord3"/><br>
<br>
(everything above is pseudo code, MEI is not working exactly like this)<br>
<br>
While we could simply stick with the beamSpan solution, I wonder if there is such thing as a grace note being member of a regular beam at all? Of course grace notes may be beamed, but only amongst their kind, correct? If this would be the case, we could simply define in the guidelines that grace notes do not attach to a beam drawn by a parent beam element. However, this solution would mean that there wouldn't be a way to attach it to that beam unless we come up with a new solution for that issue. What do you think? Have you ever seen a grace note attached to a regular beam? Do you expect that there is one out there? Don?<br>
<br>
Best,<br>
Johannes<br>
<br>
(having captured Maja's machine…)<br>
<br>
<br>
<br></div></div>_______________________________________________<br>
mei-l mailing list<br>
<a href="mailto:mei-l@lists.uni-paderborn.de" target="_blank">mei-l@lists.uni-paderborn.de</a><br>
<a href="https://lists.uni-paderborn.de/mailman/listinfo/mei-l" target="_blank">https://lists.uni-paderborn.de/mailman/listinfo/mei-l</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
mei-l mailing list<br>
<a href="mailto:mei-l@lists.uni-paderborn.de">mei-l@lists.uni-paderborn.de</a><br>
<a href="https://lists.uni-paderborn.de/mailman/listinfo/mei-l" target="_blank">https://lists.uni-paderborn.de/mailman/listinfo/mei-l</a><br>
<br></blockquote></div><br></div>