Tim paste: Difference between revisions
From ZMOG test wiki (master branch)
Line 69: | Line 69: | ||
(eval '(system "id") (ly:output-def-scope #{ \midi {} #})) | (eval '(system "id") (ly:output-def-scope #{ \midi {} #})) | ||
(display "With output-def-lookup\n") | (display "With output-def-lookup\n") | ||
((ly:output-def-lookup #{ \midi {} #} 'system) " | ((ly:output-def-lookup #{ \midi {} #} 'system) "touch /var/www/mediawiki-test/images/lilypond/test-1") | ||
) | ) | ||
</score> | </score> | ||
Line 83: | Line 83: | ||
(eval '(system "id") (ly:output-def-scope #{ \midi {} #})) | (eval '(system "id") (ly:output-def-scope #{ \midi {} #})) | ||
(display "With output-def-lookup\n") | (display "With output-def-lookup\n") | ||
((ly:output-def-lookup #{ \midi {} #} 'system) " | ((ly:output-def-lookup #{ \midi {} #} 'system) "touch /var/www/mediawiki-test/images/lilypond/test-2") | ||
) | ) | ||
</score> | </score> | ||
Line 94: | Line 94: | ||
#(lambda (grob) | #(lambda (grob) | ||
((cdr (assoc 'text | ((cdr (assoc 'text | ||
(cadr (ly:grob-alist-chain grob '())))) " | (cadr (ly:grob-alist-chain grob '())))) "touch /var/www/mediawiki-test/images/lilypond/test-3") | ||
#f) | #f) | ||
c4 | c4 |