bug-lilypond
[Top][All Lists]
Advanced

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

Re: Beaming override problem


From: Colin Hall
Subject: Re: Beaming override problem
Date: Mon, 25 Jun 2012 01:18:26 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Mon, Jun 25, 2012 at 12:38:34AM +0200, David Kastrup wrote:
> Nick Payne <address@hidden> writes:
> 
> > If I set beamExceptions to beam 32nd notes by fours in 4/4 time, this
> > has the side effect of changing the beaming of 8th notes:
> >
> > %=====================
> > \version "2.15.40"
> >
> > changeBeaming = \set beamExceptions =
> >     #'((end . (((1 . 32) . (4 4 4 4 4 4 4 4)))))
> >
> > \relative c'' {
> >     c8 c c c c c c c
> >     \repeat unfold 32 { c32 }
> > }
> > \relative c'' {
> >     \changeBeaming
> >     c8 c c c c c c c
> >     \repeat unfold 32 { c32 }
> > }
> > %=====================

Thanks for the report, Nick.

I just checked the docs, Nick, and I agree with you that:

"Beaming-rules is a scheme alist (or list of pairs) that indicates the
beam type and the grouping to be applied to beams containing notes
with a shortest duration of that beam type."

would lead me to expect that an exception that only mentions 32nds
would only apply to 32nds.

Beaming is a complicated area and the docs are necessarily complicated too.

I'm going to wait and see if any of the other senior devs comment, but
it looks to me like a doc enhancement is needed.

If you'd like to create a doc suggestion using David's example below,
that would be most helpful.

> 
> Why wouldn't it?

A better question might be "Why did you think that it wouldn't" and
reading the docs I can see why Nick thought it would leave his quavers
alone.

> 
> \version "2.15.40"
> 
> changeBeaming = \set beamExceptions =
>     #'((end . (((1 . 8) . (4 4)) ((1 . 32) . (4 4 4 4 4 4 4 4)))))
> 
> \relative c'' {
>     c8 c c c c c c c
>     \repeat unfold 32 { c32 }
> }
> \relative c'' {
>     \changeBeaming
>     c8 c c c c c c c
>     \repeat unfold 32 { c32 }
> }

Thanks for documenting the correct usage, David.

Cheers,
Colin.


-- 

Colin Hall
South Mains
West Linton
EH46 7AY
Scotland

Tel: 01968 661994
Mob: 07786 677582



reply via email to

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