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