lilypond-user
[Top][All Lists]
Advanced

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

Re: scheme function for staccato


From: Valentin Villenave
Subject: Re: scheme function for staccato
Date: Wed, 23 Apr 2008 00:14:25 +0200

2008/4/22 Mats Bengtsson <address@hidden>:

>  The solution in LSR is more or less equivalent to Reinhold's proposal, but
> is divided three separate functions instead of two, whereof two are generic
> and can be used for any articulation.

Yes, it seems more flexible this way.

>  The same fix that I proposed can be used also here, i.e. to replace the
> definition of add-script by
>  #(define (add-script m x)
>   (if
>     (equal? (ly:music-property m 'name) 'EventChord)
>     (set! (ly:music-property m 'elements)
>           (append (ly:music-property m 'elements)
>                    (list (make-script x)))))
>   m)

Great! I've updated the snippet (and my own scores' sources as well ;)

Cheers,
Valentin




reply via email to

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