lilypond-user
[Top][All Lists]
Advanced

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

Re: Fwd: re: automatic beaming behavior


From: David Wright
Subject: Re: Fwd: re: automatic beaming behavior
Date: Thu, 20 Jul 2017 13:48:19 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu 20 Jul 2017 at 11:24:25 (-0700), Reilly Farrell wrote:
> We are compiling several hundred melody and rhythm examples. Each example
> references the same .ily file where global settings and formatting are
> handled. Is there code for setting automatic behavior of beams that we can
> put in the .ily file (not within a \relative { } block) to resolve the
> issue?
> 
> (The desire is for beamed notes to reflect the beat - pairs of eighths in
> 4/4, 3/4, 2/4 and groups of three eighths in 6/8, 9/8,or 12/8.)

%% Beam crochets separately.
%% 2.18.2 can't parse this format for beatStructure

\layout {
  \context {
    \Score
    \overrideTimeSignatureSettings
    2/2 % timeSignatureFraction
    1/8 % baseMomentFraction
    2,2,2,2 % beatStructure
    #'() % beamExceptions
    \overrideTimeSignatureSettings
    3/4 % timeSignatureFraction
    1/8 % baseMomentFraction
    2,2,2 % beatStructure
    #'() % beamExceptions
    \overrideTimeSignatureSettings
    4/4 % timeSignatureFraction
    1/8 % baseMomentFraction
    2,2,2,2 % beatStructure
    #'() % beamExceptions
    \overrideTimeSignatureSettings
    5/4 % timeSignatureFraction
    1/8 % baseMomentFraction
    2,2,2,2,2 % beatStructure
    #'() % beamExceptions
    \overrideTimeSignatureSettings
    6/4 % timeSignatureFraction
    1/8 % baseMomentFraction
    2,2,2,2,2,2 % beatStructure
    #'() % beamExceptions
    \overrideTimeSignatureSettings
    7/4 % timeSignatureFraction
    1/8 % baseMomentFraction
    2,2,2,2,2,2,2 % beatStructure
    #'() % beamExceptions
    \overrideTimeSignatureSettings
    8/4 % timeSignatureFraction
    1/8 % baseMomentFraction
    2,2,2,2,2,2,2,2 % beatStructure
    #'() % beamExceptions
  }
}

%% Beam compound dotted crochets separately.
%% 2.18.2 can't parse this format for beatStructure

\layout {
  \context {
    \Score
    \overrideTimeSignatureSettings
    6/8 % timeSignatureFraction
    1/8 % baseMomentFraction
    3,3 % beatStructure
    #'() % beamExceptions
    \overrideTimeSignatureSettings
    9/8 % timeSignatureFraction
    1/8 % baseMomentFraction
    3,3,3 % beatStructure
    #'() % beamExceptions
    \overrideTimeSignatureSettings
    12/8 % timeSignatureFraction
    1/8 % baseMomentFraction
    3,3,3,3 % beatStructure
    #'() % beamExceptions
  }
}

Cheers,
David.



reply via email to

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