bell notificationshomepageloginNewPostedit profiledmBox

Hoots : Multi-measure percent repeats in lilypond I'm trying to copy a score that indicates the repeat of a 4-bar phrase that has the 4 repeat bars laid out on the sheet, with a single (4-slash) percent-repeat symbol symbol in the - freshhoot.com

10% popularity   0 Reactions

Multi-measure percent repeats in lilypond
I'm trying to copy a score that indicates the repeat of a 4-bar phrase that has the 4 repeat bars laid out on the sheet, with a single (4-slash) percent-repeat symbol symbol in the middle, sort of like this:

| music | music | music | music |

4
| | % | |

The snippets don't help me with this.

Note: I'm using ver. 2.14, so it might just be that my version is somewhat old.


Load Full (1)

Login to follow hoots

1 Comments

Sorted by latest first Latest Oldest Best

10% popularity   0 Reactions

Maybe adapting the "Isolated percent repeats" snippet may help: just replace the whole note by a longa:

makePercent =
#(define-music-function (parser location note) (ly:music?)
"Make a percent repeat the same length as NOTE."
(make-music 'PercentEvent
'length (ly:music-length note)))

relative c'' {
c1 | d1 | c1 | b1 break
makePercent slonga break
c1 | c4 d4 b4 f4 | a1 a1 bar "|."
}

will result in:


Back to top Use Dark theme