lilypond-user
[Top][All Lists]
Advanced

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

Re: where is the default auto-beam settings for 2/4 defined?


From: Trevor Daniels
Subject: Re: where is the default auto-beam settings for 2/4 defined?
Date: Tue, 1 Sep 2009 23:15:51 +0100


Frédéric Bron wrote Tuesday, September 01, 2009 9:37 PM


In the following example, beams for 8 notes end at 1:4, 2:4, 3:4 and 4:4 but the only thing I can find in scm/auto-beam.scm about time 2/4 is:

((end 1 32 2 4) . ,(ly:make-moment 1 8))
((end 1 32 2 4) . ,(ly:make-moment 2 8))
((end 1 32 2 4) . ,(ly:make-moment 3 8))
How can I revert this rule to make 8 notes grouped by measure?

\version "2.12.2"
{ \time 2/4
 #(revert-auto-beam-setting '(end 1 8 2 4) 1 4) % does not work
 \repeat unfold 16 { c'8 }
}

I don't have the exact 2.12.2 version to hand,
but if scm/auto-beam.scm is as you say there
is no need to revert these settings as they
only affect 32nd notes.  All you need to do is
to change the default beat-grouping:

 \set beatGrouping = #'(2)

In version 2.12.1 (which I have to hand) there
is also a rule which affects all beams.  This
will need reverting if it exists in 2.12.2 with

#(revert-auto-beam-setting '(end * * 2 4) 1 4)

Trevor





reply via email to

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