[MEI-L] Coordinate system confusion

Martha Thomae thomaemartha at gmail.com
Tue Jul 4 23:39:28 CEST 2017


Wow, this is good! Thank you Klaus.

Regards,

Martha

On Tue, Jul 4, 2017 at 4:08 PM, Klaus Rettinghaus <
klaus.rettinghaus at gmail.com> wrote:

> Hi Martha,
>
> if you want to be independent from clefs you may use the @loc attribute:
>
>
> <mei xmlns="http://www.music-encoding.org/ns/mei" meiversion="3.0.0">
>   <meiHead>
>     <fileDesc>
>       <titleStmt>
>         <title />
>       </titleStmt>
>       <pubStmt>
>         <date />
>       </pubStmt>
>     </fileDesc>
>   </meiHead>
>   <music>
>     <body>
>       <mdiv>
>         <score>
>           <scoreDef>
>             <staffGrp>
>               <staffDef clef.shape="G" clef.line="2" n="1" lines="5" />
>             </staffGrp>
>           </scoreDef>
>           <section>
>             <measure n="1">
>               <staff n="1">
>                 <layer n="1">
>                   <rest dur="8" loc="2"/>
>                   <rest dur="8" loc="6"/>
>                   <rest dur="4" loc="0"/>
>                   <rest dur="2" loc="-2"/>
>                 </layer>
>               </staff>
>             </measure>
>             <measure n="2">
>               <staff n="1">
>                 <layer n="1">
>                   <clef shape="C" line="3"/>
>                   <rest dur="8" loc="2"/>
>                   <rest dur="8" loc="6"/>
>                   <rest dur="4" loc="0"/>
>                   <rest dur="2" loc="-2"/>
>                 </layer>
>               </staff>
>             </measure>
>             <measure n="3">
>               <staff n="1">
>                 <layer n="1">
>                   <clef shape="F" line="4"/>
>                   <rest dur="8" loc="2"/>
>                   <rest dur="8" loc="6"/>
>                   <rest dur="4" loc="0"/>
>                   <rest dur="2" loc="-2"/>
>                 </layer>
>               </staff>
>             </measure>
>             <measure n="4">
>               <staff n="1">
>                 <layer n="1">
>                   <clef shape="C" line="1"/>
>                   <rest dur="8" loc="2"/>
>                   <rest dur="8" loc="6"/>
>                   <rest dur="4" loc="0"/>
>                   <rest dur="2" loc="-2"/>
>                 </layer>
>               </staff>
>             </measure>
>           </section>
>         </score>
>       </mdiv>
>     </body>
>   </music>
> </mei>
> ‚Äč
> Klaus
>
>
> _______________________________________________
> mei-l mailing list
> mei-l at lists.uni-paderborn.de
> https://lists.uni-paderborn.de/mailman/listinfo/mei-l
>
>


-- 
*Martha E. Thomae*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-paderborn.de/pipermail/mei-l/attachments/20170704/7dff5c19/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: martha.png
Type: image/png
Size: 12392 bytes
Desc: not available
URL: <http://lists.uni-paderborn.de/pipermail/mei-l/attachments/20170704/7dff5c19/attachment.png>


More information about the mei-l mailing list