lilypond-devel
[Top][All Lists]
Advanced

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

scheme expressions in \property


From: Werner LEMBERG
Subject: scheme expressions in \property
Date: Thu, 15 Aug 2002 14:54:34 +0200 (CEST)

In an m4 macro I want to do this:

  \property Current.DynamicText
    \set #'extra-offset = #'($1 . (+ 2.5 $2))

($1 and $2 are m4's macro arguments), but I get the following warning
message (for $1 = -2 and $2 = 0):

  Interpreting music...
  Type check for `extra-offset' failed;
  value `(-2 + 2.5 0)' must be of type `pair of numbers'

Any solution for this problem?


    Werner




reply via email to

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