lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Altering beamed stem lengths


From: Ahanu Banerjee
Subject: Re: Altering beamed stem lengths
Date: Sun, 12 Dec 2021 01:55:25 -0500

Thank you, Aaron; that is exactly what I was looking for.

Cheers, 
-Ahanu 

On Sat, Dec 11, 2021, 23:42 Aaron Hill <lilypond@hillvisions.com> wrote:
On 2021-12-11 8:29 pm, Ahanu Banerjee wrote:
> Hello,
>
> I am working with 2 simultaneous voices, and I want to increase the
> distance between the beamed stems of one voice and the noteheads of the
> other voice. Is there some way to set a minimum distance between the
> beams
> and noteheads, i.e., "padding"? I don't want to manually override
> Stem.details.beamed-lengths or Beam.positions each time.
>
> Here is an example:
>
> \version "2.20.0"
> %normal output%
> << { g'8 [ s e' s f' s d' ] } \\ { \repeat unfold 4 { s b'8 } } >>
> %desired output%
> << { \override Beam.positions = #'(2.2 . 1.8)
>      g'8 [ s e' s f' s d' ] } \\ { \repeat unfold 4 { s b'8 } } >>

This seems to get pretty close to what you want:

%%%%
<< { g'8 -\tweak details.collision-padding 1 [ s e' s f' s d' ] } \\ {
\repeat unfold 4 { s b'8 } } >>
%%%%


-- Aaron Hill

reply via email to

[Prev in Thread] Current Thread [Next in Thread]