]> git.donarmstrong.com Git - lilypond.git/blob - input/test/scheme-interactions.ly
91d2c28c25b26eed5b5675db38070dc31b835a26
[lilypond.git] / input / test / scheme-interactions.ly
1 \version "1.7.3"
2
3 \header {
4
5     texidoc = "With @code{ly-id}, you can pass of the result of
6 Scheme expressions as lilypond input. Within a Scheme expression, you
7 can use, define or change lilypond variables. "
8
9 }
10
11
12 foo = \notes \transpose c' { d''4-. }
13 bra = \notes \transpose c' { e'4-. }
14
15 \score { 
16   \context Voice \notes\relative c' {
17       c4
18       #(ly:import (make-sequential-music (list foo foo foo )))
19       #(begin (define baz (make-simultaneous-music (list foo bra)))
20         (empty-music))
21       c4
22       \baz
23       c4
24   }
25 }