FYI: After looking once more through a couple of files in the scm directory, I finally found the shift-duration-log function that exactly does what I wanted. For the moment, I take this one.

Thanks again,
Juergen

On Wed, 18 Oct 2006, Juergen Reuter wrote:

On Sun, 15 Oct 2006, Nicolas Sceaux wrote:

Juergen Reuter <[EMAIL PROTECTED]> 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



_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to