Il giorno lun 14 ott 2024 alle 00:35:40 +02:00:00, Thomas Morley
<thomasmorle...@gmail.com> ha scritto:
Am So., 13. Okt. 2024 um 23:38 Uhr schrieb Federico Bruni
<f...@inventati.org>:
Hi folks
I'm trying to understand how to bend some notes in a chord.
The following example shows a bug, unless I'm missing something:
\version "2.25.19"
mus = \relative {
% From g\3 to gis\3 there's one semitone,
% but the Bend spanner is printing 1 instead of 1/2.
<e'~ \tweak bend-me ##f a\2~ g\3>4\^ <e a\2 gis\3>
g\^ gis
}
\score {
\new StaffGroup <<
\new Staff { \clef "treble_8" \mus }
\new TabStaff \mus
>>
\layout { }
}
Hi Federico,
trry:
<e'~ \tweak bend-me ##f a\2~ g\3>4\^ <e \tweak bend-me ##f a\2 gis\3>
Yes, repeating the \tweak in the second chord fixes the problem.
I think an example in the documentation would be helpful. I'll open a
MR when I have some spare time.
Thanks
Federico