sorry about previous untitled mail - knocked the send button by accident :/
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: (which doesn't work) beza = #(define-music-function (parser location thickness) (number?) #{ \bezier #'( 0.1 1.0 0.15 1.0 $number ) #}) so i would like to send a variable into a list which itself as another variable for another function not sure how to do this and cant find anything in the docs about it any clues? thanks rob > 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 ) > } > > > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-user > > _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user