lilypond-user
[Top][All Lists]
Advanced

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

Re: Parametric variables?


From: -Eluze
Subject: Re: Parametric variables?
Date: Sun, 15 Mar 2009 06:30:02 -0700 (PDT)

i have excerpted the code from your example as

\version "2.12"
fng = #(define-music-function (parser location marktext) (string?) 
        #{ \markup {\finger $marktext } #}) 
{ < c' d'>4^\fng #"2\n1"        } 

but running it gives following errors:

Analysieren...
test.ly:5:12: Fehler: syntax error, unexpected MUSIC_FUNCTION
{ < c' d'>4^
            \fng #"2\n1"        }
<string>:1:33: Fehler: syntax error, unexpected \markup
parseStringResult = \notemode {
                                 \markup {\finger \lilyvartmpb }
<string>:1:42: Fehler: Ungültige Fluchtsequenz: »\finger«
parseStringResult = \notemode {  \markup {
                                          \finger \lilyvartmpb }
test.ly:5:0: Fehler: Fehler gefunden, musikalischer Ausdruck wird ignoriert

{ < c' d'>4^\fng #"2\n1"        }

what am i missisng?



-- 
View this message in context: 
http://www.nabble.com/Parametric-variables--tp22513457p22523238.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.





reply via email to

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