[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Add "countUnfoldRepeats" feature
From: |
Xavier Scheuer |
Subject: |
Add "countUnfoldRepeats" feature |
Date: |
Sun, 16 Dec 2012 22:12:00 +0100 |
Hi,
Now that "Measure_counter_engraver" has been implemented into LilyPond
people can add a measure counter (great, thanks).
But unfortunately people have to start it and stop it _manually_,
using \startMeasureCount and \stopMeasureCount.
Could we add a feature to have an _automatic_ measure counter for
unfold repeats?
Something like "countPercentRepeats" but for unfold repeats, that could
be named "countUnfoldRepeats".
With a "countUnfoldRepeats" property, "UnfoldRepeatCounter" object
and "Unfold_repeat_engraver".
I do not know if "repeatCountVisibility" property should be divided
into "percentRepeatCountVisibility" and "unfoldRepeatCountVisibility"
or if they could both share "repeatCountVisibility".
%%%% Example of how it would work
\relative c'' {
\set countUnfoldRepeats = ##t
\repeat unfold 4 { c1 }
}
%%%% End of example
Thank you in advance.
Cheers,
Xavier
--
Xavier Scheuer <address@hidden>
- Add "countUnfoldRepeats" feature,
Xavier Scheuer <=