[prev in list] [next in list] [prev in thread] [next in thread] List: lilypond-user Subject: Re: Slur connecting fingering numbers From: Rachel Knight <knig8797 () icloud ! com> Date: 2019-02-22 17:10:43 Message-ID: BD9A0BC5-A84F-4AFC-812C-FD5C80381F79 () icloud ! com [Download RAW message or body] [Attachment #2 (multipart/alternative)] One more question on this snippet - I encountered a place in my score with two thumb \ slides in a row. When that happens, it is nice to have the fingering numbers in a \ line. I figured out how to move the fingering number, but the slur did not go with \ it. r8 c'\p-3[ \acciaccatura { \override Fingering.font-size = #-5 df16-2 ef-1\glissando} \once \override Fingering.extra-offset = #'(0 . 1.5) df8-1]\glissando | \revert Fingering.font-size c-1 Would it be possible to add a property to the code so that the slur stays with the \ fingering number when moved? If not, how would I adjust the slur in this example? Best, Rachel > On Feb 10, 2019, at 11:23 AM, Thomas Morley <thomasmorley65@gmail.com> wrote: > > Am Mi., 6. Feb. 2019 um 22:43 Uhr schrieb Thomas Morley > <thomasmorley65@gmail.com>: > > > > Am Mi., 6. Feb. 2019 um 06:57 Uhr schrieb Werner LEMBERG <wl@gnu.org>: > > > > > > > > > > > Hooray, it works and looks amazing! > > > > > > > > Glad I could help. > > > > > > This small example is really nice, and perhaps it can be added as a > > > `harp music snippet' to the documentation. > > > > > > > > > Werner > > > > Hi Werner, > > > > currently the code hijacks Glissando. I.e. the default glissando is no > > longer printable. > > I don't feel such a workaround should be in the docs. > > > > Though, I'd like to come to a behaviour where "Finger-glissandos" are > > possible without disturbing default-glissando (between NoteHeads) > > That would be a nice amendment for our docs, not only for the harp, > > but for guitar, violin, etc > > > > I'll have to find a way to create glissandos and select properly. > > > > For the creation part I've found that I can add additional glissandos > > with glissandoMap. See: > > > > val = 0 > > > > { > > \override Glissando.after-line-breaking = > > #(lambda (grob) > > (ly:grob-set-property! grob 'extra-offset (cons 0 val)) > > (set! val (1+ val))) > > > > \set glissandoMap = #'((0 . 0) (0 . 0)) > > c'\glissando f' > > } > > > > Is it safe to rely on it, or is it rather bug-using? > > > > Cheers, > > Harm > > I now come up with the attached code. > > It's now possible to preserve the default glissandi. Also, > "glissando-stubs" are printable. > > Still not sure if it's suitable for our docs. > Apart from the user-interface, which is still terrible, a new > context-property is defined and used: fingerSlide (boolean) > > Cheers, > Harm > <glissandi-default-and-finger-various-styles-01.pdf><glissandi-default-and-finger-various-styles-01.ly> > [Attachment #5 (multipart/related)] [Attachment #7 (unknown)] <html><head><meta http-equiv="Content-Type" content="text/html; \ charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: \ space; line-break: after-white-space;" class=""><div class="">One more question on \ this snippet - I encountered a place in my score with two thumb slides in a row. When \ that happens, it is nice to have the fingering numbers in a line. I figured out how \ to move the fingering number, but the slur did not go with it. </div><div \ class=""><br class=""></div><div class="">r8 c'\p-3[ \acciaccatura {</div><div \ class=""> \override Fingering.font-size = #-5</div><div \ class=""> df16-2 ef-1\glissando}</div><div class=""> \ \once \override Fingering.extra-offset = #'(0 . 1.5)</div><div \ class=""> df8-1]\glissando |</div><div class=""> \ \revert Fingering.font-size</div><div class=""> \ c-1 </div><div class=""><br class=""></div><div class="">Would it be possible to \ add a property to the code so that the slur stays with the fingering number when \ moved?</div><div class="">If not, how would I adjust the slur in this \ example?</div><div class=""><br class=""></div><div class="">Best,</div><div \ class="">Rachel</div><div class=""><br class=""></div><div class=""><br \ class=""></div><img apple-inline="yes" id="323006AC-27B6-49F8-8DD0-193EA41642A7" \ width="99" height="76" src="cid:1A77C743-C2F3-4915-AB46-B1E20EC151E4@Home" \ class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div \ class="">On Feb 10, 2019, at 11:23 AM, Thomas Morley <<a \ href="mailto:thomasmorley65@gmail.com" class="">thomasmorley65@gmail.com</a>> \ wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Am Mi., \ 6. Feb. 2019 um 22:43 Uhr schrieb Thomas Morley<br class=""><<a \ href="mailto:thomasmorley65@gmail.com" class="">thomasmorley65@gmail.com</a>>:<br \ class=""><blockquote type="cite" class=""><br class="">Am Mi., 6. Feb. 2019 um 06:57 \ Uhr schrieb Werner LEMBERG <<a href="mailto:wl@gnu.org" \ class="">wl@gnu.org</a>>:<br class=""><blockquote type="cite" class=""><br \ class=""><br class=""><blockquote type="cite" class=""><blockquote type="cite" \ class="">Hooray, it works and looks amazing!<br class=""></blockquote><br \ class="">Glad I could help.<br class=""></blockquote><br class="">This small example \ is really nice, and perhaps it can be added as a<br class="">`harp music snippet' to \ the documentation.<br class=""><br class=""><br class=""> Werner<br \ class=""></blockquote><br class="">Hi Werner,<br class=""><br class="">currently the \ code hijacks Glissando. I.e. the default glissando is no<br class="">longer \ printable.<br class="">I don't feel such a workaround should be in the docs.<br \ class=""><br class="">Though, I'd like to come to a behaviour where \ "Finger-glissandos" are<br class="">possible without disturbing default-glissando \ (between NoteHeads)<br class="">That would be a nice amendment for our docs, not only \ for the harp,<br class="">but for guitar, violin, etc<br class=""><br class="">I'll \ have to find a way to create glissandos and select properly.<br class=""><br \ class="">For the creation part I've found that I can add additional glissandos<br \ class="">with glissandoMap. See:<br class=""><br class="">val = 0<br class=""><br \ class="">{<br class=""> \override Glissando.after-line-breaking =<br class=""> \ #(lambda (grob)<br class=""> (ly:grob-set-property! grob \ 'extra-offset (cons 0 val))<br class=""> (set! val (1+ val)))<br \ class=""><br class=""> \set glissandoMap = #'((0 . 0) (0 . 0))<br class=""> \ c'\glissando f'<br class="">}<br class=""><br class="">Is it safe to rely on \ it, or is it rather bug-using?<br class=""><br class="">Cheers,<br class=""> \ Harm<br class=""></blockquote><br class="">I now come up with the attached \ code.<br class=""><br class="">It's now possible to preserve the default glissandi. \ Also,<br class="">"glissando-stubs" are printable.<br class=""><br class="">Still not \ sure if it's suitable for our docs.<br class="">Apart from the user-interface, which \ is still terrible, a new<br class="">context-property is defined and used: \ fingerSlide (boolean)<br class=""><br class="">Cheers,<br class=""> Harm<br \ class=""><span id="cid:f_jrz8kbwl0"><glissandi-default-and-finger-various-styles-01.pdf></span><span \ id="cid:f_jrz8knei1"><<a \ href="http://glissandi-default-and-finger-various-styles-01.ly" \ class="">glissandi-default-and-finger-various-styles-01.ly</a>></span></div></div></blockquote></div><br \ class=""></body></html> ["Screen Shot 2019-02-22 at 10.05.14 AM.png" (Screen Shot 2019-02-22 at 10.05.14 AM.png)] PNG IHDR HiCCPICC Profile HWXS[RIhH RK E*I \ ĐD.*v*Z Y+ZZ(bʛX{;79sJ;N \ O*Euȓ#BXRX. 2` m@Rv\\42t\uQrs@(A! > ^ \ @O@XYj\j\I@ 2Ǔe B~ѾD C8/ \ xT^%v!+qfsxYX]Jȡb47l\P;8h"Ydfط[93q$#&b}ߋ*{QHGMr`B*FAl q$7&Zs!+-p5 glF|ΔqLWiZ CoE)1j89bm( fS,m J"BشLYx^'[,sc4@7Y(a' 哢jCԵcBI^SZ}%͍TanRo0Acq<l8u>x X@GRτ, .͐GjF \ ȇBTBPT<rc@ȅ*/pdj· \ 5b3dI##DGhx \ }˞AxHN$ܞ.^$ :apM_AVO<g&# \ j9̕ƎJA)#(o==Y=C\36>N=[Kl1v ;cG& \ c%GU4-^O#OSIkk'\H~Y2qņo~!+rwu@Q^3Uy/] | \ 2/Ï`Kg > + 8W :\y! *ЁO10?a`< L],3rU` v=`?hGI+upn` ABG1b"Έ;"aH4"H"A;YT![:g0r9t \ H b( 5@P;tꃲ(4fh1Z.C+Zt7ڈD/N9ڏLcbqX, d<jWNq ] ēp>×UN?_}`Jp&I, LB)pp>M݄D"I'zç1MM\J@K<A \ vI$1ə@%HRznqR7=YlAv'"ry \ yKQb),r6J22@գSlBj%zzZKKJWkXkV>sZ>iN4m \ MA[FA;AM{M4z}~~^=Z-О]ݨ}EEV3MXBe^].G;OZM~=^^R]z%[Ow1053clcat { &V5dbL;&\ϼ8 l{pĒ #xg4(HhTfGcqqJ&{&D&MΘ4??lNM^273707;ek466_c~̼ǂah!Xcqːf*YY} -mVVIVZݳZXgZn`3Ǧw[vYwvv)v?5=7u \ ;9;:\s$:88nplwB<DNNQg/gQQ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