[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FW: beat divisions and compound meter
From: |
Carl Sorensen |
Subject: |
FW: beat divisions and compound meter |
Date: |
Sun, 26 Nov 2017 03:48:25 +0000 |
User-agent: |
Microsoft-MacOutlook/f.28.0.171108 |
Forwarding to list, which I apparently didn't do before.
Carl
On 11/25/17, 3:01 PM, "Carl Sorensen" <address@hidden> wrote:
From: "N. Andrew Walsh" <address@hidden>
Date: Saturday, November 25, 2017 at 4:13 AM
To: lilypond-user <address@hidden>
Subject: beat divisions and compound meter
Here's the whole thing in a MWE:
---------------------------------
\version "2.19.80"
beambreakOn = {
\set subdivideBeams = ##t
\set baseMoment = #(ly:make-moment 1/8)
\set beatStructure = #'(2 2 2 2)
}
beambreakOff = {
\set subdivideBeams = ##f
\set baseMoment = #(ly:make-moment 1/8)
\set beatStructure = #'(2 2 2 2)
}
\relative c' {
\time 4/8
%1
\beambreakOn a32\( b cis dis eis8\) a,32\( b cis dis eis16\)\fermata < a,
cis e >32 < a cis e > \beambreakOff
| %2
\compoundMeter #'((4 3 16))
< f' a c >8 < d fis a >16 < f a c > < g b d >8\fermata < d fis a >16
| %3
\time 4/8
\beambreakOn a32\( b cis dis eis8\) a,32\( b cis dis eis16\)\fermata < a,
cis e >32 < a cis e > \beambreakOff
}
---------------------------------
Is there a command I can insert after the first measure to allow the
\compoundMeter command to reset beam divisions as intended?
Here's my code:
\version "2.19.80"
beambreakOn = {
\set subdivideBeams = ##t
\set baseMoment = #(ly:make-moment 1/8)
\set beatStructure = #'(2 2 2 2)
}
beambreakOff = {
\set subdivideBeams = ##f
\set baseMoment = #(ly:make-moment 1/8)
\set beatStructure = #'(2 2 2 2)
}
compoundBeaming = {
\set subdivideBeams = ##f
\set baseMoment = #(ly:make-moment 1/16)
\set beatStructure=#'(4 3)
}
\relative c' {
\time 4/8
%1
\beambreakOn a32\( b cis dis eis8\) a,32\( b cis dis eis16\)\fermata <a,
cis e >32 < a cis e > \beambreakOff
| %2
%\time 7/16
\compoundMeter #'((4 3 16))
\compoundBeaming
< f' a c >8 < d fis a >16 < f a c > < g b d >8\fermata < d fis a >16
| %3
\time 4/8
\beambreakOn a32\( b cis dis eis8\) a,32\( b cis dis eis16\)\fermata <a,
cis e >32 < a cis e >
\beambreakOff
}
The beat pattern is not set automatically, but the beaming is handled
automatically once the beat patter in set,
at least as far as I can see.
HTH,
Carl