hello all!

please, help me to write a function to convert several numbers like (5
7 10 8) to musical string like
 \repeat unfold 5 {c2} \bar ""
 \repeat unfold 7 {c2} \bar ""
 \repeat unfold 10 {c2} \bar ""
 \repeat unfold 8 {c2} \bar ""

my code produces errors only:
\version "2.18.2"
musSpisok = #(define-scheme-function (parser location llen)(list?)
            (if (not (null? llen))
#{
                      \repeat unfold $(car llen) {c2} \bar ""  (
\musSpisok #'(cdr llen))  )
                    #})

thanx,
Oxana

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to