lilypond-user
[Top][All Lists]
Advanced

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

Re: select a note in a chord


From: David Kastrup
Subject: Re: select a note in a chord
Date: Wed, 16 Jan 2019 00:15:56 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Valentin Villenave <address@hidden> writes:

> On 1/15/19, Davide Bonetti <address@hidden> wrote:
>> I modified
>>         (if (and (music-is-of-type? music 'event-chord)
>>                  (> l n))
>> with
>>         (if (and (music-is-of-type? music 'event-chord)
>>                  (>= l n))
>
> Nice catch! I’ve updated the snippet as well.
>
> Additionally, beware that the LSR version uses
> #(define-music-function (parser location music)
> whereas the syntax for LilyPond 2.19 would be
> #(define-music-function (music)

Not much to beware here since convert-ly knows its way around this and
2.19 will do argument counting in order to provide backwards
compatibility.

-- 
David Kastrup



reply via email to

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