Peter X wrote:
I have a follow-up question:
In a situation where there’s a \break, the tie created by \laissezVibrer in
bar 3 appears too short.
Is there a way to manually extend or adjust its length?
You could try out this ancient hack: xlv in the attached code.
Change the 15 to get a different length.
Cheers,
Robin
\version "2.24.4"
% extended LV:
xlv = #(define-music-function (further) (number?)
#{
\once \override LaissezVibrerTie.X-extent = #'(0 . 0)
\once \override LaissezVibrerTie.details.note-head-gap = #(/ further -2)
\once \override LaissezVibrerTie.extra-offset = #(cons (/ further 2) 0.95)
\once \override LaissezVibrerTie.thickness = #0 % bend-after look
$(make-music 'EventChord 'elements (list (make-music 'LaissezVibrerEvent)))
#}
)
\fixed c' {
\time 4/4
r2. g8 a8 ~ | \break
\repeat volta 2 {
a2. c8 c'8 ~ | \break
\alternative {
\volta 1 {
c'2. b8 \xlv 15 a8 \bar ":|."
}
\volta 2 {
\break
c'1\repeatTie |
}
}
c1 \bar "|."
}
}