Permitting line breaks within beamed tuplets: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
| Line 31: | Line 31: | ||
</lilypond> | </lilypond> | ||
[[Category:Contexts and engravers]] | |||
[[Category:Rhythms]] | [[Category:Rhythms]] | ||
[[Category:Included in the official documentation]] | [[Category:Included in the official documentation]] | ||
[[Category:Snippet]] | [[Category:Snippet]] | ||
Latest revision as of 08:16, 8 December 2025
These artificial examples show how both manual and automatic line breaks may be permitted within beamed tuplets that can't be rhythmically split in an exact way.
This feature only works with manually beamed tuplets.
\version "2.24"
\layout {
\context {
\Voice
% Permit automatic line breaks within tuplets.
\remove "Forbid_line_break_engraver"
% Allow beams to be broken at line breaks.
\override Beam.breakable = ##t
}
}
\relative c'' {
<>^"manually forced line break"
a8
\repeat unfold 5 { \tuplet 3/2 { c8[ b g16 a] } }
\tuplet 3/2 { c8[ b \break g16 a] }
\repeat unfold 5 { \tuplet 3/2 { c8[ b g16 a] } }
c8 \bar "||"
}
\relative c'' {
<>^"automatic line break"
\repeat unfold 28 a16
\tuplet 11/8 { a16[ b c d e f e d c b a] }
\repeat unfold 28 a16 \bar "||"
}