|
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)
[Prev in Thread] | Current Thread | [Next in Thread] |