On 08/04/12 18:39, Helge Kruse wrote:
Hello,
I need to typeset a piece but want to keep the original beaming. The
beams that Lilypond uses per default does not match. I know I can add
the [] to manually control beaming, but I hope I can do this more
declarative as described in notation reference "1.2.4 Beams".
In this measure I want to break up the sextuplets in treble to a 3+3
group. The semiquavers should be grouped 2+2.
The quavers in the base staff should be grouped 2+2.
\version "2.14.2"
changeBeaming = \set beamExceptions =
#'((end . (((1 . 8) . (2 2 2 2))
((1 . 16) . (2 2 2 2 2 2 2 2))
((1 . 24) . (3 3 3 3 3 3 3 3)))))
revertBeaming = \set beamExceptions = #'()
\new PianoStaff <<
\new Staff {
\time 4/4 \key g \major
\relative c'' {
\changeBeaming
\set tupletSpannerDuration = #(ly:make-moment 1 8)
\times 4/6{c'16 a b c b a } \times 4/6{r e fis g fis e }
fis16 d fis a r fis a c | % 24
}
}
\new Staff {
\time 4/4 \key g \major \clef bass
\relative c {
\changeBeaming
fis8 d' g, d' a d b d | % 24
}
}
>>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user