On 1/15/19, Davide Bonetti <d...@davidebonetti.it> 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.

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to