Hello Pat, I tried:
{ \time 3/4 \clef "bass" \repeat tremolo 6 e8 -\markup {\draw-dotted-line #'(5.1 . 2.3)} | } but the slur doesn’t show up. JM > Le 8 mars 2015 à 21:34, Cynthia Karl <pck...@mac.com> a écrit : > > >> On Mar 8, 2015, at 2:42 PM, Menu Jacques <imj-...@bluewin.ch> wrote: >> >> Hello Cynthia and Klaus, >> >> Thanks for your answers. >> >> With 2.19.15, the « tongue » function produces the 6 dots alright, but the >> \shape command seems to have no effect. >> >> Any other hint regarding the slur? > > Shape doesn't affect the "tongue" output because there is no Bezier curve > controlling the layout of the dots. PhrasingSlur along with > \phrasingSlurDotted would work with \shape ok, but I don't know how to > control the number of dots in the slur nor the thickness of the dots. > > It appears that you want the dots to be in a horizontal line. It might be > able to accomplish that with \markup { \draw-dotted-line }. > > Pat Karl (Cynthia my wife, we share this mail account) > >> >> JM >> >> %%%%%%%%%%%%% >> \version "2.19.15" >> >> { >> \time 3/4 >> \clef "bass" >> << >> \repeat tremolo 6 {e8 -. } >> \shape #'((-2 . 0.2) (-1 . 0.2) (0 . 0.2) (0 . 0.6)) Slur {s4( s s)} >>>> | >> } >> >> tongue = >> #(define-music-function (parser location dots) (integer?) >> (let ((script (make-music 'ArticulationEvent >> 'articulation-type "staccato"))) >> (set! (ly:music-property script 'tweaks) >> (acons 'stencil >> (lambda (grob) >> (let ((stil (ly:script-interface::print grob))) >> (let loop ((count (1- dots)) (new-stil stil)) >> (if (> count 0) >> (loop (1- count) >> (ly:stencil-combine-at-edge new-stil X RIGHT stil >> 0.2)) >> (ly:stencil-aligned-to new-stil X CENTER))))) >> (ly:music-property script 'tweaks))) >> script)) >> >> { >> \time 3/4 >> \clef "bass" >> \repeat tremolo 6 e8 -\tongue #6 | >> } >> >> { >> \time 3/4 >> \clef "bass" >> << >> \repeat tremolo 6 e8 -\tongue #6 >> \shape #'((-2 . 0.2) (-1 . 0.2) (0 . 0.2) (0 . 0.6)) Slur {s4( s s)} >>>> >> } >> %%%%%%%%%%%%% >> >> >> give the same rest >>> Le 8 mars 2015 à 19:25, Klaus Blum <benbigno...@gmx.de> a écrit : >>> >>> Hi Jacques, >>> >>> there is already a snippet that might help: >>> http://lsr.di.unimi.it/LSR/Item?id=772 >>> <http://lsr.di.unimi.it/LSR/Item?id=772> >>> >>> Cheers, >>> Klaus >>> >>> >> >>> Le 8 mars 2015 à 19:31, Cynthia Karl <pck...@mac.com> a écrit : >>> >>>> Message: 2 >>>> Date: Sun, 8 Mar 2015 18:37:15 +0100 >>>> From: Menu Jacques <imj-...@bluewin.ch> >>>> Subject: Slurred staccato in a tremolo >>>> >>>> Is there a way to get the slur above the tremolo in the sample below, as >>>> found in the attached manuscript image? >>>> >>>> Thanks for you help! >>>> >>>> JM >>>> >>>> >>>> \version "2.19.15" >>>> >>>> { >>>> \time 3/4 >>>> \clef "bass" >>>> \repeat tremolo 6 { e8 -. } | >>>> } >>>> >>>> >>> How about: >>> >>> { >>> \time 3/4 >>> \clef "bass" >>> <<\repeat tremolo 6 {e8 -. } >>> \shape #'((-2 . 0.2) (-1 . 0.2) (0 . 0.2) (0 . 0.6)) Slur >>> {s4( s s)}>> | >>> } >>> >>>> >>>> >>>> -------------- next part -------------- >>>> An HTML attachment was scrubbed... >>>> URL: >>>> <http://lists.gnu.org/archive/html/lilypond-user/attachments/20150308/b3a3882e/attachment.html> >>>> -------------- next part -------------- >>>> A non-text attachment was scrubbed... >>>> Name: SlurredStaccatoProblem.png >>>> Type: image/png >>>> Size: 17851 bytes >>>> Desc: not available >>>> URL: >>>> <http://lists.gnu.org/archive/html/lilypond-user/attachments/20150308/b3a3882e/attachment.png> >>>> >>>> ------------------------------ >>>> >>>> _______________________________________________ >>>> lilypond-user mailing list >>>> lilypond-user@gnu.org >>>> https://lists.gnu.org/mailman/listinfo/lilypond-user >>>> >>>> >>>> End of lilypond-user Digest, Vol 148, Issue 63 >>>> ********************************************** >>> >> > _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user