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: paolo prete
Subject: Re: Change the duration of a chord defined as a variable
Date: Tue, 6 Mar 2018 12:54:25 +0100

Great. Is there also way to add the articulations of chord to newChord ?

2018-03-06 12:46 GMT+01:00 David Kastrup <address@hidden>:
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
}

--
David Kastrup


reply via email to

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