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: Juergen Reuter
Subject: Re: [Bug?] Dotting notes by music function
Date: Wed, 18 Oct 2006 20:36:30 +0200 (CEST)

On Sun, 15 Oct 2006, Nicolas Sceaux wrote:

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


Thanks, I will look into it!

Greetings,
Juergen




reply via email to

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