Isolated percent repeats: Difference between revisions
Appearance
No edit summary |
m New category |
||
| Line 14: | Line 14: | ||
[[Category:Repeats]] | [[Category:Repeats]] | ||
[[Category:Included in the official documentation]][[Category:Snippet]] | [[Category:Included in the official documentation]] | ||
[[Category:Snippet]] | |||
Revision as of 23:30, 21 November 2025
Isolated percents can also be printed.
\version "2.24"
makePercent =
#(define-music-function (note) (ly:music?)
"Make a percent repeat the same length as NOTE."
(make-music 'PercentEvent
'length (ly:music-length note)))
\relative c'' {
\makePercent s1
}