lilypond-user
[Top][All Lists]
Advanced

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

[no subject]


From: rob
Subject:
Date: Thu, 16 Dec 2010 13:57:07 +0100 (CET)
User-agent: SquirrelMail/1.4.15

hi!

i have a definition that takes a list as an argument

\include "bezier.ly"
beza = {
  \bezier #'( 0.1  1.0 0.15  1.0 0.5 )
}

i would like to be able to assign one of the elements of the list with a
variable like this

beza #0.4

feeding into something like this

beza =  #(define-music-function (parser location thickness) (number?)
   #{
\bezier #'( 0.1  1.0 0.15  1.0 $number )
}




reply via email to

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