lilypond-user
[Top][All Lists]
Advanced

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

why does not this work?


From: Jonatan Liljedahl
Subject: why does not this work?
Date: Sat, 16 Apr 2005 15:06:15 -0300

This is version 2.5.18...

#(use-modules (ice-9 optargs))
#(define* (tempomark n t)
   (ly:export
      #{
         \once \override Score.MetronomeMark #'extra-offset = #'(-3 . 5)
         \tempo $n = $t
      #}
   )
)

But when I use this as #(tempomark 4 120) I get:

<string>:3:0: error: syntax error, unexpected $undefined:

;         \once \override Score.MetronomeMark #(quote extra-offset) =
#(quote (-3 . 5))

<string>:4:16: error: syntax error, unexpected NUMBER_IDENTIFIER,
expecting DIGIT or UNSIGNED or DURATION_IDENTIFIER:
         \tempo 
                \lilyvartmpe = \lilyvartmpf

error: Error found in this music expression. Ignoring it

Is it a bug or something I'm doing wrong?

/Jonatan    -=( http://kymatica.com )=-




reply via email to

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