Repeat with brackets: Difference between revisions

Import snippet from LSR
 
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
Line 1: Line 1:
This snippet adds brackets with the number of repetitions above a bar or a group of bar. Very useful when dealing with minimal music, for instance. To summon it, simply use <code>\repeatBracket </code><code>N</code><code> </code><code>music</code>, where <code>N</code> is the number of repetitions. Example: <code>\repeatBracket 7 { c'2 e' }</code>
This snippet adds brackets with the number of repetitions above a bar or a group of bar. Very useful when dealing with minimal music, for instance. To summon it, simply use <code>\repeatBracket </code><code>N</code><code> </code><code>music</code>, where <code>N</code> is the number of repetitions. Example: <code>\repeatBracket 7 { c'2 e' }</code>


<lilypond version="2.24.0" full>
<lilypond version="2.24" full>
% repeatBracket snippet
% repeatBracket snippet
% will add .----Nx----. above a bar, where N is the number of repetitions
% will add .----Nx----. above a bar, where N is the number of repetitions