[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.
Cheers,
V.
- select a note in a chord, Davide Bonetti, 2019/01/14
- Re: select a note in a chord, Malte Meyn, 2019/01/14
- Re: select a note in a chord, Valentin Villenave, 2019/01/14
- Re: select a note in a chord, Valentin Villenave, 2019/01/15
- Re: select a note in a chord, Davide Bonetti, 2019/01/15
- Re: select a note in a chord, Davide Bonetti, 2019/01/15
- Re: select a note in a chord,
Valentin Villenave <=
- Re: select a note in a chord, David Kastrup, 2019/01/15
- Re: select a note in a chord, Davide Bonetti, 2019/01/17
- Re: select a note in a chord, Valentin Villenave, 2019/01/17
- Re: select a note in a chord, David Kastrup, 2019/01/17
- Re: select a note in a chord, Valentin Villenave, 2019/01/17
- Re: select a note in a chord, David Kastrup, 2019/01/17
- Re: select a note in a chord, David Kastrup, 2019/01/17
- Re: select a note in a chord, Davide Bonetti, 2019/01/18
- Re: select a note in a chord, David Kastrup, 2019/01/18
- Re: select a note in a chord, Valentin Villenave, 2019/01/19