lilypond-user
[Top][All Lists]
Advanced

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

Re: bends before notes... how to?


From: Valentin Villenave
Subject: Re: bends before notes... how to?
Date: Sun, 15 Jul 2007 03:06:54 +0200

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)




reply via email to

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