lilypond-user
[Top][All Lists]
Advanced

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

Re: Curve in a macro?


From: M Sun
Subject: Re: Curve in a macro?
Date: Fri, 15 Sep 2017 15:52:36 -0700

Hi Kieren,

Thanks for the reply.  It works.  One thing about this implementation
is I'll need to remember to close the slur, while logically the
closing should also be part of the macro.  I'm quite puzzled by the
fact that the closing cannot be in the macro…

But anyway, if this is a limitation of the program, it's good enough
for me.  Thanks again~

On Fri, Sep 15, 2017 at 2:08 PM, Kieren MacMillan
<address@hidden> wrote:
> Hi,
>
>> If I have a note and a curve like this:
>>  b8-\tweak control-points #'((0.5 . 4) (1 . 6) (2 . 6) (2.5 . 4)) ( <> )
>> How can I make the curve into a macro, so that I can write "b8 \curve"
>> or "\curve b8"?
>
> \version "2.19.65"
> curve = -\tweak control-points #'((0.5 . 4) (1 . 6) (2 . 6) (2.5 . 4)) (
> { b8\curve c') c''\curve b') }
>
> Hope that helps.
> Kieren.
> ________________________________
>
> Kieren MacMillan, composer
> ‣ website: www.kierenmacmillan.info
> ‣ email: address@hidden
>



-- 
Fear  is  the  path  to  the  dark  side.
Fear  leads  to  anger,
Anger  leads  to  hate,
Hate  leads  to  suffering.



reply via email to

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