]> git.donarmstrong.com Git - lilypond.git/blob - input/test/incipit.ly
release: 1.2.0
[lilypond.git] / input / test / incipit.ly
1 %{
2  Test of how to make an ``incipit'' to indicate scordatora 
3  tuning of a violin part, using the clefStyle property.
4  The two first bars of Biber's Rosary sonata III.
5
6    /Mats B
7 %}
8
9 \version "1.2.0";
10
11 incipit = \notes\relative c'{
12   <b1 fis' b d>
13 }
14
15 violin = \notes\relative c''{
16   \specialkey \keysignature f' fis'' g' gis'';
17   \time 2/2;
18
19   a4. b8 c4 fis |
20   gis~ gis8 fis16^\trill ()e b8 c \context Staff<{\voiceone a d}{\voicetwo es,4}>|
21 }
22
23 BC  = \notes\relative c{
24   \key D;
25   \time 2/2;
26   \clef "bass";
27
28   b2. cis4 | 
29   d e fis g |
30 }
31
32 \score{
33   \notes{
34     \context Staff=violin
35     \property Staff.clefStyle = "transparent" 
36       \incipit 
37     < \context Staff=violin { 
38       \bar ".|"; \endincipit
39       \violin}
40       \context Staff=cb { \property Staff.clefStyle = "transparent" 
41       \bar ".|";  \endincipit 
42       \BC}>
43   }
44   \paper{
45     \translator{\StaffContext
46       timeSignatureStyle = "C";
47     }
48   }
49 }  
50