Quoting Thomas Morley <[email protected]>:

Am So., 26. Juli 2026 um 22:38 Uhr schrieb <[email protected]>:

Looking for how to make a bend of 1/4 note I found this on
music.stackexchange:

https://music.stackexchange.com/questions/139097/1-4-tone-bends-in-lilypond

But using this, the code below results in loss of the flags of the
following 1/8th notes as can be seen in the picture I took of the
result.


\version "2.24.1"
\new TabStaff \fixed c {
   \tabFullNotation
   < g'-1\1 >8[   < f'-4\2 >8]
   < d'-1\2 >8   < c'-3\3 >8 \^ cih'
   < d'-1\2 >8   < g'-1\1 >8
   < f'-4\2 >4
}


Thanks,
harry

You stumbled across a limitation of the current implementation of
BendSpanner.details.target-visibility.
Per default the target is omitted, which does not play nicely with
Beams starting there.

Thus the work-around is to set BendSpanner.details.target-visibility
true and TabNoteHead.transparent true, i.e.

\new TabStaff \fixed c {
   \tabFullNotation
   < g'-1\1 >8[   < f'-4\2 >8]
   < d'-1\2 >8
   \once \override BendSpanner.details.target-visibility = ##t
   < c'-3\3 >8 \^
   \once \override TabNoteHead.transparent = ##t
   cih'
   < d'-1\2 >8   < g'-1\1 >8
   < f'-4\2 >4
}

Alas, I have the impression there's something wrong with the durations ...

Cheers,
  Harm

That was my experience too, so I set the last note duration from 4 to 8 while making the flag invisible, or rather transparent I believe.

cheers,
harry



Reply via email to