Functional "Repeat X measures sign"s
This request is simple enough conceptually. A very common object in jazz scores is the multimeasure repeat sign. Functions similarly to a standard "repeat measure sign", but can repeat the last X measures. Commonly used for even numbers like 2, 4, and 8, but the option should be available to customize and create these objects freely (like the new custom time signature menu).
What follows is my attempt to design an implementation for this feature. It may be helpful, but if not, feel free to disregard.
Implementation would be rather straight-forward. When an "repeat X measures sign" is dragged onto measure i:
- delete the contents of measures i..(i+X-1)
- create a visual element like the one in rpt.jpg , centered in the middle of the range i..(i+X-1)
- playback for that part upon reaching measure k within range i..(i+X-1) should play measure k-X
Under the hood, there may need to be a dynamically distant copy element created. For example, with a 4 measure repeat on measure 5, you may need to put a reference to ms1 in ms5, reference to ms2 in ms6, etc. Then, if another 4 measure repeat was placed in measure 9, you could copy the reference in ms5 pointing to ms1 directly into ms9. As long as these references are calculated&assigned at time of playback, this should be the most efficient solution.
Attachment | Size |
---|---|
rpt.jpg | 12.75 KB |
Comments
See #10220: Add a two and four measure (multi-measure) repeat sign with playback It's being worked on this summer, at least for two and four-bar repeats.