%{
    Tchaikovsky Violin Concerto - Finale
    Arranged for guitar by Steve Yegge

  compile-command:
  /Applications/LilyPond.app/Contents/Resources/bin/lilypond \
       [-d fret-diagrams] --png concerto-III.ly \
    && /Users/stevey/bin/refresh-lilypond \
    && /Users/stevey/bin/midi concerto-III.midi
%}

\version "2.26.0"  % for upgrading to future LilyPond versions

\include "english.ly"
\include "../common.ly"
\include "../harmonic.ly"

introRest = {
  \set Score.skipBars = ##t
  R2*16
  \unset Score.skipBars
}

intro = \relative c {
  %% Repeating time signature cures bizarre barcheck warnings.
  \once \override Staff.TimeSignature.stencil = ##f 
  \time 2/4

  %% measure 17
  a2 \f ^\markup "Solo\nsenza sordino" \(
  | %% measure 18
  bf8 \) bf16 \( a bf8 -. d -. \)
  | %% measure 19
  a2 \(
  | %% measure 20
  bf8 \) bf16 \( a bf8 -. d -. \)
  | %% measure 21
  a a <a e' a cs> [ a ]
  | %% measure 22
  <a e' a cs e> a
  <a e' a cs a'> [ a ]
  | %% measure 23
  gs4 \noBeam <bf' d e> ->
  | %% measure 24
  r4 gs,
  | %% measure 25
  a2 \(
  | %% measure 26
  bf8 \) bf16 \( a bf8 -. d -. \)
  | %% measure 27
  a2 \(
  bf8 \) bf16 \( a bf8 -. d -. \)
  | %% measure 28
  a a <a e' a cs> [ a ]
  | %% measure 29
  <a e' a cs e> a
  <a e' a cs a'> [ a ]
  | %% measure 30
  r4 <a e' a cs> ^\markup "pizz."
  | %% measure 31
  <a e' a cs e>
  <a e' a cs a'>
  | %% measure 33
  r8
  a <a e' a cs> a
  | %% measure 34
  <a e' a cs e> a
  <a e' a cs a'> [ a ]
  | %% measure 35
  r4 <a e' a cs> ^\markup "pizz."
  | %% measure 36
  <a e' a cs e>
  <a e' a cs a'>
  | %% measure 37
  \pIV a8 \ff a16 \( gs a4 ~
  | %% measure 38
  a2
  | %% measure 39
  bf8 -. \) bf16 \( a bf4 ~
  | %% measure 40
  bf2
  | %% measure 41
  a8 \) a16 \( gs a4 ~
  | %% measure 42
  a2
  | %% measure 43
  bf8 -. \) bf16 \( a bf4 ~
  | %% measure 44
  bf2
  | %% measure 45
  b8 \) b16 \( as b4 ~
  | %% measure 46
  b2 _\markup \italic "dim."
  | %% measure 47
  c8 -. \) c16 \( b c4 ~
  | %% measure 48
  c2
  | %% measure 49
  \pVII cs8 \) cs16 \( bs cs4 ~
  | %% measure 50
  cs \) b ~ \<
  | %% measure 51
  b \! bs ~ \(
  | %% measure 52
  bs cs \! \) \fermata
  \bar "||"
  \pageBreak
  \pOff
}

nineBar = {
  | %% measure 89
  \barre "IX" "3" <d'-2>8 \startTextSpan \f
  d16 ( cs ) d -. gs, -. e \stopTextSpan -. <d-4> -.
  | %% measure 90
  <cs-3> <bs-2> <cs-3> <d-4> <cs-2> <e-1> <a-2> <cs-1>
  | %% measure 91
  \barre "IX" "3" d8 -. \startTextSpan d16
  ( cs ) d -. gs, -. e -. \stopTextSpan d -.
  | %% measure 92
  cs bs cs d cs e a cs
}

theme = \relative c {
  \tempo "Tempo I"
  \set TabStaff.restrainOpenStrings = ##t
  %% measure 53
  \pIV <d-2\5>8 \p d16 ( cs d8 -. ) <b-4> -.
  | %% measure 54
  <cs-1> -. <e-4> <a,-0>\5 -. <cs-1>16 \downbow \( <d-2> \)
  | %% measure 55
  <e-4> -. \< <cs-1> -. \glissando \pVII <e-1> \downbow -. fs -.
  <g-4> -. <e-1> -. <a-1\4> -. \downbow <b-2> -.
  | %% measure 56
  <cs-4> -. a -. b -. cs -.
  <d-1\3> -. \downbow <e-2> -. \upbow <fs-4>\3 -. \downbow <a\2-1> -. \downbow \!
  | %% measure 57
  \pVIII <b\2>8 -. \upbow \f
  b16 ( as b8 -. ) \pVII <fs-1\2>
  | %% measure 58
  <g-2> -. g16 ( fs g8 -. ) <ds\3> \upbow
  | %% measure 59
  e -. \downbow <b\4> -. \upbow
  cs16 -. \downbow \pVI <gs-1> -. \upbow a -. \downbow as -. \upbow
  | %% measure 60
  <b> -. \downbow \> <ds,-1\5> -. \upbow
  <e-2> -.\downbow <fs-3> -. \upbow
  <g!-4> -. \downbow \pIV <a,!-1\6> -. \upbow
  <b-2> -. \downbow <cs-4>\6 -. \! \upbow
  | %% measure 61
  <d-2>8 \downbow \p d16 \( ( cs d8 -. ) b -. \)
  | %% measure 62
  cs -. e <a,> -. <cs>16 \( d \)
  | %% measure 63
  e16 -. \< <cs> -. \glissando \pVII <e> -. fs -.
  g -. <e> -. <a\4> -. b -.
  | %% measure 64
  <cs>\4 -. a -. b -. <cs>\4 -.
  d -. e -. <fs>\3 -. <a\2> -. \!
  | %% measure 65
  bf8 -. \f bf16 ( a bf8 -. ) \pOff <d,,-0>\4 \p
  | %% measure 66
  <cs-3\5> -. <e-1> -. <a,-0> -. \pIV <cs-1>16 \( <d-2> \)
  | %% measure 67
  <e-4> -. <cs-1> -. \pVI <ds-1> -. <e-2> -.
  <fs-4> -. \< <ds-1> -. <gs-1> -. <a-2> -.
  | %% measure 68
  <b-4> -. gs -. a -. b -.
  <cs-1\3> -. <d!-2> -. <e-3> -. <a-4\2> -. \!
  | %% measure 69
  \mark \markup { \musicglyph "scripts.coda" }
  \pV f8 -. \f
  f16 ( e f8 -. ) <d,-0>8\4 -.
  | %% measure 70
  a'8 -. \> a16 ( gs a8 -. ) <a,-0>8\5 -. \!
  | %% measure 71
  \pIV <bf-3\6>16 \p <b-4> <cs-1\5> <d-2>
  <cs-1> \< <d-2> <e-3> <f-4> \!
  | %% measure 72
  <fss-1\4> \< <gs-2> <as-3> <b-4>\4
  \pVI <cs-1> <d-2> <e-3> <a-4> \!
  | %% measure 73
  \pV f8 -. \f f16 ( e f8 -. ) <d,-0>8\4 -.
  | %% measure 74
  a'8 -. \> a16 ( gs a8 -. ) <a,-0>8\5 -. \!
  | %% measure 75
  \pIV <bf-3\6>16 \p <b-4> <cs-1> <d-2>
  <cs-1> \< <d-2> <e-3> <f-4>
  | %% measure 76
  \pIII <fss,-1\6> <gs-2> <as-3> <b-4>
  <bs-1\5> <cs-2> <ds-3> <e-4> \!
  | %% measure 77
  f'8 -. \f f16 ( e f8 -. ) <d,-0>8\4 -.
  | %% measure 78
  \pIV a'8 -. \> a16 ( gs a8 -. ) <a,-0>8\5 -. \!
  | %% measure 79
  bf16 \p b cs d cs \< d e f
  | %% measure 80
  fss \< gs as <b\4> <cs-1> <d-2> <e-3\3> <a-4>\2 \!
  | %% measure 81
  \mark \markup
  { \auto-footnote
    \musicglyph "scripts.coda"
    %% http://lilypond.1069038.n5.nabble.com/Five-issues-with-automatic-footnotes-to-lyrics-td132437.html
    \small "All the cuts in this movement are suggested by L. Auer" }
  f8 -. \mf
  f16 ( e f8 -. ) <d,-0>8\4 -.
  | %% measure 82
  a'8 -. \> a16 ( gs a8 -. ) <a,-0>8\5 -. \!
  | %% measure 83
  fs''8 -. fs16 ( es fs8 -. ) cs,8 -.
  | %% measure 84
  d'8 -. d16 ( cs d8 -. ) d,8 -.
  | %% measure 85
  g'8 -. _\mycresc
  g16 ( fs g8 -. ) g,8 -.
  | %% measure 86
  \pVI a'8 -. a, -. <bf'>\2 bf,
  | %% measure 87
  b'! -. b16 \( ( as b8 -. ) b,! -. \)
  | %% measure 88
  c' -. c, -. d' -. <d,\4> -.
  \nineBar
}

