lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: Re: Automatic beams


From: Helge Kruse
Subject: Fwd: Re: Automatic beams
Date: Tue, 10 Apr 2012 06:31:21 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

... forget CC to the list.

Am 09.04.2012 01:09, schrieb Nick Payne:
\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
}
}
 >>

Nick,
many thanks for this help. It's exactly what I need. There are some
irregular measures that I have to fix with manual beams. But most beams
don't need any tweak anymore.

Thanks also to Hans and Eluze!

Happy Easter!
Helge



reply via email to

[Prev in Thread] Current Thread [Next in Thread]