lilypond-user
[Top][All Lists]
Advanced

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

automatic beams: is it possible to achieve this automatically?


From: Frédéric Bron
Subject: automatic beams: is it possible to achieve this automatically?
Date: Thu, 3 Sep 2009 14:15:18 +0200

Hi,

I would like the default behaviour of 2/4 time, i.e. beams end at the
end of each beat.
However, if there are only 8th notes in the measure, I would like the
beam not to stop half measure as shown below.
Is it possible to achieve that with automatic rules? With 2.13 maybe?
but I did not see in the doc. what really changed in that version.

\version "2.12.2"
manual = \relative { c8[^\markup { "what I would like" }   c c c] | r
c[ c c] | c[ c] c[ c16 c] | r8 c c[ c16 c] \break }
auto =   \relative { c8^\markup { "automatic behaviour" }  c c c  | r
c  c c  | c  c  c  c16 c  | r8 c c  c16 c  \break }
{ \time 2/4
        \manual % what I would like
        \auto % default behaviour
        #(override-auto-beam-setting '(end 1 16 2 4) 1 4 'Score)
        #(override-auto-beam-setting '(end 1 32 2 4) 1 8 'Score)
        #(override-auto-beam-setting '(end 1 32 2 4) 2 8 'Score)
        #(override-auto-beam-setting '(end 1 32 2 4) 3 8 'Score)
        \set Score.beatGrouping = #'(2)
        \auto % unsuccessful try
}

Frédéric




reply via email to

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