[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 12:46:36 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
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
- Change the duration of a chord defined as a variable, paolo prete, 2018/03/06
- Re: Change the duration of a chord defined as a variable, David Kastrup, 2018/03/06
- Re: Change the duration of a chord defined as a variable, paolo prete, 2018/03/06
- Re: Change the duration of a chord defined as a variable,
David Kastrup <=
- Re: Change the duration of a chord defined as a variable, paolo prete, 2018/03/06
- Re: Change the duration of a chord defined as a variable, David Kastrup, 2018/03/06
- Re: Change the duration of a chord defined as a variable, paolo prete, 2018/03/06
- Re: Change the duration of a chord defined as a variable, David Kastrup, 2018/03/06
- Re: Change the duration of a chord defined as a variable, paolo prete, 2018/03/06
- Re: Change the duration of a chord defined as a variable, David Kastrup, 2018/03/06
- Re: Change the duration of a chord defined as a variable, paolo prete, 2018/03/06
- Re: Change the duration of a chord defined as a variable, David Kastrup, 2018/03/06