lilypond-user
[Top][All Lists]
Advanced

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

Re: Violin fingering


From: Pierre Perol-Schneider
Subject: Re: Violin fingering
Date: Mon, 11 May 2015 14:05:10 +0200

Hi,

2015-05-11 13:31 GMT+02:00 B~M <address@hidden>:
 
This is very useful annotation to denote a descending shift from "somewhere" down to 
a lower position with finger 2. In sight reading string music that makes what is coming next 
very clear. Very helpful. 

Personnaly I wouldn't use the 'minus' command as it is to indicate a 'portamento'.
See:

minus =
#(define-music-function (parser location fingering) (ly:music?)
   (let ((music (make-music 'FingeringEvent))
         (finger (ly:music-property fingering 'digit)))
     (set! (ly:music-property music 'tweaks)
           (acons 'stencil
                  (lambda (grob)
                    (grob-interpret-markup grob
                                           (make-concat-markup
                                            (list
                                             (markup #:line
                                                      (#:translate
                                                       (cons 0.1 0.5)
                                                       (#:override
                                                        (cons (quote thickness) 2.2)
                                                        (#:draw-line (cons 0.6 0)))))
                                             (number->string finger)))))
            (ly:music-property music 'tweaks)))
    music))

port =
#(define-music-function (parser location fingering) (ly:music?)
   (let ((music (make-music 'FingeringEvent))
         (finger (ly:music-property fingering 'digit)))
     (set! (ly:music-property music 'tweaks)
           (acons 'stencil
                  (lambda (grob)
                    (grob-interpret-markup grob
                                           (make-concat-markup
                                            (list
                                             (markup #:line
                                                      (#:translate
                                                       ;; set portamento line Y translation:
                                                       (cons 0 0.33)
                                                       (#:override
                                                        ;; set portamento line thickness:
                                                        (cons (quote thickness) 1.5)
                                                        ;; set portamento line length:
                                                        (#:draw-line (cons 0.7 0)))))
                                             (number->string finger)))))
            (ly:music-property music 'tweaks)))
    music))


{
  \clef "G_8"
  \set fingeringOrientations = #'(left)
  <a-2>4 ^"'minus':" <gis-\minus-2>  s2
  <a-2>4 ^"'port':"  <gis-\port-2>   s
}


See also this discussion: http://lilypond.1069038.n5.nabble.com/guide-finger-td130894.html

Cheers,
Pierre



reply via email to

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