Re: Tie not rendering properly across volta alternatives
Thank you all, Mark, Knute, and Robin. These tips are helpful. Now I've got the perfect solution. On Mon, Mar 24, 2025 at 2:59 PM Robin Bannister wrote: > 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 >
Re: Tie not rendering properly across volta alternatives
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 "|." } }
Re: Tie not rendering properly across volta alternatives
On Mon, Mar 24, 2025 at 10:42 AM Peter X wrote: > Thank you, Mark. > > 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? > > [image: image.png] > > ``` > \version "2.24.4" > > > \fixed c' { > > \time 4/4 > > r2. g8 a8 ~ | \break > > \repeat volta 2 { > > a2. c8 c'8 ~ | \break > > \alternative { > > \volta 1 { > > c'2. b8 a8\laissezVibrer \bar ":|." > > } > > \volta 2 { > \break > c'1\repeatTie | > > } > > } > > c1 \bar "|." > > > } > > } > You can use \shape to manually tweak the \laissezVibrer slur. Adjust the numbers to your needs. %%% \version "2.24.4" slurShapeA = \shape #'((0 . 0) (0 . -1) (15 . -1) (15 . 0)) \etc \fixed c' { \time 4/4 r2. g8 a8 ~ | \break \repeat volta 2 { a2. c8 c'8 ~ | \break \alternative { \volta 1 { c'2. b8 a8-\slurShapeA \laissezVibrer \bar ":|." } \volta 2 { \break c'1\repeatTie | } } c1 \bar "|." } } %%% -- Knute Snortum
RE: Tie not rendering properly across volta alternatives
Welcome, Peter. Many people here to help you enjoy Lilypond. Mark From: Peter X Sent: Monday, March 24, 2025 12:06 PM To: carsonm...@ca.rr.com Cc: lilypond-user@gnu.org Subject: Re: Tie not rendering properly across volta alternatives Thank you mark. On Mon, Mar 24, 2025 at 11:45 AM mailto:carsonm...@ca.rr.com> > wrote: Peter X, That is a tweak somewhat beyond my ken. Someone with more knowledge of the codes can help with this. Mark From: Peter X mailto:peterandu...@gmail.com> > Sent: Monday, March 24, 2025 10:40 AM To: carsonm...@ca.rr.com <mailto:carsonm...@ca.rr.com> Cc: lilypond-user@gnu.org <mailto:lilypond-user@gnu.org> Subject: Re: Tie not rendering properly across volta alternatives Thank you, Mark. 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? ``` \version "2.24.4" \fixed c' { \time 4/4 r2. g8 a8 ~ | \break \repeat volta 2 { a2. c8 c'8 ~ | \break \alternative { \volta 1 { c'2. b8 a8\laissezVibrer \bar ":|." } \volta 2 { \break c'1\repeatTie | } } c1 \bar "|." } } ``` On Sun, Mar 23, 2025 at 4:49 PM mailto:carsonm...@ca.rr.com> > wrote: Peter X, Note use of \laissezVabrer and \reateTie Mark \version "2.24.4" \fixed c' { \time 4/4 r2. g8 a8 ~ | \repeat volta 2 { a2. c8 d8 ~ | \alternative { \volta 1 { d2. b8 a8\laissezVibrer \bar ":|." } \volta 2 { d1\repeatTie | } } c1 \bar "|." } } From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org <mailto:ca.rr@gnu.org> mailto:ca.rr@gnu.org> > On Behalf Of Peter X Sent: Sunday, March 23, 2025 4:01 PM To: lilypond-user@gnu.org <mailto:lilypond-user@gnu.org> Subject: Tie not rendering properly across volta alternatives Hi everyone, I’ve encountered what appears to be a rendering issue with ties when using \repeat volta and \alternative endings in LilyPond 2.24.4. Below is a minimal example that illustrates two problems: lilypond``` \version "2.24.4" \fixed c' { \time 4/4 r2. g8 a8 ~ | % ✅ This tie displays correctly — connects to the start of the repeat. \repeat volta 2 { a2. c8 d8 ~ | % ✅ This tie displays correctly \alternative { \volta 1 { d2. b8 a8 ~ \bar ":|." % ❌ This tie is not displayed. % It should visually tie back to the start of the repeat block (i.e., the 'a2.'). } \volta 2 { d1 | % ❌ Missing tie from 'd8~' before the alternatives. } } c1 \bar "|." } } ``` Issue 1: In \volta 1, the tie from a8~ is not shown, even though logically it should connect to the repeated section’s first note (a2.). Issue 2: In \volta 2, the d1 is not tied from the d8~ in the bar before the \alternative, even though musically it is expected. I understand that some of these rendering behaviors might be due to how LilyPond internally splits alternatives or handles context. But is there any way to force these ties to appear visually without resorting to hidden notes or hacks? Thanks in advance! Best regards, Pt
Re: Tie not rendering properly across volta alternatives
Thank you mark. On Mon, Mar 24, 2025 at 11:45 AM wrote: > Peter X, > > > > That is a tweak somewhat beyond my ken. > > Someone with more knowledge of the codes can help with this. > > > > Mark > > > > *From:* Peter X > *Sent:* Monday, March 24, 2025 10:40 AM > *To:* carsonm...@ca.rr.com > *Cc:* lilypond-user@gnu.org > *Subject:* Re: Tie not rendering properly across volta alternatives > > > > Thank you, Mark. > > 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? > > > > > > ``` > > \version "2.24.4" > > > > > > \fixed c' { > > > > \time 4/4 > > > > r2. g8 a8 ~ | \break > > > > \repeat volta 2 { > > > > a2. c8 c'8 ~ | \break > > > > \alternative { > > > > \volta 1 { > > > > c'2. b8 a8\laissezVibrer \bar ":|." > > > > } > > > > \volta 2 { > > \break > > c'1\repeatTie | > > > > } > > > > } > > > > c1 \bar "|." > > > > } > > > > } > > > > ``` > > > > On Sun, Mar 23, 2025 at 4:49 PM wrote: > > Peter X, > > > > Note use of \laissezVabrer and \reateTie > > > > Mark > > > > \version "2.24.4" > > > > \fixed c' { > > \time 4/4 > > r2. g8 a8 ~ | > > \repeat volta 2 { > > a2. c8 d8 ~ | > > \alternative { > > \volta 1 { > > d2. b8 a8\laissezVibrer \bar ":|." > > } > > \volta 2 { > > d1\repeatTie | > > } > > } > > c1 \bar "|." > > } > > } > > > > *From:* lilypond-user-bounces+carsonmark=ca.rr@gnu.org > *On Behalf Of *Peter > X > *Sent:* Sunday, March 23, 2025 4:01 PM > *To:* lilypond-user@gnu.org > *Subject:* Tie not rendering properly across volta alternatives > > > > Hi everyone, > > I’ve encountered what appears to be a rendering issue with ties when using > \repeat volta and \alternative endings in LilyPond 2.24.4. > > Below is a minimal example that illustrates two problems: > > > lilypond``` > > > \version "2.24.4" > > \fixed c' { > \time 4/4 > > r2. g8 a8 ~ | > % ✅ This tie displays correctly — connects to the start of the repeat. > > \repeat volta 2 { > > a2. c8 d8 ~ | % ✅ This tie displays correctly > > \alternative { > > \volta 1 { > d2. b8 a8 ~ \bar ":|." > % ❌ This tie is not displayed. > % It should visually tie back to the start of the repeat block > (i.e., the 'a2.'). > } > > \volta 2 { > d1 | > % ❌ Missing tie from 'd8~' before the alternatives. > } > > } > c1 \bar "|." > } > } > > > > ``` > > Issue 1: In \volta 1, the tie from a8~ is not shown, even though logically > it should connect to the repeated section’s first note (a2.). > > Issue 2: In \volta 2, the d1 is not tied from the d8~ in the bar before > the \alternative, even though musically it is expected. > > I understand that some of these rendering behaviors might be due to how > LilyPond internally splits alternatives or handles context. But is there > any way to force these ties to appear visually without resorting to hidden > notes or hacks? > > Thanks in advance! > > Best regards, > Pt > >
RE: Tie not rendering properly across volta alternatives
Peter X, That is a tweak somewhat beyond my ken. Someone with more knowledge of the codes can help with this. Mark From: Peter X Sent: Monday, March 24, 2025 10:40 AM To: carsonm...@ca.rr.com Cc: lilypond-user@gnu.org Subject: Re: Tie not rendering properly across volta alternatives Thank you, Mark. 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? ``` \version "2.24.4" \fixed c' { \time 4/4 r2. g8 a8 ~ | \break \repeat volta 2 { a2. c8 c'8 ~ | \break \alternative { \volta 1 { c'2. b8 a8\laissezVibrer \bar ":|." } \volta 2 { \break c'1\repeatTie | } } c1 \bar "|." } } ``` On Sun, Mar 23, 2025 at 4:49 PM mailto:carsonm...@ca.rr.com> > wrote: Peter X, Note use of \laissezVabrer and \reateTie Mark \version "2.24.4" \fixed c' { \time 4/4 r2. g8 a8 ~ | \repeat volta 2 { a2. c8 d8 ~ | \alternative { \volta 1 { d2. b8 a8\laissezVibrer \bar ":|." } \volta 2 { d1\repeatTie | } } c1 \bar "|." } } From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org <mailto:ca.rr@gnu.org> mailto:ca.rr@gnu.org> > On Behalf Of Peter X Sent: Sunday, March 23, 2025 4:01 PM To: lilypond-user@gnu.org <mailto:lilypond-user@gnu.org> Subject: Tie not rendering properly across volta alternatives Hi everyone, I’ve encountered what appears to be a rendering issue with ties when using \repeat volta and \alternative endings in LilyPond 2.24.4. Below is a minimal example that illustrates two problems: lilypond``` \version "2.24.4" \fixed c' { \time 4/4 r2. g8 a8 ~ | % ✅ This tie displays correctly — connects to the start of the repeat. \repeat volta 2 { a2. c8 d8 ~ | % ✅ This tie displays correctly \alternative { \volta 1 { d2. b8 a8 ~ \bar ":|." % ❌ This tie is not displayed. % It should visually tie back to the start of the repeat block (i.e., the 'a2.'). } \volta 2 { d1 | % ❌ Missing tie from 'd8~' before the alternatives. } } c1 \bar "|." } } ``` Issue 1: In \volta 1, the tie from a8~ is not shown, even though logically it should connect to the repeated section’s first note (a2.). Issue 2: In \volta 2, the d1 is not tied from the d8~ in the bar before the \alternative, even though musically it is expected. I understand that some of these rendering behaviors might be due to how LilyPond internally splits alternatives or handles context. But is there any way to force these ties to appear visually without resorting to hidden notes or hacks? Thanks in advance! Best regards, Pt
Re: Tie not rendering properly across volta alternatives
Thank you, Mark. 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? [image: image.png] ``` \version "2.24.4" \fixed c' { \time 4/4 r2. g8 a8 ~ | \break \repeat volta 2 { a2. c8 c'8 ~ | \break \alternative { \volta 1 { c'2. b8 a8\laissezVibrer \bar ":|." } \volta 2 { \break c'1\repeatTie | } } c1 \bar "|." } } ``` On Sun, Mar 23, 2025 at 4:49 PM wrote: > Peter X, > > > > Note use of \laissezVabrer and \reateTie > > > > Mark > > > > \version "2.24.4" > > > > \fixed c' { > > \time 4/4 > > r2. g8 a8 ~ | > > \repeat volta 2 { > > a2. c8 d8 ~ | > > \alternative { > > \volta 1 { > > d2. b8 a8\laissezVibrer \bar ":|." > > } > > \volta 2 { > > d1\repeatTie | > > } > > } > > c1 \bar "|." > > } > > } > > > > *From:* lilypond-user-bounces+carsonmark=ca.rr@gnu.org > *On Behalf Of *Peter > X > *Sent:* Sunday, March 23, 2025 4:01 PM > *To:* lilypond-user@gnu.org > *Subject:* Tie not rendering properly across volta alternatives > > > > Hi everyone, > > I’ve encountered what appears to be a rendering issue with ties when using > \repeat volta and \alternative endings in LilyPond 2.24.4. > > Below is a minimal example that illustrates two problems: > > > lilypond``` > > > \version "2.24.4" > > \fixed c' { > \time 4/4 > > r2. g8 a8 ~ | > % ✅ This tie displays correctly — connects to the start of the repeat. > > \repeat volta 2 { > > a2. c8 d8 ~ | % ✅ This tie displays correctly > > \alternative { > > \volta 1 { > d2. b8 a8 ~ \bar ":|." > % ❌ This tie is not displayed. > % It should visually tie back to the start of the repeat block > (i.e., the 'a2.'). > } > > \volta 2 { > d1 | > % ❌ Missing tie from 'd8~' before the alternatives. > } > > } > c1 \bar "|." > } > } > > > > ``` > > Issue 1: In \volta 1, the tie from a8~ is not shown, even though logically > it should connect to the repeated section’s first note (a2.). > > Issue 2: In \volta 2, the d1 is not tied from the d8~ in the bar before > the \alternative, even though musically it is expected. > > I understand that some of these rendering behaviors might be due to how > LilyPond internally splits alternatives or handles context. But is there > any way to force these ties to appear visually without resorting to hidden > notes or hacks? > > Thanks in advance! > > Best regards, > Pt >
RE: Tie not rendering properly across volta alternatives
Peter X, Note use of \laissezVabrer and \reateTie Mark \version "2.24.4" \fixed c' { \time 4/4 r2. g8 a8 ~ | \repeat volta 2 { a2. c8 d8 ~ | \alternative { \volta 1 { d2. b8 a8\laissezVibrer \bar ":|." } \volta 2 { d1\repeatTie | } } c1 \bar "|." } } From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org On Behalf Of Peter X Sent: Sunday, March 23, 2025 4:01 PM To: lilypond-user@gnu.org Subject: Tie not rendering properly across volta alternatives Hi everyone, I’ve encountered what appears to be a rendering issue with ties when using \repeat volta and \alternative endings in LilyPond 2.24.4. Below is a minimal example that illustrates two problems: lilypond``` \version "2.24.4" \fixed c' { \time 4/4 r2. g8 a8 ~ | % ✅ This tie displays correctly — connects to the start of the repeat. \repeat volta 2 { a2. c8 d8 ~ | % ✅ This tie displays correctly \alternative { \volta 1 { d2. b8 a8 ~ \bar ":|." % ❌ This tie is not displayed. % It should visually tie back to the start of the repeat block (i.e., the 'a2.'). } \volta 2 { d1 | % ❌ Missing tie from 'd8~' before the alternatives. } } c1 \bar "|." } } ``` Issue 1: In \volta 1, the tie from a8~ is not shown, even though logically it should connect to the repeated section’s first note (a2.). Issue 2: In \volta 2, the d1 is not tied from the d8~ in the bar before the \alternative, even though musically it is expected. I understand that some of these rendering behaviors might be due to how LilyPond internally splits alternatives or handles context. But is there any way to force these ties to appear visually without resorting to hidden notes or hacks? Thanks in advance! Best regards, Pt