[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Curve in a macro?
From: |
Kieren MacMillan |
Subject: |
Re: Curve in a macro? |
Date: |
Fri, 15 Sep 2017 23:27:24 -0400 |
Hi,
> I'm quite puzzled by the
> fact that the closing cannot be in the macro…
I'm sure it can be — for example (but not recommended):
\version "2.19.65"
curve =
#(define-music-function (parser location curved) (ly:music?)
#{
\once \override Slur.control-points = #'((0.5 . 4) (1 . 6) (2 . 6) (2.5 .
4))
s8*0( $curved s8*0)
#})
{ \curve { b' c'' } \curve { a' c'' b' f' g' } }
Cheers,
Kieren.
________________________________
Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: address@hidden