Closed jacekiwaszko1 closed 1 year ago
It would be good for using brackets for editorial clefs as a default style (and the default color would be black unless a color is given. Maybe have some parameter to hide the brackets.
An interesting behavior is that the C3 clef will become colored if it is at the start of the music:
The clef is colored if in the middle of the measure:
Sometimes shows with gray:
Clef changes are typically displayed before a barline, so the bass clef is small if placed before the barline:
Implemented with commit https://github.com/rism-digital/verovio/commit/fafb9ec324e1794ecccd97bb75b98e27b9f2de36
Test example:
**kern
*clefG2
=1
1c
!LO:CL:ed
*clefF4
=2
1c
!LO:CL:ed:color=royalblue
*clefG2
=3
1c
=4
!LO:CL:ed
*clefF4
1c
=5
!LO:CL:ed:color=orange
*clefG2
1c
==
*-
Transcoded from Humdrum
Rendering:
Encoding of editorial clefs discussed and implemented in issue #188 doesn't work. Example from this comment:
is now rendered as
instead of
And since there's an option to render the clef in brackets (
clef@enclose="brack"
), maybe that would be a good thing to implement as a default behavior? Example belowcould be rendered then as
Click for MEI encoding proposal
```xmlTranscoded from Humdrum