How to add cues in repeat measures

• May 24, 2019 - 18:08

Right now, it seems that making a measure a 'repeat measure' overwrites all voices in the measure. Is there a way to have both the 'repeat measure' sign and a cue note in the same measure? My main application for this is in drum parts: 'repeat measure' to indicate continuing time (whatever the pattern is) but with a cue for horn hits in case the drummer sees fit to complement them. I like the 'repeat measure' for this as opposed to slashes, which I use for 'solo' space in the drumset part in an arrangement.


Comments

In reply to by mike320

Well, to be fair, I don't care about proper playback in this case. Just the manuscript. The ability to grab a 'repeat measure' symbol without any functionality and position it in a measure would be all I want, then I could add 'cute notes' as needed. Everything else I'd want is already there: including the ability to make rests not visible.

In reply to by mike320

If you mean a formal Suggestion in the issue tracker, I don't know of one, but it's been discussed in the context of the forum and maybe other issues, 5o the point where I see already have a plan for exactly how it could be implemented. The layout code is already there - we use it for repeat text. So to see what it might look like in action, just add a "Fine" to your score and then set its alignment to center. Of course, repeat text, being attached to the measure rather than a staff, can't be displayed over specific staves, but the point is, the layout code is there. So all we need is a special flag on the existing staff text that says, layout to the measure rather than to the segment. And we already have a flag "layoutToParentWidth", which is what we use for repeat text (and also frame text, which works similarly). If we made it so setting this flag on staff text caused it to layout to the measure (technically, its grandparent, not its parent), then that should do it.

So all that would be required for this to work is a two-line change (my favorite!) to TextBlock::layout(), and to add a way to create/read/write such an element.

Do you still have an unanswered question? Please log in first to post your question.