Unlike \bendAfter, you have to use with curly braces:

Nope, it even works without it!
So you can use \bendBefore exactly the same way you use \bendAfter

Hope this helps!
Valentin

%%%%%% snippet %%%%%%


#(define (make-bend x)
  (make-music 'BendAfterEvent
              'delta-step x))

bend =
#(define-music-function (parser location delta) (integer?)
       (make-bend (* -1 delta)))

bendBefore  =
#(define-music-function (parser location argument) (integer?)
#{ \once \override BendAfter #'rotation = #'(180 -1 -1)
\bend #$argument  #} )


{
       c'1\bendAfter #5 e'1 d' \bendBefore #5 e'
}

%%% EDIT: I removed the braces (not needed after all)


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to