lilypond-user-fr
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bend Before


From: Mike Solomon
Subject: Re: bend Before
Date: Tue, 14 Mar 2017 11:19:09 +0100

On 13 March 2017 at 22.07.17, Vincent Gay (address@hidden) wrote:
Le 13/03/2017 à 21:55, Vincent Gay a écrit :
Le 13/03/2017 à 21:45, Mike Solomon a écrit :
#(define (scoop-stencil grob)
  (ly:stencil-add
    (ly:note-head::print grob)
    (grob-interpret-markup grob
      (markup #:with-dimensions '(0 . 0) '(0 . 0)
              #:translate '(-0.2 . -0.5)
              #:path 0.25 '((moveto 0 0)
                            (curveto 0 -1 -1 -1.5 -1.5 -1.5))))))
scoop = \once \override NoteHead #'stencil = #scoop-stencil


Parfait. Merci mille fois Mike


en fait presque parfait :-) Il faut parfois espacer un peu la note avec une gracenote judicieuse et cachée.


La façon la plus simple d’y arriver, c'est de passer la valeur X du “translate” comme argument facultatif à \scoop. Il faudrait donc transformer scoop en fonction scheme.
http://lilypond.org/doc/v2.18/Documentation/extending/scheme-function-definitions

@+,
~Mike


--
Vincent Gay
Envoyé depuis mon saxo-phone :)
http://blog.vintherine.org/ - http://photos.vintherine.org/
_______________________________________________
liste de diffusion lilypond-user-fr
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user-fr

reply via email to

[Prev in Thread] Current Thread [Next in Thread]