]> git.donarmstrong.com Git - lilypond.git/blob - input/test/rest-collision.ly
release: 1.3.92
[lilypond.git] / input / test / rest-collision.ly
1
2 scale = \notes \relative c' {
3   c8 d e f g a b c c d e f g a b c
4
5 }
6 rests = \notes             {
7   r r r  r r r r r r r r r r r r r
8
9 different =< \context Voice = one {
10       \stemup
11       \notes \relative c'' {
12         r8 a e4 a e
13       }
14     }
15     \context Voice = two {
16       \stemdown
17       \notes \relative c'' {
18         r1
19       }} >
20
21 scales = \context Staff \notes <
22         \context Voice=i { \stemup r1 r2 r2   \scale    c''1 c'2 a'2 \rests  }
23         \context Voice = ii { \stemdown a'1 a'2 d'2 \rests r1 r2 r2  \scale }
24 >
25
26 restsII = \context Staff \notes {
27         r4 r8
28         \context Staff < { \stemup r8 } { \stemdown r8} >
29         \context Staff < {\stemup r8} r8 { \stemdown r8} >
30         \context Staff < {\stemup r8} r8 r8 { \stemdown r8} >
31         \context Staff < {\stemup r} { \stemdown r} >
32         \context Staff < {\stemup r} r { \stemdown r} >
33         \stemup
34         \transpose c'' { [c''8 r8 c''8 c''8]
35         [c8 r8 c8 c8]
36         [c8 r8 r8 c'''8]        
37         \stemdown
38         [c8 r8 c8 c8]
39         [c''8 r8 c''8 c''8]
40         [c'8 r8 r8 c'''8]
41         \different      
42         }
43 }
44
45 \score{
46         \notes { 
47                 \scales 
48                 \restsII 
49         }
50 }       
51
52 \version "1.3.59";