lilypond-devel
[Top][All Lists]
Advanced

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

Re: [Bug?] Dotting notes by music function


From: Nicolas Sceaux
Subject: Re: [Bug?] Dotting notes by music function
Date: Sun, 15 Oct 2006 12:07:54 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)

Juergen Reuter <address@hidden> writes:

> By the way, do we have a generic substitution function that you can
> pass an event type and some replacement expression to?  Maybe
> something like
>
> (replace-for-all-matches
>   #(define-matching-expression (any-music-event-of-type 'NoteEvent))
>   Music
>   #(define-replacement-expression
>     (original-match) (... <an expression in terms of original-match that
>     is used as replacement for original-match> ...))),

There is some kind of music pattern matcher in scm/display-lily.scm: the
with-music-match macro, which is not exported from this module however.

nicolas




reply via email to

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