[Top][All Lists]

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

Re: select a note in a chord

From: Valentin Villenave
Subject: Re: select a note in a chord
Date: Wed, 16 Jan 2019 00:10:29 +0100

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)

That being said, one can also use
\musicMap #(drop-n <number>) { … }
without an additional wrapper.


reply via email to

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