lessons/LeftHandFingerExercises: Puhol035.ly

File Puhol035.ly, 2.9 KB (added by uri, 15 years ago)

Пухоль, упражнение 35 --- исходник в LilyPond

Line 
1\version "2.12.1"
2
3% European system (A B H C D E F G)
4\include "deutsch.ly"
5
6% Short alias for \rightHandFinger
7#(define RH rightHandFinger)
8
9\header{
10  title="УпражМеМОе №35"
11  composer="Э.ПухПль"
12}
13
14music = \relative c' {
15  % Normal position of pauses
16  \override Rest #'staff-position = #0
17  \stemDown
18  <f-1-\RH #2 >\startTextSpan <g-3-\RH #3 > <f-1-\RH #2 > <g-3-\RH #3 >
19  <as-4-\RH #2 > <g-3-\RH #3 > <as-4-\RH #2 > <g-3-\RH #3 >
20  f-1 as-4 f-1 as-4
21  g-3 as-4 g-3 as-4
22  f-1 as-4 f-1 g-3
23  f-1 g-3 as-4 f-1
24  as-4 g-3 f-1 g-3
25  f2-1\stopTextSpan r
26  as4-4 g-3 as-4\startTextSpan f-1
27  as-4 f-1 as-4 g-3
28  as-4 f-1 g-3 as-4
29  f-1 as-4 g-3 as-4
30  f-1 g-3 as-4 g-3
31  f-1 as-4 g-3 f-1
32  g-3 f-1 g-3 as-4
33  f2-1\stopTextSpan r
34}
35
36duplicate = \relative c' {
37  % Normal position of pauses
38  \override Rest #'staff-position = #0
39  \stemDown
40  \textSpannerDown
41  f4 g f g\startTextSpan
42  as g as g\stopTextSpan
43  f as f as
44  g\startTextSpan as g as\stopTextSpan
45  f as f g
46  f g\startTextSpan as\stopTextSpan f
47  as g f g
48  f2 r
49  % Small upright font
50  \override TextSpanner #'font-size = #-2
51  \override TextSpanner #'font-shape = #'upright
52  % Vertical alignment of line to center
53  \override TextSpanner #'(bound-details left stencil-align-dir-y) = #CENTER
54  % The text
55  \override TextSpanner #'style = #'line
56  \override TextSpanner #'(bound-details left text) = "3 "
57  as4\startTextSpan g\stopTextSpan as f
58  as f as\startTextSpan g\stopTextSpan
59  as f g\startTextSpan as\stopTextSpan
60  % The text
61  \override TextSpanner #'style = #'dashed-line
62  \override TextSpanner #'(bound-details left text) = " "
63  f as g\startTextSpan as\stopTextSpan
64  f g\startTextSpan as g\stopTextSpan
65  % The text
66  \override TextSpanner #'style = #'line
67  \override TextSpanner #'(bound-details left text) = "3 "
68  f as\startTextSpan g\stopTextSpan f
69  % The text
70  \override TextSpanner #'style = #'dashed-line
71  \override TextSpanner #'(bound-details left text) = " "
72  g f g\startTextSpan as\stopTextSpan
73  f2 r
74}
75
76\score {
77  <<
78    \new Staff {
79      \clef "G_8"
80      << {
81        \textSpannerDown
82        % Tweaking text spanner mutual vertical position
83        \override TextSpanner #'Y-extent = #'( 0 . 1)
84        % Nice style of the dashed line
85        \override TextSpanner #'dash-fraction = #0.4
86        \override TextSpanner #'dash-period = #2.0
87        \music
88      } \\ {
89        % Overrides line ending
90        \override TextSpanner #'bound-details #'right #'text = \markup { \draw-line #'( 0 . .5) }
91        % Tweaking text spanner mutual vertical position
92        \override TextSpanner #'Y-extent = #'(-2.0 . -1.5)
93        % Nice style of the dashed line
94        \override TextSpanner #'dash-fraction = #0.4
95        \override TextSpanner #'dash-period = #2.0
96        \duplicate
97      } >>
98    }
99    \new TabStaff {
100      \override TextSpanner #'dash-period = #-1
101      \music
102    }
103  >>
104  \layout{}
105  \midi{}
106}
107