[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Disabling beamExceptions and beatStructure
From: |
David Kastrup |
Subject: |
Re: Disabling beamExceptions and beatStructure |
Date: |
Thu, 03 Oct 2019 13:20:20 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Toine Schreurs <address@hidden> writes:
>> 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.
Possibly a bit more readable:
myAutoBeam = {
\overrideTimeSignatureSettings
3/4 % timeSignatureFraction
1/4 % baseMomentFraction
1,1,1 % beatStructure
\beamExceptions { } % beamExceptions
\overrideTimeSignatureSettings
2/2 % timeSignatureFraction
1/2 % baseMomentFraction
1,1 % beatStructure
\beamExceptions { \tuplet 3/2 { 8[ 8 8] 8[ 8 8] 8[ 8 8] 8[8 8] } }
% beamExceptions
}
--
David Kastrup