<div dir="ltr"><div class="gmail_extra">Hi Morgan & Perry,</div><div class="gmail_extra"><div class="gmail_extra"><br></div><div class="gmail_extra"><span style="font-size:12.8px">> I tried setting the value of chord/@dur to 4. That produced tremolos as dotted quarter notes (as per the score) but again the Verovio rendering is out of alignment with staff below. See attached file btrem_3_4.png.</span><br style="font-size:12.8px"></div><div class="gmail_extra"><br></div><div class="gmail_extra">This is a tricky case due to @dots (who is the wize guy/gal who chose this as the first measure to encode in a tutorial? :-).  In Perry's solution:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><font color="#9900ff"><bTrem form="meas" num="3" dur="4"></font></div><div class="gmail_extra"><font color="#6aa84f">  <chord stem.dir="up" stem.mod="1slash" dur="8" dots="1"></font></div><div class="gmail_extra"><font color="#6aa84f">    <note pname="g" oct="3"/></font></div><div class="gmail_extra"><font color="#6aa84f">    <note pname="g" oct="4"/></font></div><div class="gmail_extra"><font color="#6aa84f">  </chord></font></div><div class="gmail_extra"><font color="#9900ff"></bTrem></font></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">the @dots cannot occur on the <chord> because the expanded notation does not have any dots (this chord is expanded to triplet eighth notes, not dotted triplet eighth notes):</div><div><font color="#9900ff"><br></font></div></div><div class="gmail_extra"><font color="#9900ff"><tuplet num="3" numbase="2" bracket.visible="false" num.format="count"></font></div><div class="gmail_extra"><font color="#45818e">   <beam stem.dir="up"></font></div><div class="gmail_extra"><font color="#6aa84f">      <chord dur="8"></font></div><div class="gmail_extra"><font color="#6aa84f">         <note oct="3" pname="g"/></font></div><div class="gmail_extra"><font color="#6aa84f">         <note oct="4" pname="g"/></font></div><div class="gmail_extra"><font color="#6aa84f">      </chord></font></div><div class="gmail_extra"><font color="#6aa84f">     </font><font color="#0000ff"> <chord dur="8"></font></div><div class="gmail_extra"><font color="#0000ff">         <note oct="3" pname="g"/></font></div><div class="gmail_extra"><font color="#0000ff">         <note oct="4" pname="g"/></font></div><div class="gmail_extra"><font color="#0000ff">      </chord></font></div><div class="gmail_extra"><font color="#0000ff">      <chord dur="8"></font></div><div class="gmail_extra"><font color="#0000ff">         <note oct="3" pname="g"/></font></div><div class="gmail_extra"><font color="#0000ff">         <note oct="4" pname="g"/></font></div><div class="gmail_extra"><font color="#0000ff">      </chord></font></div><div class="gmail_extra"><font color="#45818e">   </beam></font></div><div class="gmail_extra"><font color="#9900ff"></tuplet></font></div><div class="gmail_extra"><br></div><div class="gmail_extra">Conversely, the @dots cannot be placed on the <bTrem> because the total duration of the bTrem is a quarter note, not a dotted quarter note.</div><div class="gmail_extra"><br></div><div class="gmail_extra">A possibility is that this encoding could be used:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra"><font color="#9900ff"><bTrem form="meas" num="3" dur="4"></font></div><div class="gmail_extra"><font color="#6aa84f">  <chord stem.dir="up" stem.mod="1slash" dur="8"></font></div><div class="gmail_extra"><font color="#6aa84f">    <note pname="g" oct="3"/></font></div><div class="gmail_extra"><font color="#6aa84f">    <note pname="g" oct="4"/></font></div><div class="gmail_extra"><font color="#6aa84f">  </chord></font></div><div class="gmail_extra"><font color="#9900ff"></bTrem></font></div></div><div class="gmail_extra"><br></div><div class="gmail_extra">i.e., the duration of the entire group is a quarter note according to bTrem @dur, but there are three eighth note chords in the expanded version, so these are therefore triplet eighth notes, and three triplet eight notes compress into a single triplet dotted quarter note.  In other words, the visual dot is implicitly encoded and pops out of the math necessary to fit three eighth notes in the time of a quarter note.</div><div class="gmail_extra"><br></div><div class="gmail_extra">But the only other way that I can see that this can be encoded properly, particularly with an explicit dot, would be to wrap the bTrem inside of a tuplet:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra"><font color="#9900ff"><tuplet num="3" numbase="2" num.visible="false" bracket.visible="false"></font></div></div><div class="gmail_extra"><div class="gmail_extra"><font color="#0000ff">   <bTrem form="meas" num="3" dur="4" dots="1"></font></div><div class="gmail_extra"><font color="#6aa84f">     <chord stem.dir="up" stem.mod="1slash" dur="8"></font></div><div class="gmail_extra"><font color="#6aa84f">       <note pname="g" oct="3"/></font></div><div class="gmail_extra"><font color="#6aa84f">       <note pname="g" oct="4"/></font></div><div class="gmail_extra"><font color="#6aa84f">     </chord></font></div><div class="gmail_extra"><font color="#0000ff">   </bTrem></font></div><div class="gmail_extra"><font color="#9900ff"></tuplet></font></div><div class="gmail_extra"><font color="#9900ff"><br></font></div></div></div><div class="gmail_extra"><span style="font-size:12.8px">And the @dots="1" would be placed on the <bTrem> which now represents a triplet dotted quarter note.</span></div><div class="gmail_extra"><span style="font-size:12.8px"><br></span></div><div class="gmail_extra"><span style="font-size:12.8px">The alignment duration of the <bTrem> should now be correct: a dotted triplet quarter note (i.e., a plain quarter note).  The duration of the chord inside the bTrem would also be correct: a triplet eighth note, and three of them match the duration of the bTrem, so no extra tupletization.</span></div><div class="gmail_extra"><br></div><div class="gmail_extra">I have not used bTrem yet, but I am wondering why @stem.mod="1slash" is inside of bTrem rather than on bTrem directly?  It seems better for expanding into uncompressed regular notation, it would be easier if the styling of the bTrem were not on the contents that is to be repeated.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><span style="font-size:12.8px">-=+Craig</span></div><div class="gmail_extra"><span style="font-size:12.8px"><br></span></div><div class="gmail_extra"><span style="font-size:12.8px"><br></span></div></div>