lilypond-user
[Top][All Lists]
Advanced

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

Re: Disabling beamExceptions and beatStructure


From: Toine Schreurs
Subject: Re: Disabling beamExceptions and beatStructure
Date: Thu, 3 Oct 2019 11:56:16 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

> I am working on a piece with constantly changing meters and it got
> me wondering if there is a way to set beamExceptions to #’() and
> beat structure to a suitably long sequence of ones for all time
> signatures in the whole piece at once. At the moment I’m doing so
> for each time signature change, every other bar or so, but this
> feels somewhat clumsy and makes me suppose there should be a better
> way.

I usually use a list of \overrideTimeSignatureSettings for the various
timesignatures. For example:

myAutoBeam = {
  \overrideTimeSignatureSettings
  #'(3 . 4)  % timeSignatureFraction
  #'(1 . 4)  % baseMomentFraction
  #'(1 1 1)  % beatStructure
  #'()       % beamExceptions
  \overrideTimeSignatureSettings
  #'(2 . 2)  % timeSignatureFraction
  #'(1 . 2)  % baseMomentFraction
  #'(1 1)    % beatStructure
  #'((end . (((1 . 12) . (3 3 3 3 ))))) % beamExceptions
}

It is easy to expand and will be used by every timesignature change.

Toine Schreurs



reply via email to

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