Toine Schreurs <[email protected]> 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
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user