Hi Pierre,
Marvellous, I looked at it this morning and thought one couldn't do that so fast! Now I can also finish that code :-)
You're the fast, one and single winner, mail me you IBAN and Swift-code (by seperate email) and I'll send you the reward a.s.a.p. Promis is promis!
Regards, Wim.
Hi Wim, For a one shot score, you can do:
\version "2.20.0"
{ \clef F \key g\major bes \once\hideNotes \grace e-\tweak extra-offset #'(-1.3 . .8)( a) g fis \repeat unfold 4 { r8 \once\hideNotes \grace e'-\tweak extra-offset #'(-1.3 . .8)( g') } \repeat unfold 3 { \once\hideNotes \grace e'-\tweak extra-offset #'(-1.3 . .8)( g'4) } \once\hideNotes \grace e'8-\tweak extra-offset #'(-1.3 . .8)( g') fis'! }
HTH.
Cheers, Pierre
Le dim. 31 mai 2020 à 16:24, Wim van Dommelen < mail@wimvd.nl> a écrit : Showing LilyPond to a friend is sometimes tricky. The question: "Oh, can it do this or that?" easily pops up.
I "survived" the BendAfter question, but had to let go for a BendBefore (or 'doit'?) example.
Diving in at home later that day I found some interesting things done with a new(?) BendSpanner-grob for a guitar, and several people having put a bounty for further work on this. This goes back to 2013, 2016, 2019, apparantly not an easy question. The BendSpanner-grob example goes way behind what I probably ever will need, in fact I would probably have enough with the coding for (some of) my examples.
I've extracted 3 examples in 3 .PNG-files, attached. If you want I can also put a bounty out for this ($25 for each example via PayPal?, first come, first serve). My bending is aimed at a bass clarinet, but that is probably irrelevant for you.....
The 3 examples:
1:
<BendBefore-1.png> (the bar-number "12" is irrelevant, btw.)
2: <BendBefore-2.png>
3: <BendBefore-3.png>
Can someone help me?
Regards, Wim.
|