<div dir="ltr"><div class="gmail_extra">Hello Martha,</div><div class="gmail_extra"><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>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">http://music-encoding.org/schema/4.0.0/mei-all.rng</a>" type="application/xml" schematypens="<a href="http://relaxng.org/ns/structure/1.0">http://relaxng.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">http://music-encoding.org/schema/4.0.0/mei-all.rng</a>" type="application/xml" schematypens="<a href="http://purl.oclc.org/dsdl/schematron">http://purl.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">http://www.music-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><div><br></div><div>-=+Craig</div><div><br></div></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div></div>