lilypond-user
[Top][All Lists]
Advanced

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

Re: Brandenburg #3 - convert-ly fails


From: Carl Sorensen
Subject: Re: Brandenburg #3 - convert-ly fails
Date: Fri, 12 Nov 2010 14:22:01 -0700

On 11/12/10 12:02 PM, "Marc Mouries" <address@hidden> wrote:

> 
> 
> Thanks i was not aware that the autobeaming settings syntax has been changed.
> It would have been nice to deprecate it first instead of removing it
> completely in 2.13.

It probably would have been, but it's not just an input syntax change, it's
a fundamental change in the way autobeaming is handled.  We couldn't have
the two methods coexist.

I'm surprised about the convert-ly message you got.  Something else is going
on, because the new autobeam syntax isn't introduced until 2.13, and your
error message showed up in a 2.5 conversion.

> It's really the first time in a while that i need to override the auto beaming
> and i am not familiar with the notation, it would be very useful if the doc
> provided some examples about how to migrate to the new syntax.

Unfortunately, we don't have any place in the docs where we track
conversion.  Instead, we just talk about how to work with the current
version.

> 
> Any idea how to convert:
>  # (override-auto-beam-setting '(end 1 16 2 2)  1 4)
>  # (override-auto-beam-setting '(end 1 32 2 2)  1 4)

This is only a partial set of the override-auto-beam-setting, unless you
want to end 1/16 beams at 1/4, but not at 3/4.  So I'll give you the advice
that I think you want:


\set Timing.beamExceptions = #'((end . (((1 . 16) . (4 4 4 4))))

should take care of it.

> 
> I tried
> \set Timing.baseMoment = #(ly:make-moment 1 16)
> \set Timing.beatStructure = #'(2 4)
> 
> which is my trial of making the moment a 1/16 and then defining the beaming as
> 2 groups of 4 1/16.

Well, according to the settings above, your time signature is 2/2.  So you
will need 4 groups of 4 1/16 notes to fill a measure.

You could do

\set Timing.baseMoment = #(ly:make-moment 1 16)
\set Timing.beatStructure = #'(4 4 4 4)

But if you did this, eighth notes would also be beamed every 4/16, or in
pairs.

By using the beamExceptions property, eighth notes are beamed half note
groups, or 4 at a time, and 1/16 and shorter notes are beamed in quarter
note groups.

HTH,

Carl





reply via email to

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