lilypond-user
[Top][All Lists]
Advanced

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

Re: Default beam exceptions for 4/4


From: David Poon
Subject: Re: Default beam exceptions for 4/4
Date: Wed, 26 Apr 2023 09:04:53 -0700

On Wed, 26 Apr 2023 at 08:35, Hans Aikema <hans.aikema@aikebah.net> wrote:


On 26 Apr 2023, at 17:06, Mats Bengtsson <matben@kth.se> wrote:


On 2023-04-26 16:39, Michael Werner wrote:
\version "2.25.4"

\new Staff = "main" {

  \overrideTimeSignatureSettings
  4/4        % timeSignatureFraction - i.e. the time signature
  1/4        % baseMomentFraction - what note duration to base this on
  1,1,1,1        % beatStructure - this is the beat pattern
  #'()       % beamExceptions - needed to disable the defaults, or some such thing

  \new Voice {
    \time 4/4

    \relative c' {
      d4 d4. e8 e e
    }
  }
}

Unfortunately that doesn't answer the question, since then d4 d4 d8 d8 d8 d8 will also be beamed by quarter notes. As far as I know the answer to David's question is that it cannot be obtained using the current support for automatic beams. The beam decisions is only taken based on the shortest duration encountered since the possible start of the current beam. A more advanced support would be needed to be able to specify more specific beaming patterns.

    /Mats


I suspect that more advanced support is already there with the beamExceptions (which the  should be specified as a non-empty a-list

https://lilypond.org/doc/v2.24/Documentation/notation/beams#setting-automatic-beam-behavior

but I've never experimented with it.


After trying various things with beamExceptions, it looks to me like they're restricted to defining permissible endpoints for beams, but not starting points. Perhaps someone can verify if this is true, and if it's possible to change?

-David

reply via email to

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