]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/chord-tremolo.ly
2002-07-17 Han-Wen <hanwen@cs.uu.nl>
[lilypond.git] / input / regression / chord-tremolo.ly
1 \version "1.3.146"
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 (To ensure that the spacing engine is not confused we add some regular notes as well.) 
12 "
13 }
14   
15 \score { 
16   \context Voice \notes\relative c' {
17         % huh -> one beam missing!
18         \repeat "tremolo" 8 { d16 e }
19         \repeat "tremolo" 4 { d e }
20         \repeat "tremolo" 2 { d e }
21         c4
22         \break
23         \repeat "tremolo" 4 { f'8 e }
24         \repeat "tremolo" 2 { f e }
25         c4
26         c4 c4 c4 c4
27         c4 c4 c4 c4
28         c4 c4 c4 c4
29
30   }
31   \paper {
32     linewidth = 90*\staffspace
33   }  
34   \midi { }
35 }