summaryrefslogtreecommitdiff
path: root/Documentation/snippets/pitches-headword.ly
blob: ad09b5755ba21e09989d1516d5e0d04db8791213 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
% DO NOT EDIT this file manually; it is automatically
% generated from Documentation/snippets/new
% Make any changes in Documentation/snippets/new/
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
%% Note: this file works from version 2.17.27
\version "2.17.27"

\header {
  lsrtags = "headword"

  texidoc = "
Piches headword

"
  doctitle = "Pitches headword"
} % begin verbatim

% L. v. Beethoven
% Piano sonata 21 - Dem Grafen von Waldstein Gewidmet
% chorale at measures 34 - 40+

\include "english.ly"

\new PianoStaff <<

  % RH Staff
  \new Staff <<

    % RH Voice 1
    \new Voice {
      \set Score.currentBarNumber = #34
      \voiceOne
      gs''2 ( ^ \markup \italic { dolce e molto ligato }
      fs''4
      e''4
      |
      ds''2
      cs''2 )
      |
      ds''2 (
      e''4
      fs''4
      |
      <gs'' e''>2
      <fs'' ds''>2 )
      |
      \oneVoice
      \clef bass
      <gs' e' b>2 (
      <fs' ds' a>4
      <e' cs' gs>4
      |
      <ds' bs fs>2
      <cs' a e>2 )
      |
      \voiceOne
      b2 %(
      cs'4
      ds'4
      |
      \clef treble
      <e' gs>4 %)
      r4 r2
    }

    % RH Voice 2
    \new Voice {
      \voiceTwo
      \override Staff.DynamicLineSpanner.staff-padding = #3
      <e'' b'>2 \p
      <ds'' a'>4
      <cs'' gs'>4
      |
      <bs' fs'>2
      e'2
      |
      <b'! a'>2 -\tweak #'style #'none \cresc
      b'4
      <e'' cs''>4
      |
      b'2. ( \sf \>
      a'4 )
      \clef bass
      | \break
      s1 \p
      |
      s1
      |
      <gs e>4 (
      <a fs>2. )
      |
      s4
      r4 r2
    }

  >>

  % LH Staff
  \new Staff {
    \override Staff.SustainPedalLineSpanner.staff-padding = #6
    <gs' e'>2 ( \sustainOn
    <fs' ds' b>4 \sustainOff
    <e' cs'>4
    |
    <ds' bs gs>2
    <cs' a>2 ) \sustainOn
    |
    \clef bass
    \slurDown
    <ds' b! a fs>2 ( \sustainOff
    <e' b gs>4
    <fs' cs' a>4 \sustainOn
    |
    \clef treble
    \voiceOne
    <<
      {
        <gs' e'>2
        <fs' ds'>2 )
      }
      \new Voice {
        \voiceTwo
        b1 \sustainOff
      }
    >>
    \oneVoice
    |
    %\break
    \clef bass
    <gs e>2 (
    <fs ds b,>4
    <e cs>4
    |
    <ds bs, gs,>2
    <cs a,>2 ) \sustainOn
    |
    <b,! b,,!>1 ( \sustainOff
    |
    <e e,>4 )
    r4 r2
  }

>>