lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Starting PercentRepeatCounter on first measure


From: Evan Driscoll
Subject: Starting PercentRepeatCounter on first measure
Date: Wed, 20 Apr 2022 22:59:26 -0500

http://lilybin.com/w08zwj/6 for example. In short, I want the effect of the second system without the extra syntax every single group.

The docs give examples of using countPercentRepeats to get a measure counter on measures generated by '\repeat percent', but those omit the "1" over the original, written-out measure. The docs also have examples of using the Measure_counter_engraver and \startMeasureCount (and \stopMeasureCount) to get measure counts of arbitrary segments.

If I would like a "1" over the first, written-out measure of all of my '\repeat percent's I could go through and add a \startMeasureCount and \stopMeasureCount around all of them, as in the second system in my example link, but that's obnoxious and risks missing some.

Is there a better way? Something I'm missing on the RepeatPercentCounter object? Maybe a music function I could define and use instead of '\repeat percent` as a backup?

Evan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]