You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clefs can be positioned vertically with the staffDef@clef.line option. This allows vertical placement with respect to lines on the staff which is good for pitched clefs; however, for percussion clefs where there are an even number of lines on the staff, the clef cannot be positioned in the middle of the clef as is desired.
Perhaps it is necessary to implement an option staffDef@clef.loc or to allow fractional values for staffDef@clef.line.
Alternatively, I don't know of a case where the percussion clef is not centered on the staff, so I can instead submit an issue for verovio to always center percussion clefs by default (which would be more convenient), in which case it could set the line position to the unrepresentable 1.5 line for the two-line staff and 2.5 line for the four-line staff.
Example:
For the two-line and four-line cases, the clef cannot be placed properly.
Clefs can be positioned vertically with the
staffDef@clef.line
option. This allows vertical placement with respect to lines on the staff which is good for pitched clefs; however, for percussion clefs where there are an even number of lines on the staff, the clef cannot be positioned in the middle of the clef as is desired.Perhaps it is necessary to implement an option
staffDef@clef.loc
or to allow fractional values forstaffDef@clef.line
.Alternatively, I don't know of a case where the percussion clef is not centered on the staff, so I can instead submit an issue for verovio to always center percussion clefs by default (which would be more convenient), in which case it could set the line position to the unrepresentable 1.5 line for the two-line staff and 2.5 line for the four-line staff.
Example:
For the two-line and four-line cases, the clef cannot be placed properly.
MEI test data:
The text was updated successfully, but these errors were encountered: