|
From: | Simon Albrecht |
Subject: | Re: Markings on a percent bar |
Date: | Thu, 23 Nov 2017 23:11:17 +0100 |
On 23.11.2017 17:28, Wols Lists wrote:
That "4" is actually a simple example of a common construct - it means the fourth repeated bar. If I had had six bars, it might have had "4", "5", "6" - it always starts counting at the first bar, but usually only prints the count starting some way in (as here, with 4). It's also very commonly used when you have cue parts, the player may have 16 or more bars rest with cues.
There’s no tool doing _all_ that, but there’s the Measure_counter_engraver, which goes a long way: <http://lilypond.org/doc/v2.19/Documentation/snippets/repeats#repeats-numbering-groups-of-measures>.
\score { \new Voice << \repeat percent 4 { c'4 d' e' f' }{ s1*3 \override Staff.MeasureCounter.count-from = 4 \startMeasureCount s1 \stopMeasureCount }
>> \layout { \context { \Staff \consists "Measure_counter_engraver" } } } This could be simplified by – guess what: a music function. Best, Simon
[Prev in Thread] | Current Thread | [Next in Thread] |