[MEI-L] dots on chords and rests
kepper at edirom.de
Wed Oct 14 10:54:20 CEST 2015
we're slightly puzzled by the encoding of dotted chords and rests for Beethovens Werkstatt. As we need to attach SVG shapes to our dots, we have to encode them as elements. When encoding a note, this is perfectly possible, using the <dot> child element within note. However, <dot> is not allowed within rest. With chords, a <dot> is also not allowed inside <chord>. Here, I understand the complications: If you put two <dot> elements inside a chord, it could mean that there is a separate dot for each of the two notes (duration * 1.5), or it could mean that it's a double-dotted chord (duration * 1.75). This means you have to put the <dot>s inside the child notes, which means that querying for durations is really a pain (you have to look for @dur on <chord>, and for <dot> inside the contained <note>).
I know it's possible to put the dot inside <layer>, but this weakens the connection between dot and the music event it belongs to in a rather severe way.
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname : signature.asc
Dateityp : application/pgp-signature
Dateigröße : 496 bytes
Beschreibung: Message signed with OpenPGP using GPGMail
URL : <http://lists.uni-paderborn.de/pipermail/mei-l/attachments/20151014/d28fbaa0/attachment.sig>
More information about the mei-l