]> git.donarmstrong.com Git - lilypond.git/blob - input/test/incipit.ly
patch::: 1.3.47.mb2
[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.3.42";
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   \clef "treble";
19
20   \key;
21   a4. b8 c4 fis |
22   gis~ gis8 fis16^\trill ()e b8 c \context Staff<{\voiceone a d}{\voicetwo es,4}>|
23 }
24
25 BC  = \notes\relative c{
26   \key d;
27   \time 2/2;
28   \clef "bass";
29
30  \key;
31   b2. cis4 | 
32   d e fis g |
33 }
34
35 \score{
36   \notes{
37     \context Staff=violin
38     \property Staff.clefStyle = "transparent" 
39       \incipit 
40     < \context Staff=violin { 
41       \bar ".|"; \endincipit
42       \violin}
43       \context Staff=cb { \property Staff.clefStyle = "transparent" 
44       \bar ".|";  \endincipit 
45       \BC}>
46   }
47   \paper{
48     \translator{\StaffContext
49       timeSignatureStyle = "C";
50     }
51   }
52 }  
53