Hi Valentin,
For example we might have Staves that should behave differently if certain
other Staves are present. E.g. if we have some splitted staves and we want to
have voices behave differently depending on whether they are in a separate
staff or in the common staff. So for this it would be nice if we could simply
save information in the Staff context that tells us things like how many
different Parts we currently have in the Staff, for example.

For example we could handle properties that begin with „custom” as custom
properties, so we could say \override Staff.custom-my-property = something.

Can't we already do this within the details property of grobs? So not for a whole context (as in your Staff example), but you can already do

\override Staff.StaffSymbol.details.my-property = "I am too hard to play"

or in very much any other grob.

Lukas


Reply via email to