]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/chord-tremolo.ly
*** empty log message ***
[lilypond.git] / input / regression / chord-tremolo.ly
1 #(ly:set-option 'old-relative)
2 \version "1.9.4"
3
4 \header{
5 texidoc="
6 Chord tremolos look like beams, but are a kind of repeat symbol.
7 To avoid confusion, chord tremolo beams do not reach the stems, but 
8 leave a gap.  Chord tremolo beams on half notes are not ambiguous,
9 as half notes cannot appear in a regular beam, and should reach the 
10 stems.
11
12 In this example, each tremolo lasts exactly one measure.
13
14 (To ensure that the spacing engine is not confused we add some regular
15 notes as well.)
16
17 "
18 }
19
20 \score { 
21   \context Voice \notes\relative c' {
22         \time 4/4
23         \repeat "tremolo" 16 { d32 e }
24         \repeat "tremolo" 8 { d16 e }
25         \repeat "tremolo" 4 { d8 e }
26
27         \time 3/4
28         \repeat "tremolo" 12 { d32 e }
29         \repeat "tremolo" 6 { d16 e } 
30         \repeat "tremolo" 3 { d8 e } 
31
32         \time 2/4
33         \repeat "tremolo" 8 { d32 e }
34         \repeat "tremolo" 4 { d16 e }
35         \repeat "tremolo" 2 { d8 e }
36
37         \time 1/4
38         \repeat "tremolo" 4 { d32 e }
39         \repeat "tremolo" 2 { d16 e }
40
41         c4 c4 c4 c4 c4 
42   }
43
44   \midi { }
45   \paper {} 
46 }
47