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
I feel like mode is kind of central and necessary when talking about using part-voice in layouts.
Here's a thought example: Imagine a choral piece, where the final chorus has a high-soprano descant. It's the only place in the whole piece where the sopranos would split, and for the set of measures where it exists, the relevant sequences are labelled voice="descant", and no other voices are labelled, even in those measures.
In the descant layout, how does the algorithm know to not repeat the descant sequence in the stem-down voices? The only way for it to know that is if we assume that a note can only show up in a system layout once, and that is patently false as you could easily just add a whole part to more than one staff layout. In order for that layout to work, we need to add <part-layout part="soprano" part-voice="descant" mode="exclude"/> to the downstem voices. We can't assume that any note only shows up in a system layout once, or that a part refers only to the unlabeled sequences.
I have a couple of questions that may help me understand the issue better. It’s not an objection that this is broken, just trying to get to the core of why this is needed.
the example assumes that the descant voice was labeled in a useful way within the soprano part. Why then would the encoder not have also labeled the other voice or voices in a useful way to let them to be included in the stem-down layout, simply omitting descant from the list of included voices? The example seems to be putting an artificial roadblock in the way of the encoder doing something simple?
I realize this is jumping ahead a bit, but one could label the events in the split passage with class names and then apply styles to selectively flip stems.
I feel like
mode
is kind of central and necessary when talking about usingpart-voice
in layouts.Here's a thought example: Imagine a choral piece, where the final chorus has a high-soprano descant. It's the only place in the whole piece where the sopranos would split, and for the set of measures where it exists, the relevant sequences are labelled
voice="descant"
, and no other voices are labelled, even in those measures.In the descant layout, how does the algorithm know to not repeat the descant sequence in the stem-down voices? The only way for it to know that is if we assume that a note can only show up in a system layout once, and that is patently false as you could easily just add a whole part to more than one staff layout. In order for that layout to work, we need to add
<part-layout part="soprano" part-voice="descant" mode="exclude"/>
to the downstem voices. We can't assume that any note only shows up in a system layout once, or that apart
refers only to the unlabeled sequences.Originally posted by @clnoel in #185 (comment)
The text was updated successfully, but these errors were encountered: