lilypond-user
[Top][All Lists]
Advanced

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

Re: Change the duration of a chord defined as a variable


From: David Kastrup
Subject: Re: Change the duration of a chord defined as a variable
Date: Tue, 06 Mar 2018 13:15:16 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

paolo prete <address@hidden> writes:

>> paolo prete <address@hidden> writes:
>>
>> > Hi David,
>> > in the snippet below, is it possible to set a new duration of \newChord in
>> > the variable definition?
>> > Thanks
>> >
>> > chord = <f' a'>4
>> > newChord = #(make-event-chord (ly:music-property chord 'elements))
>> >
>> > {
>> >  \newChord
>> > }
>>
>> Well, the lazy way would be
>>
>> {
>>   <$@(ly:music-property chord 'elements) >8
>> }
>>
>
> Great. Is there also way to add the articulations of chord to newChord ?

Have you even tried what happens with articulations?

Asking LilyPond should is usually the proper first recourse since it
means you waste only your own computer's time.  As a bonus, you get no
complaints about top posting with full quote below.

-- 
David Kastrup



reply via email to

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