[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Extending beamed stems
From: |
Daniel Johnson |
Subject: |
Re: Extending beamed stems |
Date: |
Tue, 21 Jun 2005 17:14:27 -0700 |
User-agent: |
Mozilla Thunderbird 1.0.2 (X11/20050404) |
Hmm. This is a real puzzler, because even though the Beam object
implements the grob-interface, only certain grob properties have any
effect. Specifically, I tried the following on a small test file and
they did nothing:
\once \override Voice.Beam #'X-extent = #'(0 . 15)
\once \override Voice.Beam #'extra-X-extent = #'(0 . 15)
Oddly enough, the following DID have an effect:
\once \override Voice.Beam #'extra-offset = #'(0 . 15)
but of course I can't really imagine any use for this.
Here's an idea:
1. Just beam from the first three notes over to the high G-flat.
2. On the D in the left hand, do a \once \override Voice.Stem
#'flag-style = #'no-flag, and do a \stemUp.
3. On the D in the left hand, do a \once \override NoteColumn
#'force-hshift = #-1. Adjust this value until the stem is aligned
perfectly with the stem of the note in the right hand.
4. On the D in the left hand, do a \once \override Voice.Stem #'length =
#12 or however long it needs to be to meet up with the beam.
I did my research out of the 2.5 manual, so your mileage may vary; but I
don't think there's anything especially late-breaking about any of the
features I used above. The noteheads of the eighth-notes in the left &
right hands won't be horizontally aligned, but their stems will meet the
beam in the same place. Is that acceptable?
--Daniel
Henrik Frisk wrote:
>I'm running lilypond 2.4.5 (fink installation) on OSX 10.3.9. Attached to this
>mail is an example. Although this bar works OK the way it is, I would have
>liked to beam it 1/4+1/8 rather than 1/8+1/8+1/8. Either by connecting the
>lower beam of the first 1/8 note group to the stem of the second eighth note
>(from a notation point of view this would be unorthodox since one of the note
>heads would end up on the wrong side of the stem). The other way would be to
>have the beam go below all notes on beat one and two (counting eihgth notes).
>
>Here's the code for the bar:
>
> \time 3/8
> ges'''16~[ \revert Beam #'positions ges64 \change Staff=lower f,32. ]
> \change Staff=upper \stemExtend \noFlag ges'8-> \noBeam
> \acciaccatura { g32^\pedalc } \change Staff = lower b,,,32 [ \change Staff =
> upper f''~ f16~ ] |
>
>And here are the \noFlag and \stemExtend:
>
>noFlag = \once \override Stem #'flag-style = #'no-flag
>stemExtend = \once \override Stem #'length = #32
>
>...and attached is an image.
>
>This is the first piece I do in LilyPond, so I'm not very experienced yet.
>Tahnks for any help.
>
>/henrik
>
>
>
>
> ------------------------------------------------------------------------
>