[MEI-L] graceful beams
Craig Sapp
craigsapp at gmail.com
Fri Apr 12 17:18:23 CEST 2013
Hi Majohannes & JoMaja,
I had Perry encode a similar example on page 3 of:
http://wiki.ccarh.org/mediawiki/images/c/cb/30_short_mei_encoding_examples.pdf
[image: Inline image 2]
which was done
<beam>
<grace note 1>
<grace note 2>
</beam>
<beam>
<note 1>
<note 2>
<beam>
<grace note 3>
<grace note 4>
</beam>
<note 3>
</beam>
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.
Also here is the other example on the above link (page 3) with a similar
case:
[image: Inline image 3]
which is encoded as:
<beam>
<note 1>
<grace note 1>
<note 2>
<grace note 2>
<note 3>
<note 4>
</beam>
Note that the grace notes are not attached to the beam of the regular notes
even though they are not in grace-note beams.
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:
[image: Inline image 4]
-=+Craig
On Fri, Apr 12, 2013 at 3:21 AM, TW <zupftom at googlemail.com> wrote:
> Dear Majohannes,
>
> 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?)
> 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.
>
> Thomas
>
>
>
> 2013/4/12 Maja Hartwig <maja.hartwig at gmx.de>
>
>> Dear MEIers,
>>
>> 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.
>>
>> <grace1/>
>> <beam>
>> <chord/>
>> <grace2/>
>> <chord/>
>> …
>> </beam>
>>
>> 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.
>>
>> <grace1/>
>> <chord1/>
>> <grace2/>
>> <chord2/>
>> <grace3/>
>> <chord3/>
>>
>> …
>> <beamSpan members="chord1 chord2 chord3"/>
>>
>> (everything above is pseudo code, MEI is not working exactly like this)
>>
>> 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?
>>
>> Best,
>> Johannes
>>
>> (having captured Maja's machine…)
>>
>>
>>
>> _______________________________________________
>> mei-l mailing list
>> mei-l at lists.uni-paderborn.de
>> https://lists.uni-paderborn.de/mailman/listinfo/mei-l
>>
>>
>
> _______________________________________________
> mei-l mailing list
> mei-l at lists.uni-paderborn.de
> https://lists.uni-paderborn.de/mailman/listinfo/mei-l
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-paderborn.de/pipermail/mei-l/attachments/20130412/8656d6d0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2013-04-12 at 7.50.09 AM.png
Type: image/png
Size: 17777 bytes
Desc: not available
URL: <http://lists.uni-paderborn.de/pipermail/mei-l/attachments/20130412/8656d6d0/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2013-04-12 at 8.14.29 AM.png
Type: image/png
Size: 16911 bytes
Desc: not available
URL: <http://lists.uni-paderborn.de/pipermail/mei-l/attachments/20130412/8656d6d0/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2013-04-12 at 7.56.08 AM.png
Type: image/png
Size: 18032 bytes
Desc: not available
URL: <http://lists.uni-paderborn.de/pipermail/mei-l/attachments/20130412/8656d6d0/attachment-0002.png>
More information about the mei-l
mailing list