themeTail = \relative c {
  | %% measure 93
  d''8 -. d16 ( cs d8 -. ) d, -.
  | %% measure 94
  \pXII f'8 -. f16 ( e f8 -. ) <f,-1\3> -.
  | %% measure 95
  \pXI fs' -. fs, -. g' -. g, -.
  | %% measure 96
  gs' -. gs, -. a' -. a, -.
  | %% measure 97
  \pVIII d16 \f -> ( cs d8 -. )
  a16 -> ( gs a8 -. )
  | %% measure 98
  \pVI d,16 -> ( cs d8 -. )
  a16 -> ( gs a8 -. )
  | %% measure 99
  \pIV d,16 -> \> ( cs d8 -. )
  a16 -> ( gs a8 -. ) \!
  | %% measure 100
  \pI <bf-1>16 \mf bf \< b b c c cs cs \!
  \pOff
}

themeAHeadA = \relative c {
  %% measure 101
  \once \override TextScript.staff-padding = #2
  \pIV <d-2>8 \p ^\markup { \fontsize #5 \right-align \box "A"  }
  d16 ( cs d8 -. ) <b-4> -.
}

themeA = \relative c {
  | %% measure 102
  cs -. e -. <a,>\6 -. cs16 \(d \)
  | %% measure 103
  e <cs-1> \glissando \pVII <e-1> \< fs
  g e-1 <a-1\4> b
  | %% measure 104
  <cs>\4 a b <cs>\4
  d e <fs>\3 a \!
  | %% measure 105
  \pVIII
  b8 -. \f b16 \( ( as b8 -. ) \pVII <fs-1\2> -. \)
  | %% measure 106
  g -. g16 ( fs g8 -. ) \pIV <ds-1\2> -.
  | %% measure 107
  e -. \downbow \pOff <b-0> -. \upbow cs16 \downbow
  <gs-1> \upbow a \downbow as \upbow
  | %% measure 108
  <b>\3 \downbow \pII <es,\4-1> \upbow \< fs \downbow <gs\4> \upbow
  as \downbow as \upbow b \downbow <cs>\3 \upbow \!
  | %% measure 109
  \pII <b, fs' b d>8 \f d'16 \( ( cs d8 -. ) b -. \)
  | %% measure 110
  \pOff <a, e' a cs> -. [ e'' ]
  <a,, e' a> -. \pXI <cs'-1\4>16 ( d )
  | %% measure 111
  e cs \pXIV <e-1> fs
  g <e-1> <a-1> b
  | %% measure 112
  <cs\3> a b <cs\3>
  d e <fs\2> <a-4>
  | %% measure 113
  <d,,,-0 a''-1 d-2>8\4\3\2 -.
  d''16 \( ( cs d8 -. ) b -. \)
  | %% measure 114
  \barre "XIV" "4" <a,,-0 e'' a cs> \startTextSpan [ <e'''-4> ] \stopTextSpan
  <a,,,-0 a''-3>16\5\4 \pXVI <gs''-2\4> <a-3> <b-1\3>
  | %% measure 115
  cs \< b cs d
  \pXVI <e-1\2> <fs-2> <g-3> <gs-1\1>
  | %% measure 116
  <a-2> <as-3> <b-1> <cs-2> \!
  <d-3>8 \f r8
}

themeBHead = \relative c {
  %% measure 117
  \once \override TextScript.staff-padding = #2
  \pVII d''8 -. \f ^\markup { \fontsize #5 \right-align \box "B"  }
  d16 \( ( cs d8 -. ) b \)
}

themeB = \relative c {
  | %% measure 118
  \pV <g''-4\2>16 <fs-3> <e-1> <g-4>
  \pIV <d-3\3> <cs-2> <b-1> <d-3>
  | %% measure 119
  \pOff <g,-0> <fs-3> <e-1> <g-4>\4
  <d-0> <cs-3> <b-1> <d-4>\5
  | %% measure 120
  <g,-3> <b-1> <e-2> <g-0> <b-0> <e-0> g <b-4> \glissando
  | %% measure 121
  <d-4>8 -. \f d16 \( ( cs d8 -. ) b \)
  | %% measure 122
  \pV g16 fs e g
  \pIV d cs b d
  | %% measure 123
  \pOff g, fs e <g>\4
  d cs b <d>\5
  | %% measure 124
  g, b e g b e g b \glissando
  | %% measure 125
  d8 -. \f d16 \( ( cs d8 -. ) <d,,-0 b'-0 d-1> \)
  | %% measure 126
  r2
  | %% measure 127
  d''8 -. d16 \( ( cs d8 -. ) <d,, b' d> \)
  | %% measure 128
  r2
  | %% measure 129
  d''8 -. \mf d16 \( ( cs d8 -. ) <d,, b' d> \)
  | %% measure 130
  d''8 -. d16 \( ( cs d8 -. ) <d,, b' d> \) _\markup \italic "crescendo"
  | %% measure 131
  d'' [ <d,, b' d> ]
  d'' [ <d,, b' d> ]
  | %% measure 132
  d'' [ <d,, b' d> ]
  d'' [ <d,, b' d> ]
}

themeBTail = \relative c {
  | %% measure 133
  \pIX ds''8 -. ds16 \( ( css ds8 -. ) gs, -. \)
  | %% measure 134
  b -. b16 \( ( as b8 -. ) b, -. \)
  | %% measure 135
  \pVI gs' -. gs, -. \pIII es' -. es, -.
  | %% measure 136
  <d'-4\3>16 <d,-0> \pIII <f-1> <g-2> <gs-3>
  \pVI <d'-2\3> <f-1> <gs-3>
  | %% measure 137
  a8 -. a16 \( ( gs a8 -. ) d, -. \)
  | %% measure 138
  \pIII f -. _\markup \italic "dim."
  f16 \( ( e f8 -. ) f, -. \)
  | %% measure 139
  \pV d' -. d, -. \pII b' -. b, -.
  | %% measure 140
  <gs'-4\4>16 \pIV gs, a b cs d e fs!
  | %% measure 141
  gs \pVII <b,-1\6> cs d
  e fs <gs-4\5> <a-1\4>
  | %% measure 142
  b \pX <d,-1\6> e fs
  gs a b cs
  | %% measure 143
  \pXI d gs, a b cs d e fs
  | %% measure 144
  gs a b cs d e fs gs
  \bar "||"
}

themeC = \relative c {
  \pOff
  %% measure 145
  \key a \major
  \once \override TextScript.staff-padding = #2
  a'''8 \ff ^\markup { \fontsize #5 \right-align \box "C" } r8 r4
  | %% measure 146/147
  \set Score.skipBars = ##t
  R2*2
  \unset Score.skipBars
  | %% measure 148
  \set defaultStrings = #'(5)
  r4 a,,8 -. ^\markup "sul A" \mf \( e -. \)
  | %% measure 149
  gs4 \( fs8 e
  | %% measure 150
  d -. \) \tuplet 3/2 { d16 \( ( e d } cs8 -. ) b -. \)
  | %% measure 151
  a2 ~
  | %% measure 152
  a4 \glissando a'8 -. \( e -. \)
  | %% measure 153
  gs4 \( fs8 e
  | %% measure 154
  d -. \) \tuplet 3/2 { d16 \( ( e d } cs8 -. ) b -. \)
  | %% measure 155
  a2 \> ~
  | %% measure 156
  a4 \! fs'8 -- \mf \( fs -- \)
  | %% measure 157
  fs4 \( e8 d \)
  | %% measure 158
  cs \( b fs' -. fs -. \)
  | %% measure 159
  fs4 \( e8 d \)
  | %% measure 160
  cs4 \( \glissando a'8 -. e -. \)
  | %% measure 161
  fs4 \( e8 d \)
  | %% measure 162
  cs \( b fs' -. fs \)
  | %% measure 163
  fs4 e8 \( d \)
  | %% measure 164
  \unset defaultStrings
  \tempo "Tempo I"
  cs16 cs <d\5> e fs8 \f fs
  | %% measure 165
  fs4 e8 d
  | %% measure 166
  cs b \( fs' \) fs
  | %% measure 167
  fs4 e8 d
  | %% measure 168
  cs16 e fs gs a8 e
  | %% measure 169
  fs4 e8 d
  | %% measure 170
  cs b \( fs' \) fs
  | %% measure 171
  fs4 e8 d
  | %% measure 172
  cs16 cs c c
  \repeat tremolo 2 b
  \repeat tremolo 2 a
  | %% measure 173
  \repeat tremolo 2 gs! [
  \repeat tremolo 2 e'
  \repeat tremolo 2 g,
  \repeat tremolo 2 gs ]
  | %% measure 174
  \repeat tremolo 2 a [
  \repeat tremolo 2 gs
  \repeat tremolo 2 a
  \repeat tremolo 2 <b\6-4> ]
  | %% measure 175
  \pIV
  \repeat tremolo 2 <cs-1> [
  \repeat tremolo 2 <a'-4>
  \repeat tremolo 2 <fs-1>
  \repeat tremolo 2 <gs-3> ]
  | %% measure 176
  \pVII
  \flatBeamsOnce
  \repeat tremolo 2 <a-1> [
  \repeat tremolo 2 <a'-4\2>
  \repeat tremolo 2 a,
  \pOff
  \repeat tremolo 2 <a,-0> ]
  | %% measure 177
  \repeat tremolo 2 gs [
  \repeat tremolo 2 e'
  \repeat tremolo 2 g,
  \repeat tremolo 2 gs ]
  | %% measure 178
  \repeat tremolo 2 a [
  \repeat tremolo 2 gs
  \repeat tremolo 2 a
  \repeat tremolo 2 <b-4\6> ]
  | %% measure 179
  \pIV
  \repeat tremolo 2 cs [
  \repeat tremolo 2 a'
  \repeat tremolo 2 fs
  \repeat tremolo 2 gs ]
  | %% measure 180
  a \barre "VII" "" <cs,-3> \startTextSpan e a \stopTextSpan
  \pVI
  <a-2> _\mycresc <gs-1> <a-2> <as-3>
  | %% measure 181
  \pVII
  <b-2> <as-1> <b-2> <cs-4> <b-2> <a-1> <gs-4> <fs-2>
  | %% measure 182
  <e-1> fs gs a b cs d <fs-4\3> \glissando
  | %% measure 183
  \pIX
  <a-4> <e-1\3> <fs-2> <gs-3> <a-4> <e-1> <fs-2> <gs-3>
  | %% measure 184
  <a-4> <e-1> \pXII <a-3> <b-1\2> <cs-2> <d-3> <cs-2> <c-1>
  | %% measure 185
  <b-2\2> <as-1> <b-2> <cs!-4> <b-2> <a-1> <gs-4\3> <fs-2>\4
  | %% measure 186
  <e-1> <fs-2>\4 <gs-4> \pX a b cs <d-1> <fs-4> \glissando
  | %% measure 187
  <a-4\1> <e-1> <fs-2> <gs-3> <a-4> e fs gs
  | %% measure 188
  a <a,\3-1> a\3 \pOff a,, r16 <a'\4> <a>\4 a,
  | %% measure 189
  \stringUp
  \set defaultStrings = #'(6 4)
  \repeat tremolo 2 <gs\6 gs'\4> \ff
  \repeat tremolo 2 <a a'>
  \repeat tremolo 2 <b b'>
  \set defaultStrings = #'(5 3)
  \repeat tremolo 2 <fs'\5 fs'\3>
  | %% measure 190
  \repeat tremolo 2 <e e'>
  \repeat tremolo 2 <fs fs'>
  \repeat tremolo 2 <gs gs'>
  \repeat tremolo 2 <a a'>
  | %% measure 191
  \repeat tremolo 2 <gs gs'>
  \repeat tremolo 2 <a a'>
  \repeat tremolo 2 <b b'>
  \repeat tremolo 2 <gs gs'>
  | %% measure 192
  \repeat tremolo 2 <a a'>
  \repeat tremolo 2 <b b'>
  \repeat tremolo 2 <bs bs'>
  \repeat tremolo 2 <cs cs'>
  | %% measure 193
  \set defaultStrings = #'(4 2)
  \repeat tremolo 2 <gs\4 gs'\2>
  \repeat tremolo 2 <a a'>
  \repeat tremolo 2 <b b'>
  \set defaultStrings = #'(3 1)
  \repeat tremolo 2 <fs'\3 fs'\1>
  | %% measure 194
  \repeat tremolo 2 <e e'>
  \repeat tremolo 2 <fs fs'>
  \repeat tremolo 2 <gs gs'>
  \repeat tremolo 2 <a a'>
  | %% measure 195
  \repeat tremolo 2 <gs gs'>
  \repeat tremolo 2 <e e'>
  \repeat tremolo 2 <fs fs'>
  \repeat tremolo 2 <gs gs'>
  \unset defaultStrings
  \stringNeutral
}

themeD = \relative c {
  \midiTempoChange \tempo 4=120
  | %% measure 196
  \once \override TextScript.staff-padding = #2
  <a'' a'>8 ^\markup { \fontsize #5 \right-align \box "D" }
  r8 ^\markup "Molto meno mosso" r4
  | %% measures 197-207
  \set Score.skipBars = ##t
  R2*7
  R2*4
  \unset Score.skipBars
  | %% measure 208
  r4 e8 \( fs \)
  | %% measure 209
  gs4 \( \appoggiatura { fs16 [ gs ] } fs8 e \)
  | %% measure 210
  \appoggiatura { ds16 [ <e>\2 ] } ds8 \( cs \) r4
  | %% measure 211
  r2
  | %% measure 212
  r4 e8 \( fs \)
  | %% measure 213
  gs4 \( \appoggiatura { fs16 [ gs ] } fs8 e \)
  | %% measure 214
  \appoggiatura { ds16 [ <e>\2 ] } ds8 \( cs \) r4
  | %% measure 215
  r2
  | %% measure 216
  r4 e8 \f \( es \)
  | %% measure 217
  fs4 \( \appoggiatura { e16 [ fs ] } e8 d \)
  | %% measure 218
  \appoggiatura { cs16 [ d ] } cs8 \( b \) as b
  | %% measure 219
  d4 \( \appoggiatura { cs16 [ d ] } cs8 b \)
  | %% measure 220
  \appoggiatura { a16 [ <b>\3 ] } a8 \( gs \) fss gs
  | %% measure 221
  <b\3>4 \( \appoggiatura { a16 [ <b>\3 ] } a8 g \)
  | %% measure 222
  \pI
  \appoggiatura { fs16 [ g ] } fs8 \( e \) ds e
  | %% measure 223
  g4 \( \appoggiatura { fs16 [ g ] } fs8 e \)
  | %% measure 224
  g4 \( \< \appoggiatura { fs16 [ g ] } fs8 e \! \)
  | %% measure 225
  g4 \( \appoggiatura { fs16 [ g ] } fs8 e \)
  | %% measure 226
  \pOff
  \appoggiatura { d16 [ e ] } d8 \> \( cs \) d -- e -- \!
  | %% measure 227
  \pI
  g4 \( \appoggiatura { fs16 [ g ] } fs8 e \)
  | %% measure 228
  g4 \( \< \appoggiatura { fs16 [ g ] } fs8 e \! \)
  | %% measure 229
  g4 \( \appoggiatura { fs16 [ g ] } fs8 e \)
  | %% measure 230
  \pOff
  \appoggiatura { d16 [ e ] } d8 \> \( cs \) d e \!
  | %% measure 231
  \midiTempoChange \tempo 4=100
  \pI g4 \mf ^\markup "Quasi andante"
  \( \appoggiatura { fs16 [ g ] } fs8 e \)
  | %% measure 232
  \pOff \appoggiatura { d16 [ e ] } d8 \( cs \) d e
  | %% measure 233
  \midiTempoChange \tempo 4=80
  \pI g4 ^\markup "dimin. e rall."
  \( \appoggiatura { fs16 [ g ] } fs8 e \)
  | %% measure 234
  \pOff \appoggiatura { d16 [ e ] } d8 \( cs \) d <e\5> \(
  | %% measure 235
  \midiTempoChange \tempo 4=100
  \pIV
  <bf>\6 -. \) ^\markup "poco a poco accelerando"
  bf16 \( c bf8 \) a -. \(
  | %% measure 236
  gs -. \) gs16 \( a gs8 \) a -. \(
  | %% measure 237
  \midiTempoChange \tempo 4=110
  bf -. \) bf16 \( c bf8 \) a -. \(
  | %% measure 238
  gs -. \) gs16 \( a gs8 \) a -.
  \midiTempoChange \tempo 4=120
  | %% measure 239
  bf16 -. ^\markup "sempre stringendo"
  c -. bf -. a -. _\mycresc
  gs! -. a -. gs -. a -.
  \midiTempoChange \tempo 4=130
  | %% measure 240
  bf16 c bf a _\markup \italic "simile"  gs a gs a
  | %% measure 241
  \midiTempoChange \tempo 4=140
  bf16 c bf a gs a gs a
  | %% measure 242
  \midiTempoChange \tempo 4=150
  bf b bf b \pIII <bs\5> cs bs cs
}

%% TODO:  mail lilypond-users about parameterized music sections,
%% so I can remove this copy/paste and reuse \theme with different
%% accent marks etc.
reprise = \relative c {
  \key d \major
  \tempo "Tempo I"
  %% measure 243
  \pIV <d-2\5>8 \p d16 ( cs d8 -. ) b -.
  | %% measure 244
  cs -. e <a,> -. cs16 \( d \)
  | %% measure 245
  e \< cs \glissando \pVII e fs
  g e <a-1\4> <b-2>
  | %% measure 246
  <cs-4>\4 a b <cs\4>
  <d-1\3> e <fs-4>\3 a \!
  | %% measure 247
  \pVIII
  b8 -. \f b16 ( as b8 -. ) \pVII fs
  | %% measure 248
  g -. g16 ( fs g8 -. ) ds
  | %% measure 249
  e -. _\markup \italic "dim." b -.
  cs16 \> \pVI gs a as
  | %% measure 250
  b ds, e fs
  g! \pIV a,! b <cs>\6 \!
  | %% measure 251
  d8 -. \p d16 \( ( cs d8 -. ) b -. \)
  | %% measure 252
  cs -. e -. a, cs16 \( d \)
  | %% measure 253
  e16 \< cs \pVII <e-1> fs
  g e <a-1> b
  | %% measure 254
  <cs>\4 a b <cs>\4
  d e <fs>\3 a \!
  | %% measure 255
  \pX bf8 -. \f bf16 ( a bf8 -. ) \pOff d,, \p
  | %% measure 256
  cs -. e -. a, \pIV <cs-1>16 \( <d-2> \)
  | %% measure 257
  <e-4> <cs-1> \glissando \pVI <ds-1> <e-2>
  <fs-4> \< <ds-1> <gs-2> <a-4>
  | %% measure 258
  b gs a b
  <cs-1> <d!-2> <e-3> <a-4> \!
  | %% measure 259
  \mark \markup { \musicglyph "scripts.coda" }
  \pV f8 -. \f f16 ( e f8 -. ) <d,-0>8\4 -.
  | %% measure 260
  a'8 -. \> a16 ( gs a8 -. ) <a,-0>8\5 -. \!
  | %% measure 261
  \pIV <bf-3\6>16 \p <b-4> <cs-1\5> <d-2>
  <cs-1> \< <d-2> <e-3> <f-4> \!
  | %% measure 262
  <fss-1\4> \< <gs-2> <as-3> <b-4>\4
  \pVI <cs-1> <d-2> <e-3> <a-4> \!
  | %% measure 263
  \pV f8 -. \f f16 ( e f8 -. ) <d,-0>8\4 -.
  | %% measure 264
  a'8 -. \> a16 ( gs a8 -. ) <a,-0>8\5 -. \!
  | %% measure 265
  \pIV <bf-3\6>16 \p <b-4> <cs-1> <d-2>
  <cs-1> <d-2> <e-3> <f-4>
  | %% measure 266
  \pIII <fss,-1\6> \< <gs-2> <as-3> <b-4>
  <bs-1\5> <cs-2> <ds-3> <e-4> \!
  | %% measure 267
  f'8 -. \f f16 ( e f8 -. ) <d,-0>8\4 -.
  | %% measure 268
  \pIV a'8 -. \> a16 ( gs a8 -. ) <a,-0>8\5 -. \!
  | %% measure 269
  bf16 \p b cs d cs d e f
  | %% measure 270
  fss \< gs as <b\4> <cs-1> <d-2> <e-3\3> <a-4>\2 \!
  | %% measure 271
  \mark \markup { \musicglyph "scripts.coda" }
  f8 -. \mf f16 ( e f8 -. ) <d,-0>8\4 -.
  | %% measure 272
  a'8 -. a16 ( gs a8 -. ) <a,-0>8\5 -.
  | %% measure 273
  fs''8 -. fs16 ( es fs8 -. ) cs,8 -.
  | %% measure 274
  d'8 -. d16 ( cs d8 -. ) d,8 -.
  | %% measure 275
  g'8 -. _\mycresc
  g16 ( fs g8 -. ) g,8 -.
  | %% measure 276
  \pVI a'8 -. a, -. <bf'>\2 bf,
  | %% measure 277
  b'! -. b16 \( ( as b8 -. ) b,! -. \)
  | %% measure 278
  c' -. c, -. d' -. <d,\4> -.
  \nineBar
}

themeE = \relative c {
  | %% measure 283
  \pX \once \override TextScript.staff-padding = #2
  e''8 -. \f ^\markup { \fontsize #5 \right-align \box "E" }
  b16 \( as b8 -. \) \pVI e,16 \( ds
  | %% measure 284
  e8 -. \) b16 \( as b8 -. \) e,16 \( ds
  | %% measure 285
  e8 -. \) r8 r4
  | %% measure 286
  r4 r16 \pIX b''16 -. cs -. ds -.
  | %% measure 287
  e8 -. b16 \( as b8 -. \) \pVI e,16 \( ds
  | %% measure 288
  e8 -. \) b16 \( as b8 -. \) e,16 \( ds
  | %% measure 289
  e8 -. \) r8 r4
  | %% measure 290
  \pIX r4 r16 b'' -. cs -. ds -.
  | %% measure 291
  e8 -. r8 r16 b -. cs -. ds -.
  | %% measure 292
  e8 -. r8 r16 c -. d -. ds -.
  | %% measure 293
  e8 -. r8 r16 b -. d -. ds -.
  | %% measure 294
  e8 -. r8 r16 c -. \p d -. e -.
  | %% measure 295
  \pXI f8 -. \mark \markup { \musicglyph "scripts.coda" }
  f16 \( ( e f8 -. ) d -. \)
  | %% measure 296
  e -. g -. c, -. bf16 c
  | %% measure 297
  cs -. d -. \pXII g, -. gs -. a -. bf -.
  \pIX e, -. f -.
  | %% measure 298
  fs -. g -. a -. bf -. b -. c -. d -. e -.
  \mark \markup { \musicglyph "scripts.coda"}
  | %% measure 299
  \pXI f8 f16 ( \( e f8 -. ) d -. \)
  | %% measure 300
  e g c, bf16 c
  | %% measure 300
  cs d \pXII g, gs a bf \pIX e, f
  | %% measure 301
  fs g gs a \pVIII bf b c cs
  | %% measure 302
  d8 -. d16 \( ( cs d8 -. ) b -. \)
  | %% measure 303
  cs e <a,-2> <g-1>16 gs
  | %% measure 304
  a \mark \markup { \musicglyph "scripts.coda" }
  bf \pIX e, f fs g \pVI cs,! d
  | %% measure 305
  ds e f g gs a b! cs!
  | %% measure 306
  \pIX d8 -. d16 \( ( cs d8 ) b -. \)
  | %% measure 307
  cs e <a,-2> \pVIII <g-1>16 gs
  \mark \markup { \musicglyph "scripts.coda"}
  | %% measure 308
  a bf \pIX e, f fs g! \pVI cs, d
  | %% measure 309
  ds e a, b! bs <cs-4\4> \pIV fs, g
  | %% measure 310
  gs a cs,! d ds e \pOff <a,-0> <b-1>
  | %% measure 311
  <c-2> \< <cs-3> <d-0> <e-1> <f-2> <g-4\4> <gs-1\3> <a-2> \!
}

themeF = \relative c {
  | %% measure 313
  <bf'-3>8 r8 r4
  | %% measure 314 -- F#
  r4 r8 \pIV <bf,-3>16 \f <gf'-1 df'-4>
  | %% measure 315
  <gf df'> bf, \pVIII <df-2\6> <bf'-1 gf'-4>
  <bf gf'> df, \pIII <gf-1\4> <df'-3 bf'-1>
  | %% measure 316
  <df bf'> gf, \pVII <bf-2\4> <gf'-1 df'-4>
  <gf df'> bf, bf <gf' df'>
  | %% measure 317
  \pVIII <f-3 d'!-4>8 r8 r4
  | %% measure 318 -- Gm
  r4 r8 \pV <bf,,-2\6>16 <g'-1 d'-4>
  | %% measure 319
  <g d'> bf, \pOff <d-0> <bf'-1 g'-3>
  <bf g'> d, <g-0> <d'-1 bf'-4>
  | %% measure 320
  <d bf'> g, \pVII <bf-1> <g'-2 d'-4>
  <g d'> bf, bf <g' d'>
  | %% measure 321 - Ef
  <bf,-1 g-0 g'-2 ef'-4>8\4\3\2\1 r8 r4
  | %% measure 322
  \pV r4 r8 <bf,-2\6>16 <g'-1 ef'-4>
  | %% measure 323
  <g ef'> bf, \pVI <ef-1\5> <bf'-3 g'-4>
  <bf g'> ef, \pIV <g-2\4> <ef'-1 bf'-4>
  | %% measure 324
  <ef bf'> g, \pVIII <bf-2> <g'-1 ef'-4>
  <g ef'> bf, bf <g' ef'>
  | %% measure 325
  <e,, c'' e g, c' e>8\6\5\4\3\2\1 r8 r4
  | %% measure 326
  \pOff r4 r8 <g e'>16
  \ff \fingerRightOnce <\parenthesize g'-0 c g'>
  | %% measure 327
  q <g, e'>
  \barre "VII" "6" <c g' c> \startTextSpan <e' g c>
  q <c, g' c> \stopTextSpan r8
  | %% measure 328
  \pOff r4 r8 <g e'>16 \fingerRightOnce <\parenthesize g'-0 c g'>
  | %% measure 329
  q <g, e'>
  \barre "VII" "6" <c g' c> \startTextSpan <e' g c>
  q <c, g' c> \stopTextSpan r8
  | %% measure 330-332
  \set Score.skipBars = ##t
  R2*3
  \unset Score.skipBars
  | %% measure 333
  \pV r8 <a\6>16 \p b c _\mycresc a
  \pVIII <c-1\6> d
  | %% measure 334
  ef c
  \pVII <a'-1\4> b c a
  \pX <c-1\4> d
  | %% measure 335
  ef c
  <a'\2> b c a
  \pXII <c-1\2> <d-2>
  | %% measure 336
  <ef-3> \< <a,,-1\5> <c-3>
  <a'-2\3> <c-1\2> <d-3>
  <ef\1> <gs-3> \!
  | %% measure 337
  <a-3>8 \f
  \pV a,,,16 \p [ b c ] _\mycresc a
  \pVIII c d
  | %% measure 338
  ef c
  \pVII a' b c a
  \pX c d
  | %% measure 339
  ef c
  a' b c a
  \pXII c d
  | %% measure 340
  <ef-3> \< <a,,-1\5> <c-3>
  <a'-2\3> <c-1\2> <d-3>
  <ef\1> <gs-3> \!
  | %% measure 341
  <a-3>8 \f
  \pV a,,,16 \p [ b c ] _\mycresc a \glissando
  \pVII <c-1> <ds-3>
  | %% measure 342
  <e-4\6> \glissando \pXII
  <a-4>\6 <c-2> <e-1> <a-3> <c-2> <e-1> <gs-3>
  | %% measure 343
  <a-4>8 \f
  \pV a,,,16 \p [ b c ] a \glissando
  \pVII c ( <e-4\6> \glissando )
  | %% measure 344
  \pX <f-4> \< <a-3>
  \barre "X" "4" c \startTextSpan f a \stopTextSpan
  <c-4> \glissando \pXV <f-4> gs \!
  | %% measure 345
  a
  \pXIII <fs!-1> ( g a )
  <c,-1\2> ( d e ) \pX <a,-1\2> (
  | %% measure 346
  b c ) \pXI <fs,-1\3> ( g a )
  \pX <c,-1\4> ( d e )
  | %% measure 347
  \pVII <a,-1\4> ( b c )
  \pIV <fs,-1\4> ( g a )
  \pIII <c,-1> ( d
  | %% measure 348
  e ) \pOff a, ( b c
  <d-4\5> <c-3> <b-2> <a-0> )
}

themeG = \relative c {
  \key g \major \pOff
  \once \override TextScript.staff-padding = #2
  | %% measure 349
  g8 ^\markup { \fontsize #5 \right-align \box "G" }
  \midiTempoChange \tempo 4=120
  r8  ^\markup "Poco meno mosso" r4
  | %% measure 350-351
  \set Score.skipBars = ##t
  R2*2
  \unset Score.skipBars
  | %% measure 352
  r4
  \set defaultStrings = #'(6)
  \once \override TextSpanner.bound-details.left.text = \markup "sul E"
  \once \override TextSpanner.style = #'dashed-line
  \once \override TextSpanner.bound-details.right.attach-dir = #1
  \once \override TextSpanner.bound-details.right.padding = #-0.5
  \once \override TextSpanner.bound-details.right.text = \markup { \draw-line #'(0 . -1) }
  g'8 -. \mf \startTextSpan \( d \)
  | %% measure 353
  fs4 \( e8 d
  | %% measure 354
  c -. \) \tuplet 3/2 { c16 \( ( d c } b8 -. ) a -. \)
  | %% measure 355
  g2 ~
  | %% measure 356
  g4 g'8 -. \( d -. \)
  | %% measure 357
  fs4 \( e8 d
  | %% measure 358
  c -. \) \tuplet 3/2 { c16 \( ( d c } b8 -. ) a -. \)
  | %% measure 359
  g2 ~ \>
  \unset defaultStrings
  | %% measure 360
  g4 \! \stopTextSpan
  \once \override TextSpanner.bound-details.left.text = \markup "sul A"
  \once \override TextSpanner.style = #'dashed-line
  \once \override TextSpanner.bound-details.right.attach-dir = #1
  \once \override TextSpanner.bound-details.right.padding = #-0.5
  \once \override TextSpanner.bound-details.right.text = \markup { \draw-line #'(0 . -1) }
  \set defaultStrings = #'(5)
  e'8 -- \startTextSpan \( e \)
  | %% measure 361
  e4 \( d8 c \)
  | %% measure 362
  b \( a e' -. e -. \)
  | %% measure 363
  e4 \( d8 c \)
  | %% measure 364
  b4 \( \glissando g'8 -. d -. \)
  | %% measure 365
  e4 \( d8 c \)
  | %% measure 366
  b \( a e' -. e -. \)
  | %% measure 367
  e4 d8 \(
  \midiTempoChange \tempo 4=140
  c \) \stopTextSpan
  \unset defaultStrings
  | %% measure 368
  \stringUp
  \tempo "Tempo I"
  b16 d g -. d' -.
  <c e> -. d, -. <c' e> -. d, -.
  | %% measure 369
  <c'\3 e\2> -. d, -. d -. <c' e>\3\2
  <b d> -. d, -. <a' c> -. d, -.
  | %% measure 370
  <g b> -. d -. <fs-1 a-3> -. <d-4\5> -.
  <b' e> -. d, -. <b' e> -. d, -.
  | %% measure 371
  <b'\3 e\2> _\markup \italic "simile" d, d <b' e>\3\2
  <b d> d, <a' c> d,
  | %% measure 372
  <g b> d d <g b>
  <c d a'> d, <c' d> d,
  | %% measure 373
  <c'\3 e\2> d, d <c' e>\3\2
  <b d> d, <a' c> d,
  | %% measure 374
  <g b> d <fs a> <d-0>
  <b' e> d, <b' e> d,
  | %% measure 375
  <b'\3 e\2> d, d <b' e>\3\2
  <b d> d, <a' c> d,
  | %% measure 376
  <g b> \(
  \midiTempoChange \tempo 4=146
  g, \) b d
  \set defaultStrings = #'(6 4)
  <e e'>8 \f <e e'>
  | %% measure 377
  <e e'>4 <d d'>8 <c c'>
  | %% measure 378
  <b b'> <a a'> \glissando \( <e' e'> \) <e e'>
  | %% measure 379
  <e e'>4 <d d'>8 <c c'>
  | %% measure 380
  <b b'>4 \( \glissando <g' g'>8 \) <d d'>
  | %% measure 381
  <e e'>4 <d d'>8 <c c'>
  | %% measure 382
  <b b'> <a a'> \( \glissando <e' e'> \) <e e'>
  | %% measure 383
  <e e'>4 <d d'>8 <c c'>
  | %% measure 384
  <b b'>4 \unset defaultStrings
  \midiTempoChange \tempo 4=152
  \pIV <g'-2\4>16 fs g gs
  | %% measure 385
  \pVI <a-2> gs a b a g <fs-4\5> e
  | %% measure 386
  <d>\5 e fs <g-1\4> <a-2> <b-4> <c-1\3> <e-4> \glissando
  | %% measure 387
  \set defaultStrings = #'(3)
  \pVII <g-4\3> <d-1> <e-2> <fs-3> <g-4> d e fs
  | %% measure 388
  <g-4> <d-1> <g-3>
  \unset defaultStrings \pX <a-1\2> b c b bf
  | %% measure 389
  \pVIII <a-2> gs a b a g <fs-4> <e-2>
  | %% measure 390
  <d-1>\3 e fs g a b c <e-4> \glissando
  | %% measure 391
  <g-4> <d-1> <e-2> <fs-3> <g-4> d e \> fs
  | %% measure 392
  \pXIX <g-2\2> \( ^\markup \italic "rit."
  \midiTempoChange \tempo 4=140
  \pOff <a-3> \) <b-1> <d-2> \! \harmonicsOn <e>8
  \mf ^\markup "poco meno mosso" e
  | %% measure 393
  e4 <d\2>8 -. -\markup "thumb harmonics" \( <c>\2 -. \)
  | %% measure 394
  <b>\2 <a\3> \( <e'> -. e -. \)
  | %% measure 395
  e4 -- <d\2>8 -- <c>\2 --
  | %% measure 396
  <b>4\2 <g'\1>8 <d\2>
  | %% measure 397
  <e>4 <d\2>8 -. \( <c>\2 -. \)
  | %% measure 398
  <b>\2 <a\3> \( <e'> e -. \)
  | %% measure 399
  e4 -. <d>8\2 -. \( <c>\2 -. \)
  \stringNeutral
  \harmonicsOff
}

themeHhead = \relative c {
  | %% measure 400
  \once \override TextScript.staff-padding = #2
  \harmonicsOn
  <b'''>4\2 ^\markup { \fontsize #5 \right-align \box "H" }
  \harmonicsOff
  r4 ^\markup "Molto meno mosso"
  | %% measures 401-413
  \set Score.skipBars = ##t
  R2*15
  \unset Score.skipBars
}

themeH = \relative c {
  | %% measure 416
  \midiTempoChange \tempo 4=120
  \set defaultStrings = #'(4)
  r4 <fs\4>8 \mf \( g \)

  | %% measure 417
  \midiTempoChange \tempo 4=115
  a4 \( ^\markup "poco a poco rall." g8 fs \)

  | %% measure 418
  \midiTempoChange \tempo 4=110
  \appoggiatura { e16 [ fs ] } e8 \( ds \)
  \set defaultStrings = #'(5)
  <a-0> b

  | %% measure 419
  <c-3>4 \( \glissando <b'-3>8 a \)

  | %% measure 420
  \appoggiatura { b,16 [ c ]  } b8 \( a \) a b
  \mark \markup { \musicglyph "scripts.coda" }

  | %% measure 421
  \once \override TextSpanner.bound-padding = #1.0
  \once \override TextSpanner.style = #'line
  \once \override TextSpanner.bound-details.right.arrow = ##t
  \once \override TextSpanner.bound-details.left.text = #" "
  \once \override TextSpanner.bound-details.right.text = #" "
  \once \override TextSpanner.bound-details.right.padding = #0.6
  \once \override TextSpanner.bound-details.right.stencil-align-dir-y = #CENTER
  \once \override TextSpanner.bound-details.left.stencil-align-dir-y = #CENTER
  c4 \startTextSpan \( \glissando
  b'8 a \)

  | %% measure 422
  \appoggiatura { b,16 [ c ] } b8 ( a ) a b \stopTextSpan
  \mark \markup { \musicglyph "scripts.coda" }

  | %% measure 423
  c4 \( \glissando b'8 a \)
  \unset defaultStrings

  | %% measure 424
  \appoggiatura { b,16 [ c ] } b16 ( a ) d -. e -. fs8 g

  | %% measure 425
  a4 \( g8 fs \)

  | %% measure 426
  \appoggiatura { e16 [ fs ] } e8 ( ds )
  \set defaultStrings = #'(5)
  a b

  | %% measure 427
  c4 \( \glissando b'8 a \)

  | %% measure 428
  \appoggiatura { b,16 [ c ] } b8 ( a ) a b

  | %% measure 429
  c4 \( \glissando b'8 a \)

  | %% measure 430
  \appoggiatura { b,16 [ c ] } b8 ( a ) a b
  \mark \markup { \musicglyph "scripts.coda" }

  | %% measure 431
  c4 \( b'8 a \)

  | %% measure 432
  \appoggiatura { g16 [ a ] } g8 \( fs \)
  \unset defaultStrings
  \pVIII d' c

  | %% measure 433
  \appoggiatura { b16 [ c ] } b8 \glissando
  \( \pVII <a-1\4> \) <fs'\3> \( e \)

  | %% measure 434
  \appoggiatura { e16 [ <fs>\3 ] } e8 \( \< ds \)
  \pIX <g\3> fs

  | %% measure 435
  \appoggiatura { fs16 [ g ] } fs8 \( e \) e' d \!

  | %% measure 436
  \midiTempoChange \tempo 4=100
  \appoggiatura { d16 [ e ] } d8 \f \(
  ^\markup "Quasi andante" cs \) e <g,-3\3>

  | %% measure 437
  <bf-2\2>4 \( \pVII <a-3>8 <g-1> \)

  | %% measure 438
  \appoggiatura { g16 [ a ] } g8 \> \( <f-3\3> \) <a-4> <d,-1\3>

  | %% measure 439
  <f-4\3>4 \( \pVI <e-4>8 <d-2> \) \!

  | %% measure 440
  \appoggiatura { d16 [ e ] } d8 \p \( cs \) e \pV <g,-1\4>

  | %% measure 441
  bf4 \( a8 g \)

  | %% measure 442
  \appoggiatura { g16 [ a ] } g8 \( <f-3\5> \) a d,

  | %% measure 443
  f4 \( \> \pIV <e-4>8 <d-2> \)

  | %% measure 444
  \appoggiatura { d16 [ e ] } d8 \( cs \) \! e \( <a,-2> \)

  | %% measure 445
  bf2 \pp \(

  | %% measure 446
  a8 \) cs \( e a, \)

  | %% measure 447
  bf2 \(

  | %% measure 448
  <a-2>8 \) <cs-1> \( <e-4> <gs,-1> \)

  | %% measure 449
  <a-2> \( <cs-1> \) <e-4> \( <gs,-1> \)

  | %% measure 450
  \tuplet 3/2 { a -. cs -. e -.
  gs, -. _\mycresc a -. cs -. }

  | %% measure 451
  \tuplet 3/2 {
    e -. gs, -. a -. cs -. e -. gs, -.
  }

  | %% measure 452
  a16 -. cs -. e -. gs, ^\markup "poco"
  a -. cs -. e -. gs, -.

  | %% measure 453
  a cs ^\markup "a" e
  \pVII <bs-1\6> \< <cs-2> ^\markup "poco" <e-1\5> <a-4>\5
  \pXI <ds,-1\6>

  | %% measure 454
  \midiTempoChange \tempo 4=110
  <e-2> ^\markup "stringendo" <a-1\5> <cs-4>\5
  <gs-1\5> <a-2> <cs-1\4> <e-4>\4
  \pX <bs-1\4>

  | %% measure 455
  \midiTempoChange \tempo 4=120
  <cs-2> <e-1\3> <a-4>\3
  \pXII <ds,-1\4>
  <e-2> <a-1\3> <cs-4>\3
  <gs-1> \!

  | %% measure 456
  \midiTempoChange \tempo 4=124
  <a-2> \ff <cs-1\2> <e-4>\2
  <bs-1\2> <cs-2> <e-1\1> <a-4>
  \pXV <ds,-1\2>

  | %% measure 457
  \midiTempoChange \tempo 4=130
  <e-2> \> <a-1> <cs-3> <b-2>
  <a-1> <g-3\2> <e-1> <cs-2\3>

  | %% measure 458
  \midiTempoChange \tempo 4=136
  \pXI <a-3\3> <g-1> <e-4\4> <cs-1>
  \pIX <a-3\5> <g-1> <e-4\6> <cs-1>
  \midiTempoChange \tempo 4=142

  | %% measure 459
  \midiTempoChange \tempo 4=150
  \pIV <a-2> <gs-1> <a-2> <as-3>
  <b-2> <as-1> <b-2> <cs-4> \!

  | %% measure 460
  \pOff
}

repriseB = \relative c {
  \midiTempoChange \tempo 4=152
  \key d \major

  | %% measures 460-499
  \reprise

  | %% measures 500-507
  \themeTail

  | %% measure 508
  \once \override TextScript.staff-padding = #2
  \pIV d8 ^\markup { \fontsize #5 \right-align \box "I"  }
  d16 ( cs d8 -. ) b -.

  | %% measures 509-523
  \themeA
  \once \override TextScript.staff-padding = #2
  \pIV d''8 -. ^\markup { \fontsize #5 \right-align \box "K"  }
  d16 ( cs d8 -. ) b -.
  \themeB

  | %% measure 540
  d8 \ff r8 r4

  | %% measures 541-564
  \set Score.skipBars = ##t
  R2*21
  \unset Score.skipBars
}

themeL = \relative c {
  | %% measure 562
  \once \override TextScript.staff-padding = #2
  r2 ^\markup { \fontsize #5 \right-align \box "L"  }

  | %% measure 563
  \pOff r4 r8 <a-0>16 \f
  ^\markup \italic \smaller "(strum this part)"
  <fs' a d>

  | %% measure 564
  q a, <d-0> \barre "II" "3" <a' d fs> \startTextSpan
  q <d,-0> <fs-3> <a d a'>

  | %% measure 565
  q fs \stopTextSpan
  \barre "VII" "4" a \startTextSpan <d fs d'>
  q a a <d fs d'> \stopTextSpan

  | %% measure 566
  <b, fs' b d fs d'>8 ^\markup \barnum #"VII" #"6" r8 r4

  | %% measure 567
  r4 r8 \barre "II" "5" b16 \startTextSpan
  <fs' b d>

  | %% measure 568
  q b, \stopTextSpan \pOff <d-0> \fingerDown <b'-3 b-0 fs'^1>
  \fingerNeutral <b b fs'>\3\2\1 d, <fs-1> <d'-3 b-0 b'-4>

  | %% measure 569
  q fs, \pVII <b-3> <fs'-1 d'-4>
  q b, b <fs' d'>

  | %% measure 570
  \pOff <d, g b d'>8\4\3\1 r8 r4

  | %% measure 571
  r4 r8 b16 <d-0 g-0 d'>

  | %% measure 572
  q b <d-0> <g b g'>
  q d <g-0> <d'-1 b'-4>

  | %% measure 573
  <d b'> g, \pVII <b-2> <g'-1 d'-4>
  <g d'> b, b <g' d'>

  | %% measure 574
  \fingerRightOnce \pOff
  <e,, g'-1 g'-3 b,-0 e'-4>8\6\5\3\2\1 r8 r4

  | %% measure 575
  r4 r8 b'16 <e g b e>

  | %% measure 576
  q b e <g b g'>
  q e <g-1>\4 \fingerRightOnce <g-0 e'-2 b'-4>

  | %% measure 577
  q <g>\4 \pVII <b-1> \fingerRightOnce <g'-3 b,-0 e'-4>
  <g b, e'>\3\2\1 b, b <g' b, e'>\3\2\1
  \mark \markup { \musicglyph "scripts.coda" }

  | %% measure 578
  \pOff <e,, g' g' b, e'>8\6\5\3\2\1 r8 r4

  | %% measure 579
  r4 r8 b'16 <e g b e>

  | %% measure 580
  q b e <g b g'>
  q e <g>\4 <g e' b'>

  | %% measure 581
  q <g>\4 \pVII <b> <g' b, e'>\3\2\1
  <g b, e'>\3\2\1 b, b <g' b, e'>\3\2\1
  \mark \markup { \musicglyph "scripts.coda" }

  | %% measure 582
  \pOff <e,, g' g' b, e'>8\6\5\3\2\1 r8 r4

  | %% measure 583
  <g c g' c e as>8 -. \arpeggio ^\markup \barnum #"III" #"6"
  ^\markup \italic \smaller "(pick)"
  as''16 \( a as8 -. \) e -.

  | %% measure 584
  r2

  | %% measure 585
  <g,, c g' c e as>8 -. ^\markup \barnum #"III" #"6"
  as''16 \( a as8 -. \) e -.

  | %% measure 586
  r4 <g,, c g' c e as>8 g

  | %% measure 587
  r4 <g c g' c e as>8 g

  | %% measure 588
  r4 <g-2 d' bf'-3 d-4 e>8 g

  | %% measure 589
  r4 <cs-2 g'-4 a-1 e'-4 e-0>8 a'

  | %% measure 590
  r4 <d, a' d fs>8 d

  | %% measure 591
  r4 <g, d' g b g'>8 d'

  | %% measure 592
  r4 \pIV <d-2\5>16 \p \( cs d <f-4>\5 \)

  | %% measure 593
  \pVII <f-2\5> \( e f <gs-4>\5 \)
  \pV <gs-2\4> \( _\mycresc g gs <d'-3> \)

  | %% measure 594
  <d-2> \( cs d <f-4\3> \)
  \pVII <f-2\3> \( e f <gs-4>\3 \)

  | %% measure 595
  \pXII <gs-2> \( g gs <d'-3\2> \)
  d \( <e-1> <f-2> <gs-3> \)
  \pOff
}

themeM = \relative c {
  | %% measure 596
  \once \override TextScript.staff-padding = #2
  \repeat tremolo 2 a'''16 \f
  ^\markup { \fontsize #5 \right-align \box "M"  }
  \repeat tremolo 2 <fs-2>
  \repeat tremolo 2 <d-1>
  \set defaultStrings = #'(2)
  \repeat tremolo 2 <as-2\2>

  | %% measure 597
  \repeat tremolo 2 <b-3>
  \repeat tremolo 2 <fs\2>
  \repeat tremolo 2 g
  \repeat tremolo 2 <ds\2>

  | %% measure 598
  \repeat tremolo 2 e
  \repeat tremolo 2 <b-0> _\mycresc
  \repeat tremolo 2 cs
  \repeat tremolo 2 <e-0>

  | %% measure 599
  \repeat tremolo 2 <a-1\2>
  \repeat tremolo 2 as
  \repeat tremolo 2 b _\markup \italic "sempre"
  \unset defaultStrings
  \repeat tremolo 2 <cs\1>

  | %% measure 600
  \kneeBeams
  d16 \ff <d,,-0> \pIV <cs-1\5> <d-2>
  <e-4> \glissando \pV <fs-4> <g-1\4> <a-2>

  | %% measure 601
  <bf-3> <e-4\3> <g,-1\4> <a-2> <bf-3> <e-4\3>
  \pVI <ds-1> <e-2>

  | %% measure 602
  \pX <fs-3> <g-4>
  \pXI <cs,-1\4> <d!-2> <e-4> <fs-1> <g-2> <gs-3>

  | %% measure 603
  <a-4> \pXII <b-1> <cs-2> <d-3>
  <e-1> <fs-2> <g!-3> <a-4>

  | %% measure 604
  <d,\2> <d,,-0> \pIV
  <cs\5> d <e-4> \glissando \pV <fs-4> <g\4> <a>

  | %% measure 605
  <bf> <e\3> <g,\4> a bf <e\3> \pVI ds e

  | %% measure 606
  \pIX fs g \pXI <cs,\4> d e <fs\3> g gs

  | %% measure 607
  a \pXII <b\2> cs d <e\1> fs g a

  | %% measure 608
  \pX <d,-1\1> d e fs \pXI <as,-1\2> as <b-2> <cs-4>

  | %% measure 609
  <b-1> b cs d \pVII <fs,-1\2> fs g a!

  | %% measure 610
  \pOff <e-0> e fs g
  <g,,-2 d'-0> <bf'-3 d-4 e> q <g, d'>

  | %% measure 611
  <bf-3 d-0 g-0>\6\5\4 <d'-1 e-0> q <bf, d g>\6\4\3
  <a-0> \pX <a''-1\2> b! cs

  | %% measure 612
  d d e fs \pXI as, as b cs

  | %% measure 613
  b b cs d \pVII fs, fs g a!

  | %% measure 614
  \pOff e e fs g
  <g,, d'> <bf' d e> q <g, d'>

  | %% measure 615
  <bf d g>\6\4\3 <d' e> q <bf, d g>\6\4\3

  <a-0> \pVII a'' b! cs

  | %% measure 616
  d <d,,-0> \pIV <fs-1\4> <g-2> <a-4> <a-4>
  <b-1\3> cs

  | %% measure 617
  d <e\2> fs g <a-1\1> a <b-2> <cs-3>

  | %% measure 618
  <d-4> \pXV <d,-2\5> <fs-1\4> g a a <b\3> cs

  | %% measure 619
  d <e\2> \pXVII fs g <a-1\1> a <b-2> <cs-3>

  | %% measure 620
  <d-4> d d d <d,,, d'' d'>16\4\3\1
  q\4\3\1 q\4\3\1 q\4\3\1

  | %% measure 621
  \pOff
  \repeat tremolo 8 <d d'' d'>16

  | %% measure 622
  \repeat tremolo 8 <d d'' d'>16

  | %% measure 623
  \repeat tremolo 8 <d d'' d'>16

  | %% measure 624
  \repeat tremolo 8 <d d'' d'>16

  | %% measure 625
  \repeat tremolo 8 <d d'' d'>16

  | %% measure 626
  \pXVIII d''' d cs b
  \pXIV <a-4\1> <g-2> <fs-1> <e\2-4>

  | %% measure 627
  <d-2> \pX
  <a-1\2> <b-2> <cs-3> <d-4>\2 <a-1> <b-2> <cs-3>

  | %% measure 628
  <d-4>\2 \pXI <cs-3>
  <b-1> <a-4\3> <gs-3>
  <fs-1> <e-4\4> <d-2>

  | %% measure 629
  <cs-1> <b-4> \pX <a-2> <g-1>
  <fs-4> <e-2> <d-1> <cs-1>\6

  | %% measure 630
  \pOff <d-0> \pV <a-1\6> <b-2> <cs-4>
  <d-1\5> <fs-4> <a-2\4> <cs-1\3>

  | %% measure 631
  <d-2> \pVII <a-1> <b-2> <cs-4>
  <d-1> \pVIII <fs-4> <a-2\2> <cs-1\1>

  | %% measure 632
  <d-2> \pXII <a,-1\5> <b-2> <cs-4>
  <d-1> <fs-4> \barre "XIV" "3" a \startTextSpan cs

  | %% measure 633
  <d-2> \stopTextSpan
  <a-1\3> <b-2> <cs-4>\3
  <d\2> <fs>\2 <a\1> cs

  | %% measure 634
  d8 r8 r4

  | %% measure 635
  r2

  | %% measure 636
  \pXII r8 e, -> [ \ff a ] -> r8

  | %% measure 637
  \pOff <d,,, fs' a d>8 r8 r4 \fermata
}

orch = {
  \key d \major
  \time 2/4
  \tempo "Allegro vivacissimo" 4 = 152
  \override TupletBracket.stencil = ##f
  \introRest
}

music = {
  \intro
  \theme
  \themeTail
  \themeAHeadA
  \themeA
  \themeBHead
  \themeB
  \themeBTail
  \themeC
  \themeD
  \reprise
  \themeE
  \themeF
  \themeG
  \themeHhead
  \themeH
  \repriseB
  \themeL
  \themeM
  \bar "|."
}

\header {
  title = "Violin Concerto (III. Finale)"
  tagline = ##f
  composer = "Peter Ilyovitch Tchaikovsky"
  arranger = "Arranged for guitar by Steve Yegge"
  opus = "2012-11-12"
  copyright = "sites.google.com/site/steveysguitarsite"
}

\score {
  <<
    \new Staff {
      \commonSetup
      \maybeFretDiagrams \orch \music
    }
    \new TabStaff {
      \orch \music
    }
  >>
}

\score {
  \unfoldRepeats
  \music
  \midi {
    \context {
      \Score
      midiInstrument = #"acoustic guitar (steel)"
      tempoWholesPerMinute = #152/4
    }
    \context {
      \Voice
      \remove "Dynamic_performer"
    }
  }
}

\paper {
   after-title-spacing =
   #'((space . 0) (padding . 1.5) (stretchability . 3) (minimum-distance . 0))
   bottom-system-spacing =
   #'((space . 0) (padding . 1.5) (stretchability . 3) (minimum-distance . 0))
   ragged-last-bottom = ##f
   max-systems-per-page = #5
}
