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 12:54:50 +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 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 ;-)

Am Montag, 22. Dezember 2008 09:55:25 schrieb Herbert Liechti:
> \repeat volta 2 {
>      \set Score.beatGrouping = #'(3 3 3 3 3 3)
>      \times 2/3 { bes16[ g es] }
>      \override TupletNumber #'stencil = ##f
>      \repeat unfold 5 { \times 2/3 { bes16[ g es] } } |
>      \repeat unfold 6 { \times 2/3 { bes16[ as es] }  } |
>   }

You're almost there...

> Seems that the brackets are required for achieving the
> desired behavior.

Actually, no. What is needed is a correct value for the beatGrouping ;-) You 
don't want 3 eighth notes to be beamed together, do you? You want the beams to 
be broken after EACH eighth note. So the correct value is to set beat Grouping 
to #'(1 1 1 1 1 1 ), which tells lilypond to beam together all subdivisions of 
an eighth note, but don't beam across eighth note boundaries.

So, your complete example would be:
\transpose c  c'' {
  \clef treble
  \time 6/8
  \repeat volta 2 {
     \set Score.beatGrouping = #'(1 1 1 1 1 1)
     \times 2/3 { bes16 g es }
     \override TupletNumber #'stencil = ##f
     \repeat unfold 5 { \times 2/3 { bes16 g es } } |
     \repeat unfold 6 { \times 2/3 { bes16 as es }  } |
  }
}

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)

iD8DBQFJT4ALTqjEwhXvPN0RAg9LAKC+iAeaG/hipcibnyMkZLpe9GQ+fwCfaDWc
Ym3ObXiJf4TtRjxKIOuWsWU=
=ehrY
-----END PGP SIGNATURE-----




reply via email to

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