User-defined time signatures: Difference between revisions
Appearance
Import snippet from LSR |
mNo edit summary |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
New time signature styles can be defined. The time signature in the second measure | New time signature styles can be defined. The time signature in the second measure is printed upside down in both staves. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
#(add-simple-time-signature-style 'topsy-turvy | #(add-simple-time-signature-style 'topsy-turvy | ||
(lambda (fraction) | (lambda (fraction) | ||
| Line 19: | Line 19: | ||
[[Category:Rhythms]] | [[Category:Rhythms]] | ||
[[Category:Scheme]] | |||
[[Category:Included in the official documentation]] | [[Category:Included in the official documentation]] | ||
[[Category:Snippet]] | |||
Latest revision as of 19:32, 30 November 2025
New time signature styles can be defined. The time signature in the second measure is printed upside down in both staves.
\version "2.24"
#(add-simple-time-signature-style 'topsy-turvy
(lambda (fraction)
(make-rotate-markup 180 (make-compound-meter-markup fraction))))
<<
\new Staff {
\time 3/4 f'2.
\override Score.TimeSignature.style = #'topsy-turvy
\time 3/4 R2. \bar "|."
}
\new Staff {
R2. e''
}
>>