Printing bar numbers using modulo-bar-number-visible: Difference between revisions
m New category |
Rudi Guggt (talk | contribs) m corr |
||
| Line 5: | Line 5: | ||
* <code>(modulo-bar-number-visible 3 2)</code> -> prints 2,5,8 | * <code>(modulo-bar-number-visible 3 2)</code> -> prints 2,5,8 | ||
* <code>(modulo-bar-number-visible 4 2)</code> -> prints 2,6,10 | * <code>(modulo-bar-number-visible 4 2)</code> -> prints 2,6,10 | ||
* <code>(modulo-bar-number-visible | * <code>(modulo-bar-number-visible 2 1)</code> -> prints 3,5,7 | ||
* <code>(modulo-bar-number-visible 5 | * <code>(modulo-bar-number-visible 5 0)</code> -> prints 5,10,15 | ||
<lilypond version="2.24" full> | <lilypond version="2.24" full> | ||
| Line 13: | Line 13: | ||
\Score | \Score | ||
\override BarNumber.break-visibility = ##(#f #t #t) | \override BarNumber.break-visibility = ##(#f #t #t) | ||
barNumberVisibility = #(modulo-bar-number-visible | barNumberVisibility = #(modulo-bar-number-visible 5 0) | ||
} | } | ||
} | } | ||