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

2009-09-02 Thread Trevor Daniels


Frédéric Bron wrote Wednesday, September 02, 2009 6:18 AM


Your remark is interesting! The doc says if they are some rules
defined in auto-beam.scm, you MUST use #(override and #(revert...


But only when the beam durations are the same.  This is stated, 
maybe

not very clearly, where I've indicated, here:


"There are two mutually exclusive ways in which these rules may be
modified. The first, modifying the grouping of beats, applies to
uncommon time signatures, i.e. those for which there are no 
predefined
rules defining the beam end points. The second method, modifying 
the

specification of the beam end points, can be used for any time
signature. This second method must be used for those time 
signatures

and beam durations combinations for which beam ending rules are

 ^^
pre-defined, unless these have all been reverted. There are 
predefined
rules for time signatures of 3/2, 3/4, 4/4, 2/4, 4/8, 4/16, 6/8, 
9/8

and 12/8. "


That's why the rules for 32nd notes don't affect 8th note beaming.
Also see the comment in scm/auto-beam.scm just above this
entry.

This was very unsatisfactory, but auto-beaming has changed
completely in 2.13, so the issue has already been addressed.

Trevor



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


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

2009-09-01 Thread Frédéric Bron
> 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)

I confirm that the rule #(revert-auto-beam-setting '(end * * 2 4) 1 4)
disappeared from 2.12.2
Your remark is interesting! The doc says if they are some rules
defined in auto-beam.scm, you MUST use #(override and #(revert...
But it seams we can mix the 2 methods...

extract of the doc in NR/1.2.4 Beams/Setting automatic beam behavior:
"There are two mutually exclusive ways in which these rules may be
modified. The first, modifying the grouping of beats, applies to
uncommon time signatures, i.e. those for which there are no predefined
rules defining the beam end points. The second method, modifying the
specification of the beam end points, can be used for any time
signature. This second method must be used for those time signatures
and beam durations combinations for which beam ending rules are
pre-defined, unless these have all been reverted. There are predefined
rules for time signatures of 3/2, 3/4, 4/4, 2/4, 4/8, 4/16, 6/8, 9/8
and 12/8. "

Frédéric
---
Frédéric Bron (frederic.b...@m4x.org)
Villa des Quatre Chemins, Centre Hospitalier, BP 208
38506 VOIRON CEDEX
tél. : (33) 4 76 67 17 27


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


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

2009-09-01 Thread Trevor Daniels


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



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


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

2009-09-01 Thread Frédéric Bron

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 }
}


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user