2018-01-13 20:33 GMT+01:00 Pierre-Luc Gauthier <[email protected]>:
> Thanks Thimothy
>
> 2018-01-13 13:49 GMT-05:00 Timothy Lanfear <[email protected]>:
>> See this thread
>
> I will.
>
> Here is where I am so far.
>
> I'm trying to get some basic iteration going on.
> Still, I'm not sure why it does not work.
>
> --
> Pierre-Luc Gauthier
>
> %%%%%%%%%%%%%%%%%%%
> \version "2.21.0"
>
> scoreI = \score {{ces''4}}
>
> scoreII = \score {{cis''4}}
>
> bookFunc = #
> (define-void-function
> (score-list filename)
> (list? string?)
> (ly:book-process #{
> \book {
> \header {title = #(strftime "%H:%M:%S" (localtime (current-time)))}
>
> % $(car score-list) % This works
> % $(cadr score-list) % This works
>
> $(for-some-music ;; Or map? Neither works
> (lambda (score)
> score)
> score-list)
@score-list
will do what you're trying to do here.
Though I'm not sure what you're aiming at...
Cheers,
Harm
> }
> #} #{ \paper {} #} #{ \layout {} #}
> (string-append "Part-" filename)))
>
> \bookFunc #(list scoreI scoreII) "fileName"
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user