]> git.donarmstrong.com Git - lilypond.git/blob - input/test/incipit.ly
patch::: 1.3.128.jcn4
[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.117";
10
11 incipit =  \notes\relative c'{
12   <b1 fis' b d>
13 }
14
15 emptyincipit =  \notes{
16  s1
17 }
18
19 violin =  \notes\relative c''{
20   \specialkey \keysignature f' fis'' g' gis'';
21   \time 2/2;
22   \clef "treble";
23
24   \key;
25   a4. b8 c4 fis |
26   gis~ gis8 fis16^\trill ()e b8 c \context Staff<{\voiceOne a d}{\voiceTwo es,4}>|
27 }
28
29 BC  = \notes\relative c{
30   \key d \major;
31   \time 2/2;
32   \clef "bass";
33
34  \key;
35   b2. cis4 | 
36   d e fis g |
37 }
38
39 \score{
40   <
41     \context Staff = violin {\notes{
42       \property Staff.clefStyle = "transparent" 
43       \incipit \bar ".|"; \endincipit
44       \violin
45     }}
46     \context Staff = BC{\notes{
47       \property Staff.clefStyle = "transparent" 
48       \emptyincipit \bar ".|"; \endincipit
49       \BC
50     }}
51   >
52   \paper{
53     \translator{\StaffContext
54       timeSignatureStyle = "C";
55     }
56   }
57 }  
58