lilypond-user
[Top][All Lists]
Advanced

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

Re: beam settings


From: Reinhold Kainhofer
Subject: Re: beam settings
Date: Mon, 22 Dec 2008 14:31:41 +0100
User-agent: KMail/1.10.3 (Linux/2.6.27-9-generic; KDE/4.1.3; i686; ; )

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Montag, 22. Dezember 2008 13:49:10 schrieb Graham Percival:
> On Mon, Dec 22, 2008 at 12:54:50PM +0100, Reinhold Kainhofer wrote:
> > Am Montag, 22. Dezember 2008 09:04:12 schrieb Graham Percival:
> > > You were close.
> > > {
> > >   \repeat volta 2 {
> > >      \time 6/8
> > >      \set Score.beatGrouping = #'(3 3 3 3 3 3)
> >
> > That's close, too, but not correct ;-)
>
> I must be getting old.  What's the difference between my example
> in 2.11.65 and the picture?  Octave, key signature, and tempo
> marking, but I could have sworn that the beaming was the same.

Yes, the beaming is the same, but that's not due to your  beatGrouping value, 
but due to the internal workings: Your beatGrouping value is inconsistent (it 
defines a rule for 18 eighth notes in a measure, which contradicts the time 
signature, so lilypond does not use the beatGrouping value at all and resolves 
to beaming each beat separately).
You can try it also with other values, which don't make sense. For example,

\set Score.beatGrouping = #'(17 3 1)

will give you the same beat-wise grouping.

On the other hand, once you shorten your list to the correct measure length
\set Score.beatGrouping = #'(3 3)
then the beaming will not be triplet-wise, but the first three triplets will 
be beamed together.

> I must admit that this makes sense.  Am I seeing a bug in .65 that
> was fixed in .66?  Because the #'(3 3 3 3 3 3) certainly seems to
> work here...

As exaplained above, setting beatGrouping to this value effectively causes 
LilyPond to ignore that setting at all. It has the same effect as using 
\uset Score.beatGrouping
In this case, LilyPond will fall back to beat-wise grouping (which is 
coincidentally what is desired in this case, but that's pure luck ;-) )

Cheers,
Reinhold
- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFJT5a+TqjEwhXvPN0RAq2pAKDIXzAjrXEE5LJQ/v4pFBRNvWmCtACeIBzC
yn1UMJ8Tkl+RmgxBxdI5n98=
=GYEv
-----END PGP SIGNATURE-----




reply via email to

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