BirminghamConservatoire / JohannesTinctoris

Editing and rendering text and music notation for online edition of music treatises
7 stars 4 forks source link

Custos within variant #16

Open goursaud opened 4 years ago

goursaud commented 4 years ago

A custos within a variant does not point to the next note but to the next note outside the variant (should be a but is G). Workaround (not ideal) is to specify the pitch of the custos: ca.

`<piece: {mensural: void}, {staf: 5, black}>

{clef: C10} {solm: 0} {mens: O9} Sa. md. sc sb sa mb mG Pm7 mG. sa sb sc {var="Sa _{var="c" V : (om.) BU Br1} _{clef: F10} {solm: 0} ma" V BU Br1 : "Sa." Per} sG sE. fD sC mB SA. SD. mGG. mC sB SGG.

`

image

annplaksin commented 4 years ago

As I assumed, base/nextPitch() only interates through following items on the highest hierarchical level of the piece when trying to find a following pitch.

Would it be okay to help yourself with the workaround? Since it can be solved with specifying the pitch, this issue has a lower priority than the others that can't be fixed with a workaround.