lilypond-user
[Top][All Lists]
Advanced

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

Re: beatStructure


From: Vaughan McAlley
Subject: Re: beatStructure
Date: Mon, 24 Sep 2012 19:08:30 +1000

On 24 September 2012 15:49, David Kastrup <address@hidden> wrote:
>
> pabuhr <address@hidden> writes:
>
> > I've tried everything but I can't get the first bar without square
> > brackets to
> > look like the second bar with square brackets. Can someone make it so.
> >
> >
> > \version "2.16.0"
> > \language english
> > #(set-global-staff-size 24)
> >
> > \score {
> >   <<
> >       \context Voice = one {
> >         \key g \major \time 4/4
> >         \set Timing.baseMoment = #(ly:make-moment 1 8)
> >         \set Timing.beatStructure = #'(2 2 2 2)
> >         <a e'>8 <a e'>8 <a fs'>8 <a fs'>8 <a e'>8 <a e'>8 <a fs'>8 <a
> > fs'>8
> >         <a e'>8 [ <a e'>8 ] <a fs'>8 <a fs'>8 <a e'>8 [ <a e'>8 ] <a
> > fs'>8 <a fs'>8
> >         | \bar "|."
> >       }
> >   >>
> > } % score
>
>
> <URL:http://lilypond.org/doc/v2.16/Documentation/notation/beams#setting-automatic-beam-behavior>
>
> --
> David Kastrup
>

Specifically, the pattern of eight eighths triggers a beamException
that overrides what you’re trying to do. I’ve found that adding

\set Timing.beamExceptions = #'()

...before doing anything to do with beaming makes everything a whole lot easier.

Vaughan



reply via email to

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