lilypond-user
[Top][All Lists]
Advanced

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

Re: Beam not breaking


From: Jean Abou Samra
Subject: Re: Beam not breaking
Date: Sat, 1 Jan 2022 11:27:16 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1

Hello Kieren, and happy new year!

Le 31/12/2021 à 04:06, Kieren MacMillan a écrit :
Hi all,

Never mind… I figured it out.

Now on to the bug (?) I actually wanted to ask about.  =)

\version "2.23.4"
{
   \time 1/4
   \override Beam.breakable = ##t
   \override Beam.positions = #'(4 . 3)
   c'8 8[ \break 8] 8
}

Is that expected output?

I've added this example to
https://gitlab.com/lilypond/lilypond/-/issues/3415

I've also posted a workaround there (but
I don't personally have the time to debug it
at the moment).

\version "2.23.6"

forceStemLength =
#(define-music-function (len) (number?)
   (once
    (propertyOverride
     '(Stem after-line-breaking)
     (lambda (grob)
       (let ((beam (ly:grob-object grob 'beam)))
         (ly:grob-property beam 'quantized-positions)
         (ly:grob-set-property! grob 'length len))))))

{
  \time 1/4
  \override Beam.breakable = ##t
  \override Beam.positions = #'(5 . 3)
  c'8
  \forceStemLength 16.5
  8[ \break 8]
}


Best,
Jean



reply via email to

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