[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Broken beam to the left not working?
From: |
Knute Snortum |
Subject: |
Re: Broken beam to the left not working? |
Date: |
Wed, 30 Mar 2022 16:10:10 -0700 |
On Wed, Mar 30, 2022 at 8:41 AM Jean Abou Samra <jean@abou-samra.fr> wrote:
>
> Le 30/03/2022 à 17:28, Knute Snortum a écrit :
> > Thanks for this, Jean. Do you know if there's a way to get the beams
> > to extend a little more to the left or right?
>
>
> I couldn't find better than
>
>
> \relative c'' {
> \override Beam.beam-segments =
> #(grob-transformer 'beam-segments
> (lambda (grob default)
> (filter
> (lambda (seg)
> ;; 0 to lengthen outermost segment.
> (if (eqv? 0 (assoc-ref seg 'vertical-count))
> (assoc-set! seg
> 'horizontal
> (coord-translate (assoc-ref seg 'horizontal)
> ;; Lengthen by 2.
> '(0 . 2.0)))
> seg))
> default)))
> f16[ e
> \set stemRightBeamCount = 1
> f] s8
> }
Thanks for this. I appreciate your work on it.
--
Knute Snortum