|
From: | Hans Aikema |
Subject: | Re: Automatic beams |
Date: | Sun, 08 Apr 2012 16:42:01 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 |
On 8-4-2012 16:26, Hans Aikema wrote:
On 8-4-2012 12:50, Helge Kruse wrote:The way to get the desired grouping would be overriding the beamExceptions: (see also NR chapter 1.2.4: http://lilypond.org/doc/v2.14/Documentation/notation/beams#setting-automatic-beam-behavior)Hello,I need to typeset a piece but want to keep the original beaming. The beams that Lilypond uses per default does not match. I know I can add the [] to manually control beaming, but I hope I can do this more declarative as described in notation reference "1.2.4 Beams".In this measure I want to break up the sextuplets in treble to a 3+3 group. The semiquavers should be grouped 2+2.The quavers in the base staff should be grouped 2+2. \version "2.14.2" \new PianoStaff << \new Staff { \time 4/4 \key g \major \set Timing.baseMoment = #(ly:make-moment 1 16) \set Timing.beatStructure = #'(2 2 2 2) \relative c'' { \times 4/6{c'16 a b c b a } \times 4/6{r e fis g fis e } fis16 d fis a r fis a c | % 24 } } \new Staff { \time 4/4 \key g \major \clef bass \set Timing.baseMoment = #(ly:make-moment 1 8) \set Timing.beatStructure = #'(2 2 2 2) \relative c { fis8 d' g, d' a d b d | % 24 } } >>I can change the beaming with beatStructure, but baseMomemt doesn't change anything. I also tried with Staff and Voice context but got the same result.How can I achieve the described grouping? Regards, Helge _______________________________________________ lilypond-user mailing list address@hidden https://lists.gnu.org/mailman/listinfo/lilypond-user ....
On second thought it can be done even less complex than my previous mail:Clear out the beamExceptions that are default present in the Timing context due to 4/4 time signature and only set a baseMoment/beatStructure for the treble staff (without exceptions the bass staff is correctly divided into quarters) Oh and of course the beatStructure for a 4/4 measure using 1/16 as baseMoment should be 8 tuplets, not 4, alhough 4 works fine as well): (4/4 == 16/16 == 2/16 * 8)
\version "2.14.2" \new PianoStaff << \new Staff { \time 4/4 \key g \major \set Staff.baseMoment = #(ly:make-moment 1 16) \set Staff.beatStructure = #'(2 2 2 2 2 2 2 2) \relative c'' { \times 4/6{c'16 a b c b a } \times 4/6{r e fis g fis e } fis16 d fis a r fis a c | % 24 } } \new Staff { \time 4/4 \key g \major \clef bass \set Timing.beamExceptions = #'() \relative c { fis8 d' g, d' a d b d | % 24 } } >> regards, Hans
[Prev in Thread] | Current Thread | [Next in Thread] |