lilypond-user
[Top][All Lists]
Advanced

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

Re: Y-coordinates don't work in offset function


From: Gilles THIBAULT
Subject: Re: Y-coordinates don't work in offset function
Date: Fri, 11 Jul 2008 10:27:53 +0200


I couldn't figure out how
to use extra-offset in the function (I'm very new at this, clearly...).


Not so easy with "extra-offset" indeed, because the syntax
   #'extra-offset = #'($offsetX  $offsetY ) doen't work .
(don't know why !?!)
It seems to  work with the cons syntax


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
fingerOffset = #(define-music-function (parser location offsetX offsetY) (number? number?)
  #{
\once \override Voice.Fingering #'extra-offset = #(cons $offsetX $offsetY )
  #})


\relative c''' {
   \override Fingering #'staff-padding = #'()
   \set fingeringOrientations = #'(down)
\fingerOffset #0.7 #-3.5
  <c-4>4
\fingerOffset #'0.7 #'0.0
  <g-3>
\fingerOffset #'0.7 #'3.0
  <d-2>2
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%




reply via email to

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