<div dir="ltr">Hi Craig,<div><br></div><div>Thank you very much. This is useful and the example was really clear.</div><div><br></div><div>Regards,</div><div><br></div><div>Martha</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 4, 2017 at 2:38 PM, Craig Sapp <span dir="ltr"><<a href="mailto:craigsapp@gmail.com" target="_blank">craigsapp@gmail.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 class="gmail_extra">Hello Martha,</div><div class="gmail_extra"><span class=""><br><div class="gmail_quote">On 4 July 2017 at 18:40, Martha Thomae <span dir="ltr"><<a href="mailto:thomaemartha@gmail.com" target="_blank">thomaemartha@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Sorry to intrude, but when reading this a question popped into my head.<div>Is it possible to use @vo or another attribute to change the line in which a <rest> lies? This will help me with something I am working on.</div><div></div></div></blockquote></div><br></span>In theory rest@vo should work, but testing in verovio it does not seem to be supported.  You will probably instead want to use rest@ploc and rest@oloc, which work in verovio.  @ploc is the pitch-class position of the rest on the staff, and @oloc is the octave of the pitch-class position.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Example MEI data:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra"><font color="#9900ff"><?xml version="1.0" encoding="UTF-8"?></font></div><div class="gmail_extra"><font color="#9900ff"><?xml-model href="<a href="http://music-encoding.org/schema/4.0.0/mei-all.rng" target="_blank">http://music-encoding.<wbr>org/schema/4.0.0/mei-all.rng</a>" type="application/xml" schematypens="<a href="http://relaxng.org/ns/structure/1.0" target="_blank">http://relaxng.<wbr>org/ns/structure/1.0</a>"?></font></div><div class="gmail_extra"><font color="#9900ff"><?xml-model href="<a href="http://music-encoding.org/schema/4.0.0/mei-all.rng" target="_blank">http://music-encoding.<wbr>org/schema/4.0.0/mei-all.rng</a>" type="application/xml" schematypens="<a href="http://purl.oclc.org/dsdl/schematron" target="_blank">http://purl.<wbr>oclc.org/dsdl/schematron</a>"?></font></div><div class="gmail_extra"><font color="#9900ff"><mei xmlns="<a href="http://www.music-encoding.org/ns/mei" target="_blank">http://www.music-<wbr>encoding.org/ns/mei</a>" meiversion="4.0.0"></font></div><div class="gmail_extra"><font color="#9900ff">    <meiHead></font></div><div class="gmail_extra"><font color="#9900ff">        <fileDesc></font></div><div class="gmail_extra"><font color="#9900ff">            <titleStmt></font></div><div class="gmail_extra"><font color="#9900ff">                <title /></font></div><div class="gmail_extra"><font color="#9900ff">            </titleStmt></font></div><div class="gmail_extra"><font color="#9900ff">            <pubStmt /></font></div><div class="gmail_extra"><font color="#9900ff">        </fileDesc></font></div><div class="gmail_extra"><font color="#9900ff">    </meiHead></font></div><div class="gmail_extra"><font color="#9900ff">    <music></font></div><div class="gmail_extra"><font color="#9900ff">        <body></font></div><div class="gmail_extra"><font color="#9900ff">            <mdiv></font></div><div class="gmail_extra"><font color="#9900ff">                <score></font></div><div class="gmail_extra"><font color="#9900ff">                    <scoreDef></font></div><div class="gmail_extra"><font color="#9900ff">                        <staffGrp></font></div><div class="gmail_extra"><font color="#9900ff">                            <staffDef clef.shape="G" clef.line="2" meter.count="4" meter.unit="4" n="1" lines="5" /></font></div><div class="gmail_extra"><font color="#9900ff">                        </staffGrp></font></div><div class="gmail_extra"><font color="#9900ff">                    </scoreDef></font></div><div class="gmail_extra"><font color="#9900ff">                    <section></font></div><div class="gmail_extra"><font color="#9900ff">                        <measure></font></div><div class="gmail_extra"><font color="#9900ff">                            <staff n="1"></font></div><div class="gmail_extra"><font color="#9900ff">                                <layer n="1"></font></div><div class="gmail_extra"><font color="#9900ff">                                    <note dur="4" oct="4" pname="b" accid.ges="n" /></font></div><div class="gmail_extra"><font color="#9900ff">                                    <rest dur="4" ploc="c" oloc="6" /></font></div><div class="gmail_extra"><font color="#9900ff">                                    <note dur="4" oct="4" pname="b" accid.ges="n" /></font></div><div class="gmail_extra"><font color="#9900ff">                                    <note dur="4" oct="5" pname="b" accid.ges="n" /></font></div><div class="gmail_extra"><font color="#9900ff">                                </layer></font></div><div class="gmail_extra"><font color="#9900ff">                                <layer n="2"></font></div><div class="gmail_extra"><font color="#9900ff">                                    <note dur="4" oct="4" pname="e" accid.ges="n" /></font></div><div class="gmail_extra"><font color="#9900ff">                                    <note dur="4" oct="5" pname="e" accid.ges="n" /></font></div><div class="gmail_extra"><font color="#9900ff">                                    <note dur="2" oct="4" pname="f" accid.ges="n" /></font></div><div class="gmail_extra"><font color="#9900ff">                                </layer></font></div><div class="gmail_extra"><font color="#9900ff">                            </staff></font></div><div class="gmail_extra"><font color="#9900ff">                        </measure></font></div><div class="gmail_extra"><font color="#9900ff">                    </section></font></div><div class="gmail_extra"><font color="#9900ff">                </score></font></div><div class="gmail_extra"><font color="#9900ff">            </mdiv></font></div><div class="gmail_extra"><font color="#9900ff">        </body></font></div><div class="gmail_extra"><font color="#9900ff">    </music></font></div><div class="gmail_extra"><font color="#9900ff"></mei></font></div><div><br></div><div>Rendering in verovio:</div><div><br></div><div><img src="cid:ii_15d0edf79d39dbf7" alt="Inline images 1" width="230" height="129" style="margin-right:0px"><br></div><div><br></div><div>In other words, the rest is placed at the position C6 (@ploc="c" @oloc="6").</div><div><br></div><div>Usually you would use rest adjustments in this sort of situation (multiple layers of music), so specifying the pitch of the rest position will allow for a change of clef or transposition to handle the new placement of the rest correctly (@vo would not work in such cases).</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-=+Craig</div><div><br></div></font></span></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div></div>
<br>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">https://lists.uni-paderborn.<wbr>de/mailman/listinfo/mei-l</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><i>Martha E. Thomae</i></div></div>
</div>